Hello everyone,
I'm developing MPC5748G bootloader based on Uart. I use the UART tool on PC to send the s19 file to the MPC5748G, and then MPC5748G will analysis them and flash rom with correct address.
But there is a problem when MPC5748G flash 0x10499FC , it can't work and return a error.
And this is the view when I debug, bootloader only flash 0x10499FC-0x10499FF
I use the S32DS 1.2 to develop with SDK "S32_SDK_MPC574xx_EAR_0.8.1" and I do flash like below:
I also unlock the space where I want to flash:
C55FMC->LOCK0 &= 0xFFFFFFEF; //NO.27 is 0 means 0xFA0000 - 0xFA3FFF can program
C55FMC->LOCK2 &= 0xFFFFFFFB; //NO.31 is 0 means 0x1000000 - 0x107FFFF can program
How should I approach this problem?
Thanks very much!
Hi. I am working on the bootloader with the MPC5748G.
Can I get the code for the project?
Only going to use it for educational use.
roxy2131@gmail.com thank you.
I have found the MPC5748G can not flash cross page like 0x10499FC-0x1049A00, but I don't know how to modify my s19 file because it made by S32DS...