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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

810件の閲覧回数
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 返答(返信)

791件の閲覧回数
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 件の賞賛
返信

733件の閲覧回数
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 件の賞賛
返信

786件の閲覧回数
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 件の賞賛
返信