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

LPC1788 - Problem with breakpoints / debugging in external Flash

Hi All,

Apologies because the same (or at least similar) topic has already been asked in http://www.keil.com/forum/19204/ ,
but for some reason it's impossible to post a reply there (thread declared as "Read-Only").

Marc Crandall never got an answer for his question:

>
Am I correct in thinking that I should be able to add breakpoints to the code in external NOR?
<

I am facing a similar problem: LPC1788 (Cortex-M3), toochain MDK-ARM Version 4.22a .
Target is an LPC1788 with both external SDRAM (32 bit wide) and external Flash (16 bit wide).

Breakpoints in internal Flash: No problem
Breakpoints in external Flash don't work.

Single-stepping over an instruction which 'jumps' from internal Flash into external Flash causes the debugger to lose control, i.e. no more single-step. I can stop the debugger after that, and see that the CPU executes the proper code in external Flash (actually a custom bootloader).

Suggestions ?

All the best, Wolfgang .

0