rate to 9600 after power up, if you changed the baud, you must change the AsmIDE’s baud
rate to the same baud.
If the 7-segment does not display the corrected code ‘E-4-3, the bootloader could be
erased by a BDM. You can use a BDM with instructions from the manufacturer or use
another MiniDragon Plus2 board as a BDM POD to re-program bootloader and D-Bug12
monitor into flash memory according to the instructions on page 17.
The newest firmware can be downloaded at:
www.evbplus.com/download_hcs12.html
2. Always reset the board before downloading a new program.
If the previous application program that you ran was aborted, then you may need to reset
the board before downloading a new application program. The reset action will disable the
interrupt that was enabled by the previous application. If the interrupt was caused by a
timer and is not disabled, the timer interrupt will continue even it’s not called for in your new
application program. The result will be unpredictable.
3. In EVB mode, reset clears your pseudo RAM interrupt vectors.
When you develop code with interrupts in RAM, you must initialize pseudo RAM interrupt
vectors in the very beginning of your program, because if you press the reset button it will
clear all pseudo RAM interrupt vectors. If you don’t initialize pseudo RAM interrupt vectors
in your program and your application program uses interrupts, your program may not run
correctly since the interrupt vectors do not exist.
4. Operating mode changing is only effective after reset.
There are four operating modes that are selected by S7. The mode change won’t be
effective until you reset the board. So you must always press the reset button after a mode
change.
39
Содержание MiniDragon-Plus2 Trainer
Страница 1: ...MiniDragon Plus2 Trainer ForFreescaleHCS12microcontrollerfamily User sManual Revision 1 03 ...
Страница 6: ...Fig 1 1 MC9S12DG256 Memory map 6 ...
Страница 7: ...Fig 1 2 MC9S12DG256 MCU block diagram 7 ...
Страница 35: ...8 2 Interrupt vector table Fig 8 2 MC9S12DG256 Interrupt vector table 1 35 ...
Страница 36: ...Fig 8 3 MC9S12DG256 Interrupt vector table 2 36 ...
Страница 37: ...Fig 8 4 MC9S12DG256 secondary interrupt vector table 37 ...