Hi everyone,
I posted another question about loading an application to debug in SDRAM in the post Debug in SDRAM referred to summarize the basic steps.
I'm working on a custom board based on K65FX1M0M18 using KDS 3.2.0 and Multilink Universal debugger.
In the board there are:
At this time I'm using the following workflow (anomalous for me):
I tested the runtime behaviour and it works well: a sample application that flashes a led runs as expected.
The problem rises in the debugging phase: although I can step in the application, if I set a breakpoint and run, the program doesn't stop until I press the stop button in the debugger, even if the breakpoint is set in the line following the current one.
The breakpoint seems to work only if it is set in the bootloader area.
Does anyone have experienced this or has any suggestion on it?
Many thanks
Biafra
Hello Biafra,
Could you please create a simple project , which puts some code into SDRAM,
set a breakpoint, then check whether it can stop at that breakpoint .
I test on other chip , it can stop, what about yours.
If yes, next you need analyze your project.
And how many breakpoints in your project, please first delete others to have a try .
BR
Alice