soft-reset unreliable w/ SD card
Posted: Mon Nov 09, 2015 12:54 am
I've noticed that the soft-reset (CTRL-D in REPL) is sometimes unreliable when a SD card is mounted and used (expansion board). The Hard reset button always works.
The code instantiates the SD object and mounts to /sd, which seems to work well usually. However after a soft-reset it hangs from time to time. I have added some logging messages to the code that is run (boot.py/main.py in https://github.com/zsquareplusc/wipy-environment) and it hangs when creating the SD object or mounting to /sd. When it hangs, it seems to be locked indefinitely.
I've seen that effect with original firmware as well as the one here:
The code instantiates the SD object and mounts to /sd, which seems to work well usually. However after a soft-reset it hangs from time to time. I have added some logging messages to the code that is run (boot.py/main.py in https://github.com/zsquareplusc/wipy-environment) and it hangs when creating the SD object or mounting to /sd. When it hangs, it seems to be locked indefinitely.
I've seen that effect with original firmware as well as the one here:
Code: Select all
>>> os.uname()
(sysname='WiPy', nodename='WiPy', release='1.1.0', version='v1.5-1-ge954604 on 2015-10-21', machine='WiPy with CC3200')