Hi All,
Im having a problem with breakpoints with Keil MDK V4.23 using a ULINK2. Ive found that setting a simple breakpoint at main doesnt work. Running code with the older Keil MDK V4.01 and setting the breakpoint at the same place does work every time with no problem?
Am I missing a setting? Im using the NXP LPC2106.
Cheers
DSP
do you have enabled optimization? depending on your code, maybe something is optimized away?
...optimisation is turned to level 0 currently.
Unless you have accidentally turned off debugging in compile and/or link stage, this sounds like an issue to report directly to Keil support.
Optimization can make breakpoints and single-stepping behave erratically. But whatever optimization you use, there should still be a "main" since that is the entry point to the program.
..totally agree
Thanks for your comments