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?
Thank you,
Snaku
Solved! Go to Solution.
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
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
Hi Lukas,
Yes, you are right, I can download my application code after change the start address to 0x40000100.
Thanks for your help,
Snaku
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?
Snaku