Motorola 68HC12B32, 68HC12BC32, CME-12B/BC manual Support Software, Software Development

Page 4

Support Software

There are many useful programs and documents on the included HC12 support disk that can make developing projects on the CME-12B/BC easier. You should browse the disk and copy anything you want to your hard drive. See the README.TXT file for a description of what is included.

The flash programming utilities communicate with the board via its COM1 port and the supplied cable. These programs also include a simple Terminal for interfacing with other programs running on the CME-12B/BC, such as the D-Bug12 and information from your own programs that send output to the serial port.

Also on the disk is a free assembler, example source code, and other tools to get you started.

Software Development

Software development on the CME12B32 can be performed using either the DBUG12 monitor utility installed in EPROM (sockets U6/U7), the DBUG12 monitor programmed into the internal Flash EPROM or a Background Debug Module (BDM) connected to the BDM-IN connector. Any of these tools can be used to assist in creating and debugging your program stored in either internal RAM ($800-$C00) or external RAM (U4/U5 see Memory Map).

After satisfactory operation running under a debugger, your program can be written to the Internal Flash Memory by relocating its start address to $8000 and programming it using either the included programming utilities or a BDM. Your program will then run automatically whenever the board is powered on or RESET is applied.

Option jumpers and switches on the board allow for easy transition from one memory type to another and restoring an operating monitor.

4

Image 4
Contents CME-12B/BC Contents Getting Started Installing the SoftwareBoard Startup Support Software Software DevelopmentTutorial Creating source codeAssembling source code AS12 HELLO.ASM -LHELLORunning your application Programming Flash Eeprom ORG $1000 to ORG $8000Memory MAP Config SwitchOFF Config Switch MEM-SEL JumpersPorts and Connectors LcdportKeypad GNDCanport McuportGND CAN-H CAN-L COM1 Serial Port BusportReset BDM-INEVU Compatibility Jumpers Bgnd GNDTroubleshooting Tips and Suggestions UtilitiesTables LCD Command CodesLCD 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.