Hello
I know boot header is located in address 0x00FA0000. The picture shows boot header structure. Now I want to program boot header, so I want to know how to write data to the address 0x00FA0000, especially address offset 04h and 08h.
thanks,
best regards
Hi,
You have 2 possibilities:
1. use debugger
2. application routine via flash driver.
Which one is your case?
Peter
Hello,
Sorry, I don't know the distinguish between the two possibilities, can u state it in detail?
And I will state my case. I want to write code, application routine according to statement about register in datasheet of MPC5748G. PE, a debugger, that is used to write code to code flash will write application routine to code flash of MPC5748G. Once MPC5748G execute the code in code flash, it write data that I set to the address 0x00FA0000,especially address offset 04h and 08h. And the data in the address 0x00FA0000,especially address offset 04h and 08h is what I set before if MPC5748G restart next time.
thanks
Ok,
So you need to change flash content from application. For this purpose you can:
1. write your own flash driver
2. use NXP flash driver in link below:
http://www.nxp.com/assets/downloads/data/en/device-drivers/C55_JDP_SSD.exe
Peter
Hi Peter
Thank you for your help! I am now able to write data to the address 0x00FA0000 by changing code in mem.dl, sections.dl and flashrchw.c. Thanks again.
best regards