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--) ;
for(cnt=LOOP_CNT; cnt; cnt--) ;
}
}
the compilation is right and if I compile, debug and follow step
by step the
↧