68HC912D60C flash and eeprom reading

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

68HC912D60C flash and eeprom reading

Jump to solution
485 Views
Screamer
Contributor I

Hello,

 

We are offering service for coffee vending machines and some of our customers are offering old and outdated machines.

The problem we are facing is that we can replace the 68HC912D60C MCU but we can't write its memory contents. We tried to contact the manufacturer but they are no longer in business.

 

We want to read the MCU memory contents from a good MCU and transfer its contents to a "blank" MCU. On the motherboard there is a 6pin connector available for programming.

 

Is there a way to do this? Are there any programmers available that can allow us to do this ? Also, what IDE can we use to read the memory contents ?

Labels (1)
0 Kudos
1 Solution
307 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi lonut.

the 6pin connector is for BDM multilink emulator:

http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33

this tool can work with CW5.1

CW-HCS12X: CodeWarrior Development Studio for HCS12(X) Microcontrollers (Classic IDE)

The code that written in chip is an optimized binary code but not your originally written assembly. The chip never records your original assembly code. So it is not possible to get your original assembly code from chip.

Your can use the SAVE command to save a specified block of memory to a specified file in Freescale S-record format. Reload the memory block later using the load S-record (SREC) command.  SAVE command is used in debugger command window.

Eg.

in>SAVE 0x1000..0x2000 DUMP.S19 ;A

This way can can read binary opcode from flash to s19 file. Appends the memory range 0x1000..0x2000 to the DUMP.S19 file.

Hope this helps!

=============================================

this answer is for you. if it helps, please click on "correct answer " button. thanks!

Best Regards,

ZhangJun

View solution in original post

0 Kudos
1 Reply
308 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi lonut.

the 6pin connector is for BDM multilink emulator:

http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33

this tool can work with CW5.1

CW-HCS12X: CodeWarrior Development Studio for HCS12(X) Microcontrollers (Classic IDE)

The code that written in chip is an optimized binary code but not your originally written assembly. The chip never records your original assembly code. So it is not possible to get your original assembly code from chip.

Your can use the SAVE command to save a specified block of memory to a specified file in Freescale S-record format. Reload the memory block later using the load S-record (SREC) command.  SAVE command is used in debugger command window.

Eg.

in>SAVE 0x1000..0x2000 DUMP.S19 ;A

This way can can read binary opcode from flash to s19 file. Appends the memory range 0x1000..0x2000 to the DUMP.S19 file.

Hope this helps!

=============================================

this answer is for you. if it helps, please click on "correct answer " button. thanks!

Best Regards,

ZhangJun

0 Kudos