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

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

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

722 Views
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

Labels (1)
3 Replies

587 Views
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 Kudos
Reply

587 Views
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!
-----------------------------------------------------------------------------------------------------------------------

587 Views
Jiun_Yong
Contributor III

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

Regards

Steve

0 Kudos
Reply