Question about MPC5604 BAM protocol

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

Question about MPC5604 BAM protocol

跳至解决方案
2,867 次查看
Snaku
Contributor III

Hi,

 

I am trying a python program with BAM to download a binary file (64bytes) to a SPC5604CML, I send the public password, start address, data size and a binary file to SPC5604C via RS232, and I can get echo from SPC5604C, but SPC5604C stop to echo at the 44th byte of the binary file. The below picture is the RS232 transaction record between my host and the SPC5604C, I also tried send and then read only one byte each time, but the result still the same. What I missed?

8641_8641.pngbam_stop.png

Thank you,

Snaku

标签 (1)
0 项奖励
回复
1 解答
2,452 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there's note in reference manual on page 89:

"The start address is configurable, but most not lie within the 0x4000_0000 to 0x4000_00FF address range."

http://www.freescale.com/files/32bit/doc/ref_manual/MPC5604BCRM.pdf

Try to change the start address to 0x4000_0100. I guess it will solve the problem.

Lukas

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,453 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there's note in reference manual on page 89:

"The start address is configurable, but most not lie within the 0x4000_0000 to 0x4000_00FF address range."

http://www.freescale.com/files/32bit/doc/ref_manual/MPC5604BCRM.pdf

Try to change the start address to 0x4000_0100. I guess it will solve the problem.

Lukas

0 项奖励
回复
2,452 次查看
Snaku
Contributor III

Hi Lukas,

Yes, you are right, I can download my application code after change the start address to 0x40000100.

Thanks for your help,

Snaku

0 项奖励
回复
2,452 次查看
Snaku
Contributor III

I just tried the BAM protocol with CAN interface, the result is the same, SPC5604C stop to echo message when the host send eight ID:0x13 CAN message.

This picture is the CAN message log, What I missed?

bam_can_stop.png

Snaku

0 项奖励
回复