MiniDragon-Plus3 TrainerFor Freescale HCS12 microcontroller familyUser’s ManualRevision 1.00
• MC9S12DG256, 256K flash, 12K RAM and 4K EEPROM• Dual UARTs • 16 MHz crystal, 8 MHz default bus speed and up to 25MHz bus speed via PLL• Pre-installe
Pin Name Pin # I/O UsagePA0 Pin 57 Col_0 of keypad (output)PA1 Pin 58 Col_1 of keypad (output)
PM0 Pin 105 CAN0_RXPM1 Pin 104 CAN0_TXPM2 Pin 103 not usedPM3 Pin 102 not usedPM4 Pin 101 no
Chapter 2. Quick StartBy default the MiniDragon-Plus3 board is pre-installed with the bootloader (Freescale AN2153.pdf) and the D-Bug12 monitor (Free
2.2 Getting StartedTo operate the MiniDragon-Plus3 board, follow steps1 through 5 below:1. Make sure that the two DIP switches of S7 must be set in th
8. You can program text values for function keys to be sent from the terminal window. Some function keys are pre-programmed, but you can change it any
2.3 Test Hardware:To help users up and running, the MiniDragon-Plus3 board comes with many fully debugged, ready-to-run sample programs including
Chapter 3. Software descriptions3.1 Bootloader and D-Bug12 MonitorThe MC9S12DG256 on the MiniDragon-Plus3 board is pre-loaded with bootloader and D-B
3.1.2 Jump-to-EEPROM mode: PAD1=0, PAD0=1This mode enables the MC9S12DG256 to jump directly to the internal EEPROM at location $0400 upon reset.Thi
You first must set the target speed with the choice 1). After entering the first choice, you will be prompted to enter the target speed. It’s the cry
Table OF ContentsChapter 1. Introduction ...
Now we are going to program the bootloader and the D-Bug12 into the flash memory of the target MC9S12DG256.Before we actually program the flash memory
******************************************************************************************************************************************************
The option a) will erase the D-Bug12 portion of flash memory, not the bootloader itself.The option b) will program the D-Bug12 portion of flash memory
It will assemble your source program and generate hex code within 4K locations from $2000 to $2FFF. Here is a very simple program, but it’s complete.
3. Click Build button, select Assemble option, or click the assembler button on the toolbar to assemble your code and generate an s19 file. If the ass
3.3.3 Use on-chip flash for testing your code in BOOTLOADER mode.In this mode, you download your program directly into on-chip flash memory. You firs
Chapter 4: Hardware DescriptionsThe crystal frequency is 16 MHz and usually it will result in an 8 MHz bus speed, but on this board the MC9S12DG256’s
The segment A, B, C, D, E, F and G are driven by PH0, PH1, PH2, PH3, PH4, PH5 and PH6, respectively. The hex value of the segment code for common cat
4.8 RS485 portThe RS485 interface IC (SN75176) is not installed. To make RS485 work, user has to install the U9, shorting the J27 and install a termi
4.11 Keypad (optional)Port A is an 8-bit bi-directional port. Its primary usage is for a 4X4 keypad. If the port is not used for the keypad, it can
4.10 LCD display module ... 284.11 Keypad ...
If PA6 = low, the key 6 is down. If PA5 = low, the key 5 is down. If PA4 = low, the key 4 is down. Keypad scan routine sets PA0 low and PA1, PA2, PA3
Chapter 5: Code Warrior and serial monitorCode Warrior is a very powerful and professional IDE. The main feature of Code Warrior IDE is the source le
Chapter 6: PLL code; The crystal frequency on the MiniDragon-Plus3 board is 16 MHz so the default bus speed is; 8 MHz. In order to set the bus
Chapter 7: Appendix7.1 D-Bug12 utility routinesThe AN1280 was written for OLD 68HC12 family. If you happen to use printf routine with your old 68
7.2 Interrupt vector tablesFig 8-2: MC9S12DG256 Interrupt vector table 134
Fig 8-3: MC9S12DG256 Interrupt vector table 235
Fig 8-4: MC9S12DG256 secondary interrupt vector table36
Chapter 1. Introduction1.1 WelcomeThank you very much for purchasing the MiniDragon-Plus3 trainer. The MiniDragon-Plus3 trainer is a low-cost,
1.2 MC9S12DG256 features and memory map:The MiniDragon-Plus3 board may come with theMC9S12DP256CCPV or the MC9S12DG256CVPE installed
Fig 1-1: MC9S12DG256 Memory map6
Fig 1-2: MC9S12DG256 MCU block diagram7
Fig 1-3: MC9S12DG256 MCU pin assignments8
1.3 On-board hardware features:• On-board USB interface based on the flawless FT232RL for programming and debugging code, no BDM needed.• Automatic se
Kommentare zu diesen Handbüchern