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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

811 Views
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 Kudos
Reply
3 Replies

792 Views
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 Kudos
Reply

734 Views
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 Kudos
Reply

787 Views
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 Kudos
Reply