Question about MPC5604 BAM protocol

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

Question about MPC5604 BAM protocol

Jump to solution
1,550 Views
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

Labels (1)
0 Kudos
1 Solution
1,135 Views
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

View solution in original post

0 Kudos
3 Replies
1,136 Views
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 Kudos
1,135 Views
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 Kudos
1,135 Views
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 Kudos