Part Number: AM263P4-Q1
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG
Hi,
I am trying to extend the OSPI-SBL to be able to receive data via CAN and write that data to flash, specifically I want to be able to write a mcelf file to update my firmware.
Some things are still unclear to me, please help me clarify a few things.
- What is the difference between 0x80000000 address space and 0x60000000? Both seem to return the same values, when I read these with UniFlash.
- What is the correct address to write the mcelf-file to. 0x60081000?
- What is the correct address to read the written data for verification/checksum? also 0x60081000?
- Can I change this address freely (avoiding the SBL space, obviously) by changing “boot image offset” in sysconfig of the SBL?
- I read that at 0x60080000 is data for the OSPI Phy. Before writing my mcelf to 0x60081000, I would delete the flash sector, so this will also be deleted. Where do I get this data from, so I can rewrite it?
- Is the mcelf_xip file important? It is only 224B long. Do I need this at all? (I don’t use the flash for anything other than storing the application code to be loaded by the SBL once.)
- UniFlash will write mcelf_xip to 0xF0000000. What is there? I don’t see this in the memory map.
Best regards,
Frank
