How to update the Firmware through DFU that is more than 1Mb

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

How to update the Firmware through DFU that is more than 1Mb

812 次查看
Ragnar
Contributor III

Hello NXP,

I am able to update and run the firmware's using DFU. Which are less than 196kb as the DFU using the ITCM region which is of size 256kb. 

following this Unable to update the Firmware through DFU - NXP Community

The problem is when I try to update the firmware that is greater than the 196kb it is getting failed due to the lack of memory in that region. 

Is there any to increase the ITCM region size keeping the DTCM as 256kb?

                                                  or

Is there any alternative way to download and run the applications greater than 1Mb using DFU?

 

Thanks in advance for the help.

 Regards,

 Ragnar.

0 项奖励
回复
3 回复数

793 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you provide the device that you are working with?
Also, which BSP are you using?

Best regards/Saludos,
Aldo.

0 项奖励
回复

735 次查看
Ragnar
Contributor III

HI @AldoG ,

                 Using the DFU example provided in the SDK I could be able to update and run the application by writing the application downloaded to the ITCM to flash region and jumping to it.

But when I tried to write the downloaded application directly to flash instead of following the above process

my bootloader is unable to set the stack pointer when application jump is performed and immediately returning to the boot loader.

could you please help me with this case?

Thanks & Regards,

   Ragnar.

0 项奖励
回复

788 次查看
Ragnar
Contributor III

Hi @AldoG ,

             I am using IMX RT1170EVK with Windows (MCUXpresso IDE 11.8.0) and MIMXRT1170-EVK (SDK version 2.14.0).

 

Regards,

Ragnar.

0 项奖励
回复