Hello
I'm a developer using IMX RT1020 EVK board.
I created a project to do SDRAM-boot using ROM-Bootloader.
The default project uses lwip-ip4_ipv6_echo_freertos SDK Sample.
The Step is below,..
1. Modify code from [ fsl_flexspi_nor_boot.c ] in the xip folder
2. Project Properties -> From Managed Linker Script.
Check the Plain load image & select BOARD_SDRAM to automatically create the build linker script
3. Uncheck the Managed Linker Script
4. From Debug Directory, [ evkmimxrt1020_lwip_ipv4_ipv6_echo_freertos_Debug.ld ] Modification
5. start-up folder start-up_mimxrt1021.c code modification
and build , Flash programming.
Finally , This project could not do Boot
What is the problem ???? Please Check this project (evkmimxrt1020_xxxxx.zip)
But. With Same sequece, attached project (RAMBOOT_exam.zip) is Successfully SDRAM Working !!
What is the difference.. ?? What do I omit ??
Please check this 2 projects, and How can I do SDRAM boot by this method ?
Please someone, help me.
解決済! 解決策の投稿を見る。
Many thanks for your patience, my apologies for not getting back to you sooner.
Yes, I meant to check the hex to check the contents of the FCFB, DCD, IVT and boot header. Besides the Reference manual, we have this NXP: MCU Tech Minutes: Boot Options for i.MX RT Crossover MCUs, which ilustrates basic image boot structures, referenced in the user manual.
I have made the attached document in the past. It is using the MCUXpresso Secure Provisioning tool. It may be of help. There is a User guide for the SPT see MCUXSPTUG.
Best regards,
Diego
evkmimxrt1020_lwip_ipv4_ipv6_echo_freertos.zip, build fail ?
I check that project, build error is from just lwip/doc files, after deleting lwip/doc or excluding this from building , build is ok.
anyway, you mean,
==> axf image -> binary image , and then check image region of flash block info, IVT, DCD ?
but , What point do I have to check from. hex data ? ,, Is there any guide or reference doc about booting sequence and data - IVT, DCD regions and *.ld info. ??
and,
I already have seen the document (i.mx rt - HOW to boot to SDRAM) , but [ MCU boot utility ] is hard to understand, Is there any good manual of [ MCU boot utility ] like as [ MCUXpresso IDE guide manual ] ?
Many thanks for your patience, my apologies for not getting back to you sooner.
Yes, I meant to check the hex to check the contents of the FCFB, DCD, IVT and boot header. Besides the Reference manual, we have this NXP: MCU Tech Minutes: Boot Options for i.MX RT Crossover MCUs, which ilustrates basic image boot structures, referenced in the user manual.
I have made the attached document in the past. It is using the MCUXpresso Secure Provisioning tool. It may be of help. There is a User guide for the SPT see MCUXSPTUG.
Best regards,
Diego
I hope that you are doing well!
I ran the RAMBOOT_exam project you have, it can get succesfully loaded into SDRAM also debugged. I can not compile your application.
I saw that your app is a client and the RAMBOOT_exam project is a server, apparently. I would suggest you to generate the binaries of boot images, then, check if there is anything missing on your app image with regards to the flash configuration block, IVT and DCD areas.
I have not seen the process for RAMBOOT documented by us. But if you want to simply generate a bootable SDRAM application you can follow this post made by one of my collegues: I.MX RT - How to boot to SDRAM. The difference with this article and your procedure, is that we rely on the MCU boot utility to generate a complete bootable image. Then the image gets loaded using serial downloader mode. If you are in a hurry you can follow this process.
All the best,
Diego