Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept

   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 62
FAQ ID # 62
The ICD08SZ HC08 debugger only gives me one or two breakpoints to work with. I need more! Is there any workaround to this hardware limitation?

Unfortunately, there is no workaround quite as simple as setting a breakpoint in the debugger. However, there is a working solution.

In HC08 Monitor Mode, an SWI instruction does not jump to the location pointed to by the SWI Interrupt Vector. Rather, it functions equivilantly to a breakpoint. With a little forsight, this fact can be used to simulate a breakpoint.

When writing your code, simply insert an SWI instruction into the places within your program that you'd like a breakpoint. Then, program the flash with this new .S19 file. Any SWI instruction encountered while the processor is executing will function like a breakpoint!

Also see the attached document for more information on stopping a running HC08 target.

Related Downloads
How To- Stopping a Running HC08 Target - This document describes how to implement PEmicro's method for stopping a running HC08 target.

Architectures Categories Products
HC08 Debugger ICD08SZ
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2019 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement