Query on memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,668件の閲覧回数
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,621件の閲覧回数
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,650件の閲覧回数
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,626件の閲覧回数
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,622件の閲覧回数
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,616件の閲覧回数
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......