won't stop trying to read bytes at bogus address when taking breakpoint

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

won't stop trying to read bytes at bogus address when taking breakpoint

Jump to solution
545 Views
bowerymarc
Contributor V

I've ported a K20F120M project from CW10.5 to KDE, first 1.0.1b and now 1.1.1 and both have the same behavior, where when I set a breakpoint (at the top of a task in FreeRTOS), it takes the breakpoint OK but then will not stop:

 

Read 4 bytes @ address 0x00024E08 (Data = 0x0330F240)

Read 4 bytes @ address 0x00024E08 (Data = 0x0330F240)

Read 4 bytes @ address 0x00024E08 (Data = 0x0330F240)

Read 4 bytes @ address 0x00024E08 (Data = 0x0330F240)

Read 4 bytes @ address 0x00024E08 (Data = 0x0330F240)

 

ad nauseum.  The only way to stop it is unplug the jlink debugger from the USB port.

 

Regardless of my code, I don't think the debugger should be doing... that!

Labels (1)
Tags (2)
0 Kudos
1 Solution
377 Views
BlackNight
NXP Employee
NXP Employee

Hi Marc,

It could be the same issue as this one:

KDS debug for K22F120M in interrupt enviroment.

Can you add

set backtrace limit 20

to your debug configuration to see if this helps?

Erich

View solution in original post

0 Kudos
2 Replies
378 Views
BlackNight
NXP Employee
NXP Employee

Hi Marc,

It could be the same issue as this one:

KDS debug for K22F120M in interrupt enviroment.

Can you add

set backtrace limit 20

to your debug configuration to see if this helps?

Erich

0 Kudos
377 Views
bowerymarc
Contributor V

hey that seems to have done it!  thanks a million!

I wonder why KDS falls down on that when CW seems fine?

0 Kudos