Query on memory

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

Query on memory

Jump to solution
654 Views
Maheshkadam9922
Contributor II

In STM32 microcontroller 0x00000000 is allies with  0x08000000, So we flash code either 0x00000000 or 0x08000000

But In NXP mxrt1051 which address is allies and where we flash the code 0x00000000 ?,0x60000000 

How we generate .bin file in MCUXpresso IDE?

0 Kudos
1 Solution
607 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Maheshkadam9922 

So, you are using the JLINK as the debugger to download code, right?

  What's the external flash you are using? As the SDK is using the hyperflash in default.

0X60000000: FCB

0x60001000: IVT+BD+DCD

0X60002000: real app.

 

So, you need to check your used board, flash, then give the correct FCB.

You can use the NXP MIMXRT1050-EVKB test it at first.

Best Regards,

kerry

View solution in original post

0 Kudos
4 Replies
636 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Maheshkadam9922 ,

     RT1050 uses the external flash, the flash address is 0X60000000.

kerryzhou_0-1682503445935.png

 

wish it helps you!

Best Regards,

Kerry

 

0 Kudos
612 Views
Maheshkadam9922
Contributor II

we have generate .bin file as you mention and flash on mxrt 1051  using J flash  at 0x60000000 but its not working 

also we flash at 0x60000000 but its not working.

we have another .bin file share by our client which has flash on mxrt1051 and its working ok.

we check in target memory window at 0x60000000 found same data and also 0x60001000 some data 
at 0x60002000 found actual (code)text data 

when we compare our .bin file and client .bin file , we found that below diff.

Our .bin file   0x60000000 - (code)text data 

client .bin file 0x60000000 to 0x600001f0 - some data , 0x60001000 to 0x60001ff0 - some data , 0x60002000 - (code)text data 

How can we  generate the .bin file same as client .bin file ?

 

0 Kudos
608 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Maheshkadam9922 

So, you are using the JLINK as the debugger to download code, right?

  What's the external flash you are using? As the SDK is using the hyperflash in default.

0X60000000: FCB

0x60001000: IVT+BD+DCD

0X60002000: real app.

 

So, you need to check your used board, flash, then give the correct FCB.

You can use the NXP MIMXRT1050-EVKB test it at first.

Best Regards,

kerry

0 Kudos
602 Views
Maheshkadam9922
Contributor II

0X60000000: FCB

0x60001000: IVT+BD+DCD

0X60002000: real app.

As you mention above , Using secure tool I generated FCB.bin file (FLASH SPI NOR Configuration)
also Generate nopadding .bin file 

Using J flash tool 1st I merge FCB.bin+nopadding .bin file and create final.bin file then flash at 0X60000000 its working.

Thanks for assist me......