Intermittent Error 5 Input / Output Error #73
Replies: 1 comment 2 replies
-
|
Hi @Mikefly123 sorry for missing this - I hadn't changed my github email over after graduating 😄 I believe this is a fleeting bug arising from abnormal I2C initialization behavior of the ADM1176 power monitor chip. For example, if you were to keep deleting the cubesat.pwr object and trying again (without resetting or power cycling), it would eventually work. I've never been able to consistently reproduce this error with any of my boards, so I've never really dug deep. Once thing to try is to change your pycubed.py line that creates the i2c object (line 91 on the latest in the repo) to say: Report back and let me know how that goes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Doing some testing with the basic PyCubed functionality and hit an odd occurrence of Error 5.

Interestingly the power monitor is only erroring when we try to call the current_draw. All the other functions are okay. In the past when we get Error 5, usually the entire power monitor is out of action. A hard reset of the entire system does not clear this error.
Beta Was this translation helpful? Give feedback.
All reactions