Step, with or without interrupt masking (KDS, KL03)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Step, with or without interrupt masking (KDS, KL03)

1,654件の閲覧回数
thomasedel
Contributor III

In the "ARMv6-M Architecture Reference Manual" section C1.3 "Overview of the ARMv6-M debug features" indicates that the debug system includes the ability to "Step, with or without interrupt masking."  Does the Kinetis IDE have a way to step through a program with interrupt masking OFF (so that interrupts will be entered single-stepping as they occur)?  If so, how do I make that setting change in the Kinetis IDE?

Thanks in advance for help with this.

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,409件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Thomas,

I did some research on this topic, and I have found this:

https://www.sourceware.org/gdb/onlinedocs/gdb.html#Hooks

Basically that would allow you to create your own hook were you could enable interrupts even while stepping.

I hope this helps,

Erich

0 件の賞賛
返信

1,409件の閲覧回数
thomasedel
Contributor III

Thanks for looking into it.  I think that route is probably beyond my skill level at this point.

-Thomas

0 件の賞賛
返信

1,409件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Thomas,

P&E and Segger settings do not have something to turn this on. Maybe it could be done with some custom gdb scripts (writing that value to the register) while doing stepping, but unfortunately we don't have any example.

Sorry for the inconvenience.

Best regards,

Carlos

0 件の賞賛
返信

1,409件の閲覧回数
thomasedel
Contributor III

Thanks for clarifying.

-Thomas

0 件の賞賛
返信