Tool/software:
Hi Team,
I'm developing application for LP-AM243x using "ethercat_slave_demo" of 401_simple in the SDK ver.09_02_00_15.
Could you tell me how to change the flash offset when booting from OSPI.
Best regards,
Oyama
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi Team,
I'm developing application for LP-AM243x using "ethercat_slave_demo" of 401_simple in the SDK ver.09_02_00_15.
Could you tell me how to change the flash offset when booting from OSPI.
Best regards,
Oyama
Hi Oyama,
You have to change the boot image offset using syscfg file of SBL_OSPI example, in the bootloader instance you can specify where the image is flashed in Boot Image Offset configuration:
Best Regards,
Meet.
Hello Meet,
I have one more question of it.
How can I change boot image offset dynamically?
For example, if offset number data are written in the EEPROM, it is able to change boot image offset according to the number data in the EEPROM?
Best regards,
Oyama.
Hi Oyama,
I suppose you want to read the offset address from an address location of EEPROM and boot the image accordingly, in such case you can edit the main.c file of SBL_OSPI example and change the appimage offset in the Bootloader_Config structure like this:
(EEPROMOffsetAdd could be the variable in which the offset address is stored after reading the EEPROM location)
You can try to test this at your end and see if it works properly.
Best Regards,
Meet.