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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,253 次查看
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!

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,085 次查看
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 项奖励
回复
2 回复数
1,086 次查看
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 项奖励
回复
1,085 次查看
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 项奖励
回复