I need to retrieve the binary image from my PC which i have saved on my desktop and then i need to copy the same image to the flash "W25Q128JV" of IMXRT1170 after i run this program. i am modifying the following driver example program according to the requirement.
evkmimxrt1170_flexspi_nor_polling_transfer_cm7\source\flexspi_nor_polling_transfer.c
I am hereby attaching a modified program for which i am getting runtime errors, please correct
1. __assertion_failed() at fsl_assert.c:35 0x30002654
2. FLEXSPI_GetInstance() at fsl_flexspi.c:143 0x20240754
3. FLEXSPI_Init() at fsl_flexspi.c:263 0x202408d0
4. flexspi_nor_flash_init() at flexspi_nor_flash_ops.c:536 0x20240330
5. main() at flexspi_nor_polling_transfer.c:144 0x30002b4a
Hi @Hemanthdst,
If I understood correctly, the issue you are currently experiencing is that you are unable to open a .bmp file on your PC. Have you tried using https://hexed.it/? This website should allow you to do a hex dump of your .bmp file and read its contents.
BR,
Edwin.
With respect to my above issue i am getting no errors now but I am unable to read the .bmp image from the PC and store the same in the Flash.