University web sites

Sample programs


CodeWarrior IDE









CodeWarrior is a very powerful and professional IDE. The main feature of CodeWarrior IDE is the source level debugger in assembler and C.  CodeWarrior Special Edition is a wonderful gift from Freescale to all of us and it's free for educational use. 

There are many companies making MCU chips nowadays and for the most part they all have about the same features at a similar price.  Special Edition CodeWarrior sets Freescale apart from others. There is no any MCU chip maker offers you a such first class C source level debugger free of charge.

CodeWarrior IDE does not work with D-Bug12, but it works with serial monitor.  Before Freescale created the serial monitor a BDM is needed as an interface between the PC and the HCS12.  Freescale created the serial monitor for working with CodeWarrior to eliminate the cost of a BDM. 

Now a student can use serial monitor with CodeWarrior to debug his programs and in fact, most universities have been using the serial monitor with CodeWarrior without a BDM in their classrooms.

Some universities use D-Bug12 monitor first, then later replace D-Bug12 monitor with serial monitor to be used with CodeWarrior IDE.  To replace bootloader and D-Bug12 monitor with serial monitor, you need a BDM or a BDM POD to perform the task. The procedure to program the on-chip flash memory is provided at: http://www.evbplus.com/TinyBDM_9s12/TinyBDM_9s12.html


Codewarrior tutorial videos:

http://www.youtube.com/watch?v=RkPiurLHKyo&feature=related   How to use Codewarrior for the first time.

For simulation only, you can select full chip simulation for the connection.  For simulation, you don't even need any hardware.

If you are going to use CodeWarrior debugger, then your trainer board has to be installed with serial monitor and make sure that you select the correct MCU and serial monitor for the connection.

http://www.youtube.com/watch?v=aHMxjU9FBTQ  How To Load Values Into Accumulators and Registers

http://www.youtube.com/watch?v=ujJ0DGOW9ak Codewarrior LAB 1

http://www.youtube.com/watch?v=uMwGCW0cw8M&feature=related  Codewarrior LAB 2


Codewarrior sample programs:



The most resourceful “CodeWarrior for the Dragon12 trainer” web site:

The mechanical engineering of University of Adelaide in Australia is awesome.  Here you can see what their students have achieved in so many great projects: