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

Large program getting lost.

Hi.

I am currently running the ARM710 in a LCD touch screen project. Because of the large memory requirments needed by graphics we have added external ram and rom.

Everything has been fine for a while now but I have found that once the code reaches a certain size the board stops working.

No compiler errors come up.

I have checked my memory sizes and I have definately specified the correct sizes in the External Memory TARGET options. (As a test I forced code with the __at statment to the extremities and the code still runs).

In fact the memory map shows that the code is still running off internal ROM with exception of interrupt vectors and some constants. The constants and interrupt vectors running at these external addresses pretty much from the beggining of this project, so I doubt this is the problem.

One curious thing is when I run the debugger it gets always gets stuck in a for loop, if I comment this out then it gets stuck in a different for loop. It runs the for loop exits it when the tested variable reaches its required value, but when it come time to return from its function it jumps back into the for loop.

I have tried increasing stack size thinking it may have lost its return address but this has not helped.

Has anyone come across anything like this before? I would appreciate any help.

0