FAQs Archive for In-Circuit Emulator for 68HC12

The embedded tools company

Search FAQs

PDF document ( 101KB / 27-Mar-2022 )

The trace list shows a BKGD instruction instead of my code at an address where a program-, hll- or spot-breakpoint is set! (HC12)
Ref: 0053

If a breakpoint is set to an address the emulator senses the bus for the according address. If a fetch from this address is found, the emulator disables the RAMs and puts the BKGD opcode (0x00h) on the bus. The CPU executes this instruction and switches to background mode. Emulation is stopped.

Why does the analyzer show cycles after the cycle where I have set a breakpoint? (HC12)
Ref: 0054

Because of it's pipeline the CPU does some cycles from fetching the BKGD command to entering background mode. The first background cycle is a fetch from address 0FFF6. After the second fetch from 0FFF6 the emulator knows for sure that background mode is entered and the trace is switched off (in slave mode).

Copyright © 2023 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 02-Jan-2023