Motorola 68HC12BC32, 68HC12B32, CME-12B/BC manual Bug12 Monitor Commands, Bulk

Page 18

TABLE 3. D-Bug12 Monitor Commands

ASM <Address>

Single line assembler/disassembler

<CR>

Disassemble next instruction

<.>

Exit assembly/disassembly

BAUD <baudrate>

Set communications rate for the terminal

BF <StartAddress> <EndAddress>

Fill memory with data

[<data>]

 

BR [<Address>]

Set/Display user breakpoints

BULK

 

Erase entire on-chip EEPROM contents

CALL [<Address>]

Call user subroutine at <Address>

DEVICE [<DevName>

display/select/add target device

[<Address>...<Address>]]

 

EEBASE <Address>

Set base address of on-chip EEPROM

FBULK

 

Erase entire target FLASH contents

FLOAD [<AddressOffset>]

Load S-Records into target FLASH

G [<Address>]

Begin/continue execution of user code

GT <Address>

Set temporary breakpoint at <Address> &

 

 

execute user code

HELP

 

Display this D-Bug12 command summary

LOAD [<AddressOffset>]

Load S-Records into memory

MD <StartAddress> [<EndAddress>]

Memory Display Bytes

MDW <StartAddress> [<EndAddress>]

Memory Display Words

MM <StartAddress>

Modify Memory Bytes

<CR>

Examine/Modify next location

</> or <=>

Examine/Modify same location

<^> or <->

Examine/Modify previous location

<.>

 

Exit Modify Memory command

MMW <StartAddress>

Modify Memory Words (same subcommands as

 

 

MM)

MOVE <StartAddress> <EndAddress>

Move a block of memory

<DestAddress>

 

NOBR [<address>]

Remove One/All Breakpoint(s)

RD

 

Display all CPU registers

REGBASE <Address>

Set base address of I/O registers

RESET

 

Reset target CPU

RM

 

Modify CPU Register Contents

STOP

 

Stop target CPU

T [<count>]

Trace <count> instructions

UPLOAD

<StartAddress>

S-Record Memory display

<EndAddress>

 

USEHBR

 

Use Hardware Breakpoints

VERF

[<AddressOffset>]

Verify S-Records against memory contents

<Register Name> <Register Value>

Set register contents

 

Register Names:

PC, SP, X, Y, A, B, D

 

CCR Status Bits:

S, XM, H, IM, N, Z, V, C

18

Image 18
Contents CME-12B/BC Contents Installing the Software Getting StartedBoard Startup Support Software Software DevelopmentTutorial Creating source codeAssembling source code AS12 HELLO.ASM -LHELLORunning your application Programming Flash Eeprom ORG $1000 to ORG $8000Config Switch Memory MAPOFF Config Switch MEM-SEL JumpersKeypad Ports and ConnectorsLcdport GNDMcuport CanportGND CAN-H CAN-L COM1 Serial Port BusportEVU Compatibility Jumpers ResetBDM-IN Bgnd GNDTroubleshooting Tips and Suggestions UtilitiesLCD Command Codes TablesLCD Character Codes Bug12 Monitor Commands Bulk

68HC12B32, CME-12B/BC, 68HC12BC32 specifications

The Motorola 68HC12BC32, CME-12B/BC, and 68HC12B32 are microcontroller units (MCUs) that are part of the renowned HC12 series, which gained popularity in embedded system designs due to their versatility, robust performance, and comprehensive feature set. These MCUs are widely used in automotive applications, industrial control systems, and various consumer electronics due to their advanced capabilities.

One of the main features of the 68HC12BC32 is its 16-bit architecture, which allows for efficient processing and greater precision in calculations compared to 8-bit counterparts. This feature is crucial for applications requiring high-performance processing, such as real-time control systems. The processor operates at clock speeds of up to 25 MHz, providing the computational power necessary for complex operations.

The 68HC12MCUs include various on-chip memory options, such as ROM, RAM, and EEPROM. For instance, the 68HC12BC32 comes with up to 32 KB of ROM and 1 KB of RAM, along with 512 bytes of EEPROM, making it suitable for applications that require data retention even when the power is turned off. The presence of on-chip memory significantly reduces the need for external components, simplifying system design and enhancing reliability.

Moreover, these microcontrollers feature a rich set of input/output (I/O) capabilities, including multiple general-purpose I/O lines, timer/counter modules, and analog-to-digital converters (ADCs). The integration of these components allows for flexible interfacing with a multitude of sensors and actuators, enabling designers to create sophisticated applications without needing extensive external circuitry.

The embedded communication interfaces, such as SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit), and CAN (Controller Area Network), are vital for enabling communication between devices in multiprocessor systems. This capability is particularly beneficial in automotive applications, where seamless data exchange is critical for tasks such as engine control and diagnostics.

Power management features in the 68HC12 series enhance its suitability for battery-powered applications. The ability to enter low-power modes helps extend battery life, making these microcontrollers ideal for portable devices.

In summary, the Motorola 68HC12BC32, CME-12B/BC, and 68HC12B32 microcontrollers are robust and flexible MCUs that offer a combination of advanced processing capabilities, extensive memory options, versatile I/O functionality, and efficient communication interfaces. These characteristics make them well-suited for various applications, from automotive and industrial systems to consumer electronics, ensuring they remain relevant in the evolving landscape of embedded technology.