I'm using a Sharp LH79524 ARM7 microcontoller along with the IAR compiler and Segger's J-link. I was developing my program yesterday and it downloaded to the target and ran fine but this morning I have downloaded it and it gets stuck on the data abort exception. This happened with the project I did on Wednesday and I never managed to get it to load again. Both projects are based on a smaller working project and grew in size (with the addition of several bitmaps) during the day but still downloaded fine until I tried them the following day.
Another thing I did notice about these programs as they grew was that they suddenly began to kick up a prefetch exception when reset using the debugger. Intitally the program would correctly reset back to main().
The code and data sizes are as follows:
46 640 bytes of CODE memory 1 451 401 bytes of DATA memory 176 124 bytes of CONST memoryBut I am using a LogicPD development board with 32Mb or RAM and (I think) I have the linker set up to use the upper 16 for data and lower 16 for code and constants so there should be plenty of room. I've put the interrupt vectors in the lower 16 as well, rather than using the MCU's RAM but I'm not sure if that makes a difference.
Can anybody help me?