How to implement OTA in 1064

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

How to implement OTA in 1064

2,362 次查看
vasudhevan
Contributor V

Hi,

    We want to use two image primary and secondary.

    We want to shift primary to secondary and vice versa (8.6.4.5 Redundant boot support for expansion device - Reference manual) how can we access PERSIST_SECONDARY_BOOT in our program ?

    This case we need to use external qspi (or) internal flash is sufficient ? 

    Any other suggestion is there from nxp side ?

 

Thanks & Regards 

        Vasu

标签 (1)
4 回复数

2,152 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi vasu dhevan

The Persist_Secondary_Boot bit is located in the SRC_GPR10[30] field. If you require to implement OTA, you can use the secondary bootloader that we provide with the SDK as a reference for your implementation of the OTA.

You will require an external module for the wireless part, depending on if you going to use BLE, Wifi, NFC, etc, I recommend you to create a new question in the community space for that technology.

Best regards

Jorge Alcala

0 项奖励
回复

2,152 次查看
vasudhevan
Contributor V

Dear Jorge,

    Thank you for your response.

     OTA why we need go with wireless part already ethernet available ?

     Internal flash contains primary program QSPI 8MB contains secondary program this possible remaining qspi space our application data like configuration and certificates.

     Can we possible shift boot primary image from internal flash and secondary image form external qspi at any time ? 

     If we kept two images in external qspi can we use internal flash our application data storage(config data) purpose ?

Thanks & Regards 

     Vasu

    

0 项奖励
回复

2,152 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Vasudhevan G

Could you clarify your questions:

 Can we possible shift boot primary image from internal flash and secondary image form external qspi at any time ? 

The Persist_Secondary_Boot bit only work in a boot interface. The internal flash memory and the external memory uses two interface, so you cannot use the Persist_Secondary_Boot bit with internal  boot and external boot.

If we kept two images in external qspi can we use internal flash our application data storage(config data) purpose ?

Yes, you can use it as data storage, but those values are not designed to change constantly as it is a flash memory.

Best regards

Jorge Alcala

0 项奖励
回复

2,152 次查看
vasudhevan
Contributor V

Hi Jorge,

      Sorry for the late reply.

      NXP side any plan is there imxrt1064 ota example project in upcoming sdk release ?

Thanks & Regards 

        Vasu

0 项奖励
回复