This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Manual Reset does not work

I am using a STR912FW44 processor. My program will run if I allow the Keil IDE to automatically reset the chip after loading it to flash. However, if I manually reset the chip by toggling the power on and off the program gets stuck in the startup code. Could the Keil IDE be clearing something that a manual reset does not clear? I cannot imagine that heppening, but it seems like that is what is happening.

I have tried leaving the power off for a couple of minutes and then turning it back on, thinking maybe a capacitor is not draining down fast enough, but that made no difference.

Also I've noticed if I randomly remove a couple of lines of code from my program it seems to startup OK after a manual reset. I've only used about 150K of the 512K available, so unless I am overrunning the RAM I do not see where the size of my code could be causing the problem. Also, the RAM should get cleared on a manual restart anyway.

I appreciate any suggestions anyone can give me.

Parents Reply Children