Anyone can share a source code about bootlader using BAM and CAN transceiver to update ram in MPC56?
I will be grateful
some basic information:
If you need more details, just let me know...
Thanks for your links
Have you ever do similar project on SPC5 by STMicroelectronics?
the devices were developed by Freescale and ST in JDP program. They are 100% compatible (if you have the same revisions, of couse...).
i try to make application, but it hard..
I dont know how to use (active) BAM and update the code. Have you some basic instructions or source code for BAM?
This article can help me?
Yes, this application note should be useful.
Thanks for your help
Do you know where i can find this eSL aplication? I cant find it on site and i cant do it.
see attachment. Unfortunately I do not have the source files. The author of this SW has left the company and the source files are not available...
Did you have any program with source code like this? I want to see how its works.
all I have is very simple application for UART. I'm not author of this code, I got it from somewhere long time ago. See the CSerialBootLoaderDlg::OnBnClickedTest().
In fact, the serial boot itself is very easy. All you have to do is to follow the procedure described in the BAM chapter in reference manual. Send the password, address, byte count and the RAM image and that's all. You just have to wait for echo characters before sending next data.
More difficult is to develop the secondary bootloader - that's the binary image which is loaded by BAM to RAM. This application is supposed to load the code from UART/CAN and then program it to the flash.
This flash resident bootloader could help (it's not loaded by BAM to RAM, it sits in the flash all the time...). Maybe you can reuse some code:
And this is the same for MPC5748G:
Yeap i have to make a secondary bootlader with load code from CAN. I will try but its not easy for the first time with mpc5.
Retrieving data ...