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
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
Hello Steve,
Please check the Reference Manual of KL26, -> Chapter 9 Debug ,
we can see
Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks very much for the answer - I was looking in all the wrong documents for it!
Regards
Steve