We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm reprograming a customer old PCB's with LPC2138 ARM7 MCU's using Segger jlink with JTAG wires, all OK. I'm viewing that, If I use global or function static vars debugging is not posible, but in the other hand, I can simulate with no problems.
Look:
int pep = 0;
int main (void) { int cnt;
for(;;){ ++pep;
for(cnt=LOOP_CNT; cnt; cnt--) ;
} }
the compilation is right and if I compile, debug and follow step by step the assemble the program resets at scatterload_zeroinit.
Anyone was the same problem?
Thank you.
Keil 5.24 with legacy support enabled.