With support from NXP, I was able to obtain instructions to program an SD card for SD card boot mode and then boot from the SD card.
The issue is those steps corrupt the SD card's FAT32 formatting. I am not an expert on SD card FAT32 formatting but I found a utility that allows me to select a FAT32 sector size of 4KB.
4KB is relevant because the boot ROM was carefully designed to boot the image from SD card address 4K (0x1000) to leave space for a boot table.
Still, it seems, the steps to use blhost to write the image to 0x1000 on the SD card still results in the SD card no longer being recognized when I plug it back into my Windows 10 PC.
I need a set of instructions that allows me to load an image, block that the area starting at 0x1000 for the size of the image, but still retain the ability to use the SD card with the SDK fatfs library functions.
Hi @dash ,
Already answer you in your RT post:
Any updated information, please give me reply in that post.
Best Regards,
Kerry
Reposted to i-MX-RT forum. Please respond here instead
https://community.nxp.com/t5/i-MX-RT/RT685-SD-card-boot-loading-image-on-SD-card-corrupts-SD-card/m-...