Back to main page

CodeWarrior is a very powerful and professional IDE. The main feature of CodeWarrior IDE is the source level debugger in assembler and C. 

CodeWarrior IDE works with Serial Monitor firmware.  

Code Warrior does not work with D-Bug12 monitor firmware, but AsmIDE does.

If you use CodeWarrior IDE only, your need the Dragon12 board pre-loaded with serial monitor.

If you use AsmIDE or MiniIDE, your need the Dragon12 board pre-loaded with D-Bug12 monitor.

To replace D-Bug12 monitor with serial monitor, you need a BDM POD to perform the task. The procedure to program the on-chip flash memory is provided at: www.evbplus.com/TinyBDM_9s12/TinyBDM_9s12.html

 

A quick check of monitor type on your board:

For the Dragon12-Light and Dragon12-Plus boards:

If your board is pre-installed with D-Bug12 monitor for AsmIDE, the Port B LED indicators will light up from left to right sequentially and the speaker will chirp once when the board is turned on.

If you ordered the board with serial monitor for Code Warrior, it would be pre-installed with serial monitor and a factory test program. The state of the left switch of the 2-position DIP switch (S7) is tested by the serial monitor for selecting RUN or LOAD mode during power up or reset, and the Port B LED indicators will light up from right to left sequentially and the speaker will chirp once to indicate that the serial monitor is functioning.

If the left switch is placed in "LOAD" mode (in the "low" position) the monitor will wait for a command from PC.

If the left switch is placed in "RUN" mode (in the "up" position) the LED indicators will light up again from left to right sequentially to indicate that the program execution is diverted to the user code.

Code Warrior communicates with serial monitor only in LOAD mode and so in order to interface with Code Warrior you have to reset the left switch in the “low “position. The Port B LED indicators will light up from right to left sequentially and the speaker will chirp once when the board is turned on.

If the serial monitor is not installed or erased by a BDM, the LED indicators will not light up sequentially during power up or reset.

 

The Code Warrior tutorial:  http://www.microdigitaled.com/HCS12/HCS12_books.htm

 

The Code Warrior Download:  CodeWarrior IDE 5.1 SE.
Freescale removed support for the MC9S12DG256 which is used in our trainers from the newer 5.2 SE.
As far as for DG256 development is concerned, there is no difference between 5.1 and 5.2.