EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Code Warrior Nubie

Started by Sarah Skinner October 17, 2003
I've always used Image Craft C compiler for writing to my 68HCS12DP256 but now I have to swicth to Metrowerks Code Warrior
and I'm not sure what type of project I should create...
I choose HC12 Stationary and then I am given choices of what microcontroller I have. I just want to program the RAM.. later I may want to program the flash and the eeprom but I'm not using a POD yet.

68HCS12DP256
--with Bdi Target interface
--with Icd-12 Target interface
--with NoralBDM Target interface
--with Sdi Target interface

What do these options mean?
I can't find anything in the help files, is there a better help document somewhere else? ---------------------------------
Want to chat instantly with your online friends?Get the FREE Yahoo!Messenger




Hello Sarah

The targets select which pod you use to upload the code. Even if you
want to program it into RAM, you would need some POD or have their new
HCS12 serial boot loader already programmed in flash to load the code.
If you do get a pod, just tried the P&E Micro USB Multilink which works
well for me at least (around 200 $).

Some better documentation would definitely be of help to break into
Codewarrior!

Good Luck!
Robert On Freitag, Okt 17, 2003, at 16:57 Europe/Paris, Sarah Skinner wrote:

>
> I've always used Image Craft C compiler for writing to my 68HCS12DP256
> but now I have to swicth to Metrowerks Code Warrior
> and I'm not sure what type of project I should create...
> I choose HC12 Stationary and then I am given choices of what
> microcontroller I have. I just want to program the RAM.. later I may
> want to program the flash and the eeprom but I'm not using a POD yet.
>
> 68HCS12DP256
> --with Bdi Target interface
> --with Icd-12 Target interface
> --with NoralBDM Target interface
> --with Sdi Target interface
>
> What do these options mean?
> I can't find anything in the help files, is there a better help
> document somewhere else? > ---------------------------------
> Want to chat instantly with your online friends?Get the FREE
> Yahoo!Messenger >
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the US &
> Canada.
> http://www.c1tracking.com/l.asp?cidU11
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/dN_tlB/TM
> ---------------------------------
> ~->
>
> -------------------- >
> ">http://docs.yahoo.com/info/terms/
>




Sarah,

The list you wrote is of the options of BDM pods that you can use if you
want to debug your code from within Code-Warrior.

Code Warrior is a good compiler, but is not very good as a debugger. There
have been many postings to this list about problems in this area.

There are companies that specialize in making better HCS12/HC12 debugging
tools which come with their own user-interface software. Both BDM debuggers
and full-emulators are available. These tools are more expensive, but will
return their cost by saving you a lot of debugging time, and supplying bug
free, intuitive and feature reach debugging environment. Most Automotive
companies use these debugging tools.

Good BDMs or full-emulators for you to look at are Nohau that I represent,
as well as Luaterbach, iSystems and Noral.

Hope this helps,
Doron
Nohau Corporation
HC12 In-Circuit Emulators
www.nohau.com/emul12pc.html

At 15:57 17/10/2003 +0100, you wrote:
>I've always used Image Craft C compiler for writing to my 68HCS12DP256 but
>now I have to swicth to Metrowerks Code Warrior
>and I'm not sure what type of project I should create...
>I choose HC12 Stationary and then I am given choices of what
>microcontroller I have. I just want to program the RAM.. later I may want
>to program the flash and the eeprom but I'm not using a POD yet.
>
>68HCS12DP256
> --with Bdi Target interface
> --with Icd-12 Target interface
> --with NoralBDM Target interface
> --with Sdi Target interface
>
>What do these options mean?
>I can't find anything in the help files, is there a better help document
>somewhere else?





Hello Sarah.

I guess you are about to use CodeWarrior for HC12 v1.2 or v2.0.

The CodeWarrior debugger allows to debug with several famous BDM pods. To
make it easier for the users, specific stationery projects are already
setup for different BDM pods.

HC12 Stationary
---------------
- Bdi Target interface: for ABATRON BDI 1000 BDM pod. Info available at
http://www.abatron.ch/

- Icd-12 Target interface: for P&E Microcomputer Systems BDM pod called now
BDM MULTILINK cable for HC12 and 68MC9S12 (was once called ICD-12, then
CABLE12(HS)). Important: Only CodeWarrior V3.0 supports the USB version of
this cable. Previous CodeWarriors support the parallel port cable pod. Info
available at http://www.pemicro.com/

- NoralBDM Target interface: for NORAL Flex BDM/68HC12 BDM pod. Info
available at http://www.noral.com/pages/bdmhc12.htm

- with Sdi Target interface: for Motorola SDI BDM pod. Info available at
http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=SERIALDEBUGSDI Latest CodeWarrior V3.0 also supports (specs and data at
http://www.metrowerks.com/MW/Develop/Embedded/HC12/Default.htm): -Motorola HCS12 Serial Monitor (no BDM pod required, after the device got
programmed). Info available at
http://e-www.motorola.com/files/microcontrollers/doc/app_note/AN2548.pdf

-SofTec inDART-HCS12 BDM pod. Info available at http://www.softecmicro.com/

-P&E Microcomputer Systems USB HCS12 MULTILINK BDM pod (USB version of the
pod). Info available at http://www.pemicro.com/ Note: There is NO sorting preferences in the list here above.

Using any version of CodeWarrior, you will be able to debug in RAM and/or
in FLASH (Flash programming is provided for HC12 and HCS12 derivatives).
With CodeWarrior V3.0, Full Chip Simulation is provided for the
MC9S12DP256, with, in Simulation, program flow (instructions) and memory
access recording with up to one million frames.
http://www.metrowerks.com/MW/Develop/Embedded/HC12/Default.htm Regards,
Gilles At 04:57 PM 10/17/2003, you wrote:
>I've always used Image Craft C compiler for writing to my 68HCS12DP256 but
>now I have to swicth to Metrowerks Code Warrior
>and I'm not sure what type of project I should create...
>I choose HC12 Stationary and then I am given choices of what
>microcontroller I have. I just want to program the RAM.. later I may want
>to program the flash and the eeprom but I'm not using a POD yet.
>
>68HCS12DP256
> --with Bdi Target interface
> --with Icd-12 Target interface
> --with NoralBDM Target interface
> --with Sdi Target interface
>
>What do these options mean?
>I can't find anything in the help files, is there a better help document
>somewhere else? >---------------------------------
>Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger >-------------------- >
>">http://docs.yahoo.com/info/terms/





Memfault Beyond the Launch