Newbie with Compling issues

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

Newbie with Compling issues

947 Views
AutoProg
Contributor I

Problem:

I have a MC9S12C64MFUF chip being used in a automotive ECU. The chip had been bricked so I need to flash it again. I was told by the individual who created the ECU that he had used Codewarrior and a PE Micro Multilink to flash it. I have the original code but it appears the s19 file is no good from PC-PC transfers.

This is the first time I have used Codewarrior software, and I have been attempting to recompile the code. What I have of the original code is as follows:

bin- one .abs file

cmd- vppon, vppoff, startup, reset, preload, postload, erase_unsecure__hcs12

C_layout.hwl

.ini file

 

If anyone help pointing me in the correct direction would be greatly appreciated.

 

--Eric

Labels (1)
Tags (1)
0 Kudos
3 Replies

462 Views
kef
Specialist I
  • I have the original code but it appears the s19 file is no good from PC-PC transfers.

 

What does it mean? S19 file could be flashed to MCU.

 

Do you have source folder and maybe *.c or *.asm files somewhere in your project tree? If not, then you don't have source code and can't recompile it.  In the root of project folder tree you also should have *.mcp file. It is a Codewarrior project file.

 

If you have only *.abs file, then you can flash it to MCU. To do so connect P&E Multilink between target MCU and PC, run Hiwave.exe in <Codewarrior root folder>\prog . In Hiwave click Component->Set Connection... and select P&E Multilink. Then click HC12MultilinkCyclonePro->Select Derivative... and chose your MCU. Then you could douwnload your abs file use File->Load Appliction.

 

0 Kudos

462 Views
AutoProg
Contributor I

Thank you for the reply.

 

What I mean is when I try loading either the .abs or the .s19 file into hiwave, i get an error specifing it could not load the component or on of its libraries "specified module could not be found.

 

Maybe I'm not understanding this correctly but it sounded like the file may be corrupt somehow.

 

--Eric

0 Kudos

462 Views
AutoProg
Contributor I

Alright, well I appear to have solved those issues and I am communicating fine and I believe am getting the s19 file sent to the chip.

 

If I understood correctly before loading the s19 file will automatically send it to the chip correct? Or does this only load it into hiwave?

 

Thanks,

--Eric

0 Kudos