Como ler e programar 9S08DZ32 com USBDM?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Como ler e programar 9S08DZ32 com USBDM?

跳至解决方案
1,203 次查看
adrianomarques
Contributor II

O software somente reconhece arquivos com extensão .s19 ou .elf, preciso gravar arquivos com extensão .bin, eletrônica embarcada (automotiva)

标签 (1)
标记 (1)
0 项奖励
1 解答
813 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Adriano,

You must use either the linker or a third-party tool to generate a binary version of the application.

The most common third-party utility used for converting S-records, which should be correctly generated by the linker if you enable to "Generate S-record" option in the Linker settings panel, to binary images in SREC2BIN. 

I believe you can download a copy of it from the following site:

http://www.s-record.com/

can this help?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
6 回复数
813 次查看
adrianomarques
Contributor II

Thanks for the reply zhang Jennie!

I can not use the suggested software

I do not have much knowledge in programming

I need to convert a .bin file to .s19

I need to read the file, modify and rewrite the MC9S08DZ32

I downloaded and installed "codewarrior version 6 and 10, bin2srec,  srec2bin but do not know use

I need a "step by step" easy to understand

my skype: chavcar1

0 项奖励
813 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Adriano,

you can also use burner.exe file to covert s19 file to binary file.

Erich blog has one document covered this topic:

http://mcuoneclipse.com/2012/09/27/s-record-intel-hex-and-binary-files/

hope this helps!
Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
813 次查看
adrianomarques
Contributor II

Hi Zhang Jun

I need to convert binary file to S.19.

but I do not believe it solves my problem

I think I'll have to use a compiler

reading binary file should not contain all the necessary data

This microprocessor is shielded from reading and erasure of data, by FPROT

I think the solution is to create a new project and insert the micro

but it would be interesting to preserve the original data of EEPROM and flash, I understand that you can not

USBDM available makes a read only "DOS" without form, I would have to copy and paste the data in a file with extension .s19 (SREC), but still do not know to this process and I do not know if it would work ..

Have a nice day!

Adriano

0 项奖励
813 次查看
adrianomarques
Contributor II

Colleagues here forum can read and program MC9S08DZ32 with USBDM? They know tell me if it really works?

gravador-freescale-hcs08-coldfire-v1-coldfire_MLB-O-3226194166_102012.jpg

gravador freescale USBDM

0 项奖励
813 次查看
adrianomarques
Contributor II

I tested this, but only identified a MC9S12DG256B

He did not identify the 9S08DZ32

The TCL Interpreter did not connect

Bdm-USBDM-OSBDM-8-16-32-programador-emulador-XS128-Freescale.jpg_350x350.jpg

814 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Adriano,

You must use either the linker or a third-party tool to generate a binary version of the application.

The most common third-party utility used for converting S-records, which should be correctly generated by the linker if you enable to "Generate S-record" option in the Linker settings panel, to binary images in SREC2BIN. 

I believe you can download a copy of it from the following site:

http://www.s-record.com/

can this help?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励