Query on memory

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

Query on memory

跳至解决方案
1,664 次查看
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 项奖励
回复
1 解答
1,617 次查看
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 项奖励
回复
4 回复数
1,646 次查看
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 项奖励
回复
1,622 次查看
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 项奖励
回复
1,618 次查看
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 项奖励
回复
1,612 次查看
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......