Electronic Components Datasheet Search
  English  ▼

X  

HCS12 Datasheet(PDF) 18 Page - Motorola, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MOTOROLA [Motorola, Inc]
Direct Link  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

HCS12 Datasheet(HTML) 18 Page - Motorola, Inc

Back Button HCS12 Datasheet HTML 14Page - Motorola, Inc HCS12 Datasheet HTML 15Page - Motorola, Inc HCS12 Datasheet HTML 16Page - Motorola, Inc HCS12 Datasheet HTML 17Page - Motorola, Inc HCS12 Datasheet HTML 18Page - Motorola, Inc HCS12 Datasheet HTML 19Page - Motorola, Inc HCS12 Datasheet HTML 20Page - Motorola, Inc HCS12 Datasheet HTML 21Page - Motorola, Inc HCS12 Datasheet HTML 22Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 34 page
background image
Block Guide — S12BDM V4
18
After being enabled, BDM is activated by one of the following(1):
Hardware BACKGROUND command
BDM external instruction tagging mechanism
CPU BGND instruction
Breakpoint sub-block’s force or tag mechanism(2)
When BDM is activated, the CPU finishes executing the current instruction and then begins executing the
firmware in the standard BDM firmware lookup table. When BDM is activated by the breakpoint
sub-block, the type of breakpoint used determines if BDM becomes active before or after execution of the
next instruction.
NOTE:
If an attempt is made to activate BDM before being enabled, the CPU resumes
normal instruction execution after a brief delay. If BDM is not enabled, any
hardware BACKGROUND commands issued are ignored by the BDM and the CPU
is not delayed.
In active BDM, the BDM registers and standard BDM firmware lookup table are mapped to addresses
$FF00 to $FFFF. BDM registers are mapped to addresses $FF00 to $FF07. The BDM uses these registers
which are readable anytime by the BDM. However, these registers are not readable by user programs.
4.3 BDM Hardware Commands
Hardware commands are used to read and write target system memory locations and to enter active
background debug mode. Target system memory includes all memory that is accessible by the CPU such
as on-chip RAM, EEPROM, FLASH EEPROM, I/O and control registers, and all external memory.
Hardware commands are executed with minimal or no CPU intervention and do not require the system to
be in active BDM for execution, although, they can still be executed in this mode. When executing a
hardware command, the BDM sub-block waits for a free CPU bus cycle so that the background access does
not disturb the running application program. If a free cycle is not found within 128 clock cycles, the CPU
is momentarily frozen so that the BDM can steal a cycle. When the BDM finds a free cycle, the operation
does not intrude on normal CPU operation provided that it can be completed in a single cycle. However,
if an operation requires multiple cycles the CPU is frozen until the operation is complete, even though the
BDM found a free cycle.
The BDM hardware commands are listed in Table 4-1.
NOTES:
1. BDM is enabled and active immediately out of special single-chip reset.
2. This method is only available on systems that have a a Breakpoint or a Debug sub-block.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com