<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi, all</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; There are two different type flashs on our 
customboard (mpc8540 based):&nbsp;AM29LV040B(bank 2) and&nbsp;28F128J3(bank 1). 
To support&nbsp;the both, I refer to the example "board/cpu86/flash.c". My work 
is mainly to change flash width from 64bit to 8bit.</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; Using flash driver, I can do any operation 
on AM29LV040B, such as erase, cp.&nbsp;But 28F128J3&nbsp;does not work 
well:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; a) I use "erase 1:0" to erase the first 
block, but I found that all&nbsp;block of this flash is 0xff (using "md.b"). 
</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; b) After eraseing, I can copy something to 
the flash successfully(using "cp.b" to copy and "md.b" to view).</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; c) When I reboot the board, it seems that 
nothing happened to the flash. The content of the flash is not 
changed.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; I am so puzzled, what happend?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Best Regards,</FONT></DIV>
<DIV><FONT size=2>Cui</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></BODY></HTML>