Hi Sir:
In the I.MX RT1062 web page OTA functionality, I'm using the example program provided by the official.
If I want to increases APPs code size to 1.6MB, Which parameters need to be considered for modification?
The program will occurred "memory fault" event when the variable BL_FEATURE_PRIMARY_IMG_PARTITION_SIZE modify from 0x100000 to 0x200000.
The bootloader version is K200.
Best Regards
Edward
Hello
I hope you are well.
Let me check if I understand correctly, do you want to increase the size of the image partition for OTA? Could you please point me to the specific example you are using?
Best regards,
Omar
Hi Omar:
Thanks for your kindly reply, please see my answer below.
Do you want to increase the size of the image partition for OTA?
A: Yes, actually, my size of bin file is about 1.5 MBytes. The program operation is fine when bin file under 1MB.
Could you please point me to the specific example you are using?
A: Below show OTA and bootloader are refer example where I get.
Best Regards
Edward
Thank you for your additional information.
The example is kind of different on my side, which SDK version are you using? Could you please attach me here the ota_bootloader example so I can check it in more detail?
In theory, it should be enough by modifying the macros but apparently, the bootloader is accessing some areas that should not be accessible.
Best regards,
Omar