I have a problem where when I attempt to reboot a BF536, it hangs. The last thing from the serial port printout is:
(Several different single non-ASCII characters appear at the end of the message.)
This is very intermittent. The most reliable way I have found to trigger it is with large flash writes just before the reboot. I am using UBIFS with a fairly slow serial NOR flash.
When it hangs, if I physically short the reset line to ground, it reboots as expected. The reboot is accomplished with the system reboot command, i.e.
system("reboot"); from C code or 'reboot' from the command line.
The test I've been using is to run 'tar' to extract about 100 uncompressed files from a 5 MB archive, call 'sync', wait a variable amount of time, then 'reboot'. All this is being done by a shell script. With little or no pause between sync and reboot, it fails fairly often, maybe 1 out of 10. With a pause of 60 seconds, failure rates decrease, but still happen.
Any ideas on this one?