我已经进行过“Format the nand flash”了,但还是不行,
你说的clean是什么意思?
我刚做了个实验,在init.c中找到static void InitDisplay(DWORD LcdType),
并将其中的
memset((void *)IMAGE_FRAMEBUFFER_UA_BASE, 0, XSize*YSize*2);
{
unsigned PicWidth = StartLogoData[0];
unsigned PicHeight = StartLogoData[1];
unsigned CopyWidth = PicWidth <= LCD_WIDTH ? PicWidth : LCD_WIDTH ;
unsigned CopyHeight = PicHeight <= LCD_HEIGHT ? PicHeight : LCD_HEIGHT;
unsigned V;
const unsigned short *PicPtr = StartLogoData + 2;
unsigned short *LCDPtr = (unsigned short *)IMAGE_FRAMEBUFFER_UA_BASE;
for (V = 0; V < CopyHeight; V++) {
memcpy(LCDPtr, PicPtr, CopyWidth * 2);
LCDPtr += LCD_WIDTH;
PicPtr += PicWidth;
}
}
这段代码注释了起来,(我认为是这段代码将图显示出来的,不知道对不对?)
编译,下载后仍然有startlogo的显示,而且还是原来那张