I could able to get the .bin file from UART and store it into local buffer, after that i saved this data in to 0x6000 memory location on words.
I am using __asm__("b 0x00006004"); this command to shift the program execution. but its not shifting and not starting the application program.
Please somebody help me to shift the execution from bootloader to Application program.
Hi,
Could you please create a ticket?
https://community.nxp.com/docs/DOC-329745
The source code hasn't been released publicaly yet.
And I'm unable to send you the file due to a restriction.
Thank you,
Daniel
Dear Community,
I found one Boot loader application note as AN12218, If somebody has source code for above application note please send me.
thanks,
Mangesh
Dear Community,
Please help me on above thread.
Looking forward to your reply.
Thanks,
Mangesh
Hi Diana,
I tried whatever you provide, still its not switching to Application.
PC going to that entry function after that its going to UART receive function.
Through UART i am going to receive the App binary.
Please see the below images for more details.
1. UART receive function(After calling to entry function, PC going to LPUART_DRV_ReceiveDataBlocking function)
2. Jump To App function
3. main_boot() program execution sequence
i have tried with UART Receive data with non blocking function.
Please help me for switching the execution to Application.
Hi,
Have you tried,
entry = (void (*)(void))pc;
Regards,
Daniel
Yes daniel, i have tried same routine.
see the downloaded App with memory location.