Quantcast
Channel: 达芬奇(Davinci™) - 最近的话题
Viewing all articles
Browse latest Browse all 3112

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

$
0
0

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中?


Viewing all articles
Browse latest Browse all 3112

Trending Articles