9s12hz256的问题

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

9s12hz256的问题

1,878 Views
zcjxjw
Contributor I

我用BDM硬件 CodeWarrior5.1软件中的hiwave.exe读汽车仪表9s12hz256,

 

读0x400-ox7ff 数据 读出来了 但实际这个cpu在0x400前还有数据 我用设备1能读出这部分数据 即0x000-0x7ff数据都读出来了

 

但我用设备2读EEPROM数据却能读出0x000-0xfff数据来 而且3部分都有数据

 

不知是BDM不支持汽车的cpu 还是汽车用的同型号cpu是变异的 有不同的地方 还是要用别的版本软件 或是要打一个补丁?

 

save命令可能是不怎么好 有什么权限高的命令吗

 

读不出0x308000-0x3fbfff  全是F 但用高手的方法能看到这部分数据 就是保存不了  在项目中调试 操作不好 会把数据擦了

有什么办法直接保存?

 

下面给的方法不对:

 

首先CW5.1软件给出的数据地址是0x400-0x7ff  这部分数据BDM读出来了 但实际还有一块EEPROM软件没有给出来 也就读不出来了

 

但糟糕的是 你要是擦这块数据 却能把没有显示出来的这部分数据也擦掉 造成数据丢失, 看看贵公司是怎么解决这个问题的 我用非官方的设备就能读出来

Original Attachment has been moved to: 用设备2-9s12HZ256.bin.zip

Original Attachment has been moved to: 9s12HZ256.s19.zip

Original Attachment has been moved to: f3没读出来.s19.zip

Original Attachment has been moved to: 用设备1-9s12HZ256.bin.zip

Labels (1)
0 Kudos
2 Replies

1,732 Views
Wlodek_D_
Senior Contributor II

Dear z cjxjw,

Thank you very much for your active participation in Freescale Community, however please note that Community Users are located worldwide, therefore for better visibility also to non-Chineese Users could you please rewrite your question in English?

Finally, more developers could be able to read your problem and could provide their advice faster and more precisely.

Please have in mind that the machine translation returns very often an ambiguous text, so it can lead to misunderstanding and waste of time.

Thank you for your kind understanding. We look forward for further cooperation. 

Best regards,

Wlodek_D.

0 Kudos

1,732 Views
RadekS
NXP Employee
NXP Employee

If I understood correctly you want dump code from MCU to output s19 file, correct?

We could use SAVE command for this purpose. Unfortunately this command has limitations and you cannot use it across unimplemented memory areas.

In attachment you can find description how to use SAVE command in CW include some screenshots.

Note: screenshots was captured for different MCU. Please don’t use values from pictures.


I hope it helps you.

Have a great day,
RadekS

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

0 Kudos