wanted to retriew a BMP image from PC to the code and dump the same image into Flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

wanted to retriew a BMP image from PC to the code and dump the same image into Flash

746 次查看
Hemanthdst
Contributor I

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

0 项奖励
回复
2 回复数

679 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复

729 次查看
Hemanthdst
Contributor I

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. 

0 项奖励
回复