BAM CAN MP5634

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

BAM CAN MP5634

956 Views
935391822
Contributor I

Hi,

   Recently, i tried to update the user application by BAM via CAN During this period, I encountered some difficulties.I hope you can help me.

   1. I followed  the step of the Boot Assist Module (BAM) with FlexCAN MPC5604P , and created the RAM image."The RAM.mot cannot be downloaded by BAM directly. It must be continuous image without gaps",as mentioned in the comment above.When i tried to  use the SRECCONV_v2.exe to convert the RAM.mot to the continuous binary file, i got the error message:"S-record out of range". How can i solve it?

   2. I didn't know what exactly "secondary bootloder" is.I didn't understand what it should contain. Actually,i didn't know whether it should be included in an seperate project or main function . If so, i need to create two seperate projects: one for "secondary bootloder",another for user application. Is it right?Could you please  provide me with example source file about it?

   3. I read the application note https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fassets%2Fdocuments%2Fdat... .Could you please provide me with CAN data transmission application like eSL (mentioned in the note above )

   I will  highly appreciate it if you can help me as soon as possible!

   Regards

   Peng

bam support‌

mpc5634m‌

lukaszadrapa

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

877 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

  1. SRECCONV_v2.exe is version for MPC57xx devices where the flash memory is shifted to another addresses.

For MPC56xx, you can use SRECCONV from this archive:

https://community.nxp.com/servlet/JiveServlet/download/427962-1-279359/bootloader.zip

 

  1. The image which you are loading to RAM via BAM should be able to load new firmware from somewhere (from CAN interface in your case) and program it to flash memory.

My question is – do you really want to use BAM for firmware update? An option is to use flash resident bootloader. This can be found in the package above, I wrote that directly for MPC5634M. It uses serial interface but it should be quite easy to change it to CAN.

In fact, secondary bootloader and flash resident bootloader are doing the same thing, so you can re-use it.

 

  1. I can provide the eSL application but I have only the exe file. Source codes are not available. I will attach it here.

Then we have Rappid bootloader but it does not support MPC5634M.  

Regards,

Lukas

0 Kudos
Reply