Download Dragon12-Plus-USB Trainer

Transcript
Table OF Contents
Chapter 1. Introduction...........................................................................................................................4
1.1 Welcome....................................................................................................................................4
1.2 MC9S12DG256 features and memory map..........................................................................5
1.3 On-board hardware features ..................................................................................................8
1.4 I/O pin usage .............................................................................................................................9
Chapter 2. Quick Start ............................................................................................................................. 12
2.1 Install software from CD ...................................................................................................... 12
2.2 Getting Started ...................................................................................................................... 12
2.3 Test hardware ........................................................................................................................ 14
Chapter 3. Software Desriptions .........................................................................................................15
3.1 Bootloader and D-BUG12 monitor ..................................................................................... 15
3.1.1 EVB mode .................................................................................................................. 15
3.1.2 Jump to EEPROM mode.......................................................................................... 16
3.1.3 BDM POD mode ........................................................................................................ 16
3.1.4 Bootloader mode ...................................................................................................... 19
3.2 Making a simple assembly program in RAM.................................................................... 20
3.3 Software development ......................................................................................................... 22
Chapter 4. Hardware Descriptions......................................................................................................24
4.1 LEDs....................................................................................................................................... 24
4.2 DIP switch and pushbuttons.............................................................................................. 24
4.3 7-segment LED multiplexing.............................................................................................. 24
4.4 Keypad................................................................................................................................... 26
4.5 LCD......................................................................................................................................... 27
4.6 Logic Probes......................................................................................................................... 27
4.7 Trimmer pot........................................................................................................................... 27
4.8 Dual Digital-to-Analog Converter (DACs) ....................................................................... 28
4.9 Speaker.................................................................................................................................. 28
2