how to upload firmware to mc9s12x proccessor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to upload firmware to mc9s12x proccessor

Jump to solution
1,512 Views
rcpbrl
Contributor I

hi,

i have a processor freescale mc9s12. i want upload firmware to this processor. how can i do, i dont know. How do I enable communication with the PC. Which should I use communication protocol? which i use comminication device?

0 Kudos
1 Solution
988 Views
TICS_Fiona
NXP Employee
NXP Employee

If you already have .s19 or .elf file, you can also use hiwave.exe  tool included in CodeWarrior to program flash. CodeWarrior v5.1 can be downloaded from:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X

The method is as below:

1.   Install Codewarrior.
2.   make sure the hardware is well connected with PC. For instance you are using BDM multilink or Cyclone Pro.
3.   open Hiwave debugger “Hiwave.exe” in {Your CW install directory}\prog
4.   then in debugger, go to menu “component”, “set connection…”. In new pop-up small dialog, in the dropdown list, select HC12 and P&E Multilink/Cyclone Pro. Click OK to close this dialog.
5.   go to menu “MultilinkCyclonePro”, “device”, select the right device chip.
6.   go to menu “MultilinkCyclonePro”, “connect”, Set the right connection.
7.   go to menu “File”, “Load application…”. Import the .s19 or .elf file into debugger. You could have a browse the content at the memory window of the debugger, it should be in coincidence with the s-record file.
8.   Press F5 to run. The code should download into the flash.

Freescale has no stand-alone software for flash programmer,  if you need a standalone tool, you may choose the one supplied by P&E:
http://tinyurl.com/7ugmbuo

It supports P&E Multilink.

Fiona Kuang

Technical Information & Commercial Support

View solution in original post

2 Replies
989 Views
TICS_Fiona
NXP Employee
NXP Employee

If you already have .s19 or .elf file, you can also use hiwave.exe  tool included in CodeWarrior to program flash. CodeWarrior v5.1 can be downloaded from:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X

The method is as below:

1.   Install Codewarrior.
2.   make sure the hardware is well connected with PC. For instance you are using BDM multilink or Cyclone Pro.
3.   open Hiwave debugger “Hiwave.exe” in {Your CW install directory}\prog
4.   then in debugger, go to menu “component”, “set connection…”. In new pop-up small dialog, in the dropdown list, select HC12 and P&E Multilink/Cyclone Pro. Click OK to close this dialog.
5.   go to menu “MultilinkCyclonePro”, “device”, select the right device chip.
6.   go to menu “MultilinkCyclonePro”, “connect”, Set the right connection.
7.   go to menu “File”, “Load application…”. Import the .s19 or .elf file into debugger. You could have a browse the content at the memory window of the debugger, it should be in coincidence with the s-record file.
8.   Press F5 to run. The code should download into the flash.

Freescale has no stand-alone software for flash programmer,  if you need a standalone tool, you may choose the one supplied by P&E:
http://tinyurl.com/7ugmbuo

It supports P&E Multilink.

Fiona Kuang

Technical Information & Commercial Support

988 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello  recep,

Which board do you use ? Or what is the chip part number ?

And which IDE do you use ?

BR

Alice

0 Kudos