pyboard 1.1, sd card, and ENODEV error
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: pyboard 1.1, sd card, and ENODEV error
ENODEV is correct for no SCL wire. Was it reporting an acceptable line number?
Re: pyboard 1.1, sd card, and ENODEV error
How is ENODEV the correct error for a missing SCL connection? I do not understand. It was reporting a correct error line, but I did not connect ENODEV with an I2C issue. I have learned something new.rhubarbdog wrote: ↑Wed Mar 13, 2019 7:38 pmENODEV is correct for no SCL wire. Was it reporting an acceptable line number?
8-Dale
Re: pyboard 1.1, sd card, and ENODEV error
The way I2C works is that it sends out a request to a device by manipulating SCL and SDA. If either signal were disconnected, then it looks the same as if the wires were connected but the device wasn't responding, or the device was disconnected.
Since no device was detected, ENODEV is returned.
Since no device was detected, ENODEV is returned.