I am working on a CAN based bootloader for MPC 5748G.
I am referring the application note AN5319 (Which is for serial boot loader).
I was able to download the application software in to the flash at address 0x01040000. My Boot loader application is placed at address 0x1000000. I used the jump method listed in application note.
the jump address is taken from the reset vector which is inside the BAF boot header (0xF94000).
The issue is that , i was able to jump to the __start() section of application. But it is getting hangs in between and the application fails. after this the MCU will not respond to any brake command.
I am using Lauterbach debugger and trace 32 for debugging. Find the attached ld files for application and boot loader.
Thanks in advance for any support.
Application Linker file:
Boot loader Linker file: