In the web page OTA functionality, what parameters should be considered when the code increases?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

In the web page OTA functionality, what parameters should be considered when the code increases?

2,108 次查看
Edward-Liao33
Contributor I

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. 

EdwardLiao33_0-1686737451328.png

 

EdwardLiao33_1-1686737675239.png

Best Regards

Edward

标签 (1)
0 项奖励
回复
3 回复数

2,087 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

2,079 次查看
Edward-Liao33
Contributor I

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.

EdwardLiao33_1-1686790614235.png

 

EdwardLiao33_0-1686790598010.png

Best Regards

Edward

0 项奖励
回复

1,971 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复