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?
Solved! Go to Solution.
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
Hi @Maheshkadam9922 ,
RT1050 uses the external flash, the flash address is 0X60000000.
wish it helps you!
Best Regards,
Kerry
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 ?
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
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......