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

Program won't run to Main

I'm running an LPC2144, and my program won't run to main - it freezes up in a 3-line loop in the disassembly window - a BMI instruction in my boot block at 0x7FFFD2DA loops back to 0x7FFFD2D6 and repeats over and over.
It simulates fine, and my stacks should be of adequate size.
For fun, I tried putting this program into my demo board with a LPC2148, and it runs without issue every time.
If I frig around with it long enough, just reloading and debugging over and over, I can sometimes manually step through a bunch of disassembly and get the program to run, after which point I can continue to debug without issue even after a reset. But as soon as I add just one line of code and reload the program, it freezes up all over again.
My program uses the RTX kernel and retarget.c, and I've never seen a problem like this on my other boards using similar programs.

Can anybody point me in the right direction? I'm pretty unfamiliar with most of the lower level stuff.

0