How many breakpoints can I set on the FRDM-KL26Z board?

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

How many breakpoints can I set on the FRDM-KL26Z board?

1,236 次查看
Jiun_Yong
Contributor III

I am using the FRDM-KL26Z board, with Kinetis MKL26Z128 processor and OpenSDA debugging interface.

Is there a limit to how many breakpoints or watch points I can set?

Just curious as I am in the throws of debugging an annoying timing issue in my application.

No worries.

Steve

标签 (1)
3 回复数

1,101 次查看
DavidS
NXP Employee
NXP Employee

Hi Steve,

Alice has most accurate answer.

The rule of thumb is the Kinetis L devices have 2 hardware breakpoints and Kinetis K have 4.

You can also instrument the code with following:

#if 1//DES 1=test of adding breakpoint into code, 0=default code

    __ASM(" bkpt #4");

#endif

Regards,

David

0 项奖励
回复

1,101 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Steve,

Please check the Reference Manual of KL26, -> Chapter 9 Debug ,

we can see

pastedImage_0.png

Hope it helps


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,101 次查看
Jiun_Yong
Contributor III

Thanks very much for the answer - I was looking in all the wrong documents for it!

Regards

Steve

0 项奖励
回复