DSPRelated.com
Forums

LF240xA hardware: JTAG debugging from flash

Started by Tony McKay July 15, 2003
Hello

I am using CCS 2.2 to create a program for the LF240xA from TI. I have
made a blinking LED program to test my own target board with, the
"hello world" of embedded. I compiled it and then used the "flash
programmer" plugin to load it to a board with a LF2402A on. With out
doing anything else I can now "reset cpu" and "run".

I tried a suggestion from Trampas to use the "load program" and I can
now successfully step through the code. As I "step" then the watch
window updates with the current values of my variables.

I want to be able to set break points. If I can then I will be able to
use "run to curser" and jump to code of interest or used probe points,
but I get this is the error I get when I try to set one:

"Can't Set Breakpoint: Cannot set/verify breakpoint at 0xBC"

Does any one know of a way to set break points when running from
flash.

Tony


--- In F28X@yahoogroups.com, "Trampas" <tstern@n...> wrote:
> I am not sure, but I was told once. I think after you load the code into > flash you have to load your symbol table into code composer. Then you > can step through the code. I am sure that others out there will know > better. > > Trampas >
> > I want to be able to set break points. If I can then I will be able to > use "run to curser" and jump to code of interest or used probe points, > but I get this is the error I get when I try to set one: > > "Can't Set Breakpoint: Cannot set/verify breakpoint at 0xBC" >
After this get the breakpoint list via menu. Your breakpoint should be in the list. Select it. Change the type of breakpoint to something like "h/w breakpoint" The cpu has exactly one of these "h/w breakpoints".