Hi,
I build bootloader and user app for S32R45 in S32DS 3.4, and download them to flash.
But bootloader start user app failed. By debuger tools(Lauterbach), I find datas of user app which bootloader copy from flash to ram are different to datas in flash, it causes hard fault, and the user app run failed.
I am sure that datas in flash are ok.
Why is it different? And, how to solve it?
Are you using Example project in S32R45 or create your own project?
As your issue description and screenshot, it's hard to find out where is the cause of the issue
Can you show us the place where flash and RAM differences?
And can you check this with the Bootloader configuration, where you configured some addresses to be copy from Flash to RAM and then compare it with the actual data in these addresses?
Hi cuongnguyenphu,
Q: Are you using Example project in S32R45 or create your own project?
A: The project which i used is example project in Platform_Software_Integration_S32R45.
Q: Can you show us the place where flash and RAM differences?
A:
Q: And can you check this with the Bootloader configuration, where you configured some addresses to be copy from Flash to RAM and then compare it with the actual data in these addresses?
A: I'm sure that data Bootloader copy from Flash to RAM are different. Because i use debug tools (Lauterbach) to modify the flash address to 0 (it will point to IVT, and first 4 bytes are fixed values in IVT), data in ram is too different.
Which part will cause the data abnormal? the clock of qspi or others?