<DIV>hi all,<BR>I use a AT49BV1614A (2MB) as my flash memory,after write the u-boot.bin into it,I can't write/erase the flash, even chip erase command.this u-boot.bin is compiled from u-boot-1.1.3 #make chk4510_config;#make(chk4510 is a board I make some changes from evb4510), <BR>I find there's a flash_protect program in flash.h:<BR>#if defined(CFG_FLASH_PROTECTION)<BR>extern int flash_real_protect(flash_info_t *info, long sector, int prot);</DIV>
<DIV>but I can't find the flash_real_protect,I want to figure out how to unprotect my flash<BR>thks for help:)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV >&nbsp;</DIV><br><!-- footer --><br><hr>
<a style="font-size:12px;line-height:15px; color:#000; text-decoration:none" href="http://www.126.com/" target="_blank">网易邮箱精准过滤超过98%的垃圾邮件 <span style="font-family:Tahoma; text-decoration:underline; color:blue">www.126.com</span> </a>