Question about MPC5604 BAM protocol

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question about MPC5604 BAM protocol

ソリューションへジャンプ
1,924件の閲覧回数
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 解決策
1,509件の閲覧回数
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 返答(返信)
1,510件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信