addshore
05/12/2025, 11:25 AM[lb-device] ERROR: Error reading from device: ESP_ERR_INVALID_STATE, got 0 bytes, sleeping for 75ms before retrying
E (306797) i2c.master: I2C transaction unexpected nack detected
E (306797) i2c.master: s_i2c_synchronous_transaction(876): I2C transaction failed
E (306797) i2c.master: i2c_master_transmit_receive(1101): I2C transaction failed
Error: device not configured
The first I2c lines we kind of expect and can recover from (or used to be able to) however this Error: device not configured is not something we have seen before and are trying to track down.
Any ideas where it might be coming from?floitsch
05/12/2025, 11:34 AMaddshore
05/12/2025, 11:34 AMfloitsch
05/12/2025, 11:35 AMaddshore
05/12/2025, 11:35 AMaddshore
05/12/2025, 11:36 AME (306597) i2c.master: I2C transaction unexpected nack detected
E (306597) i2c.master: s_i2c_synchronous_transaction(876): I2C transaction failed
E (306597) i2c.master: i2c_master_transmit_receive(1101): I2C transaction failed
[lb-device] ERROR: Error reading from device: ESP_ERR_INVALID_STATE, got 0 bytes, sleeping for 75ms before retrying
E (306697) i2c.master: I2C transaction unexpected nack detected
E (306697) i2c.master: s_i2c_synchronous_transaction(876): I2C transaction failed
E (306697) i2c.master: i2c_master_transmit_receive(1101): I2C transaction failed
[lb-device] ERROR: Error reading from device: ESP_ERR_INVALID_STATE, got 0 bytes, sleeping for 75ms before retrying
E (306797) i2c.master: I2C transaction unexpected nack detected
E (306797) i2c.master: s_i2c_synchronous_transaction(876): I2C transaction failed
E (306797) i2c.master: i2c_master_transmit_receive(1101): I2C transaction failed
Error: device not configuredfloitsch
05/12/2025, 11:36 AME (306597) i2c.master: I2C transaction unexpected nack detected
E (306597) i2c.master: s_i2c_synchronous_transaction(876): I2C transaction failed
E (306597) i2c.master: i2c_master_transmit_receive(1101): I2C transaction failed
[lb-device] ERROR: Error reading from device: ESP_ERR_INVALID_STATE, got 0 bytes, sleeping for 75ms before retryingfloitsch
05/12/2025, 11:36 AMaddshore
05/12/2025, 11:36 AMaddshore
05/12/2025, 11:37 AMError: device not configured potentially then also from the IDF?
I had a hunt around at the toit level and couldnt find muchfloitsch
05/12/2025, 11:37 AMfloitsch
05/12/2025, 11:37 AMcatch that prints the error.?floitsch
05/12/2025, 11:38 AMaddshore
05/12/2025, 11:39 AMfloitsch
05/12/2025, 11:40 AMaddshore
05/12/2025, 11:41 AMError: <foo> 😄floitsch
05/12/2025, 11:41 AME (...)), and Toit typically just throws.floitsch
05/12/2025, 11:42 AMfloitsch
05/12/2025, 11:42 AMaddshore
05/12/2025, 11:42 AMfloitsch
05/12/2025, 11:42 AMaddshore
05/12/2025, 11:43 AMfloitsch
05/12/2025, 11:43 AMfloitsch
05/12/2025, 11:44 AMaddshore
05/12/2025, 11:44 AMaddshore
05/12/2025, 11:45 AMVersion: v1.50.2
SDK version: v2.0.0-alpha.178floitsch
05/12/2025, 11:45 AMfloitsch
05/12/2025, 11:45 AMfloitsch
05/12/2025, 11:45 AMfloitsch
05/12/2025, 11:45 AMfloitsch
05/12/2025, 11:46 AMaddshore
05/12/2025, 11:47 AMfloitsch
05/12/2025, 11:48 AMfloitsch
05/12/2025, 11:49 AMfloitsch
05/12/2025, 11:49 AMaddshore
05/12/2025, 11:51 AMnack related issue
this nack related issue always seemed to recover well before, and comms would recover.
However now we see this additional log line appearing at the end
We will do some more debugging today though and see what we can figure outfloitsch
05/12/2025, 11:52 AM