Programming and debuging in flash

I can also confirm that Eclipse can debug in flash. I can only use this because my software is bigger than ram capacity. I have uC/os+esfl on LPC2138.

I have one configuration that flash the software only. I can then run it.

And I have a second one wich launch the debugger and stop the software at the main() entry. I can then continue, stop it, inspect variables, stack,…

The only bad point is that you can only have one breakpoint. And you have to remove it if you want to proceed with single line stepping. I have an old version of OpenOCD with possible wrong parameters. Probably I could use the second hardware breakpoint, but as long as it work “as is”, it is good for me.

Angelo