Microprocessor Systems Lab 1: Introduction to the EVBThis lab is intended for the first-time user of the M68HC12EVB evaluation board (referred to as EVB). The setup and operation of the EVB is explained. An introduction to the D-Bug 12 monitor program and its memory and register management commands is provided. 1.1 Equipment•M68HC12EVB containing D-Bug 12 monitor program (Please refrain from touching the EVB. Alert your TA if you need any assistance with the board). •Personal Computer containing MiniIDE software •Power Supply 1.2 Introduction The EVB contains a Motorola 68HC12 microcomputer and associated I/O and memory devices. The EVB allows the user to easily test systems and software designed for the 68HC12 microcomputer. On the board is an EEPROM, containing the D-Bug12 monitor program. The monitor program begins executing on power-up or reset. This program controls the communication between the EVB and a terminal (in this case a personal computer – PC). It also allows the user to examine or modify the contents of memory, and assemble, debug and execute programs. 1.2.1 EVB memory descriptionThe monitor program, D-Bug 12, occupies the 32-kByte FLASH EEPROM area of the MCU’s memory map (See table below). D-Bug 12 requires 512 bytes of on-chip RAM ($0A00 to $0BFF), for stack and variable storage. The remaining 512 bytes of on-chip RAM ($0800 to $09FF), are available for variable storage and stack space by user programs. Note that all memory locations are expressed as 16-bit hexadecimal numbers, and memory values are expressed as 8-bit hexadecimal numbers. Address Range Usage Description $0000 - $01FF $0800 - $09FF $0A00 - $0BFF $0D00 - $0FFF $8000 - $FFFF CPU registers User code/data Reserved for D-Bug 12 User code/data D-Bug 12 code and functions On-chip registers 512 bytes on-chip RAM 512 bytes on-chip RAM 768 bytes on-chip EEPROM 32 Kbytes on-chip FLASH EEPROM
This preview has intentionally blurred sections.
Sign up to view the full version.