This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在norflash例程中使用哪种函数(如fopen)能够加载图片到DM6437开发板的flash中



1.我尝试过fopen打开工程目录下或绝对路径的bmp图片(小于flash容量),总是返回值为null,说明打开失败。

fp = fopen("C:\\Users\JohnnySu\\Documents\\CCS_WorkspaceV7\\evmdm6437_v2\\tests\\norflash\\1123_gray_16_9.bmp", "r+b");
if (fp == NULL)
{
 printf("Opening file failed!\n");
 return;
 }

2.请问有什么好办法将图片存储到norflash中?