Hi ,<br><br>You are right, flash protect was not happening properly because i was not enabled the the FLAG<br>CFG_FLASH_PROTECTION. Now it is happening after enabling it.<br><br>Thanks and Regards,<br>Naveen.<br><br><div class="gmail_quote">
On Fri, Jul 4, 2008 at 6:45 AM, Nobuhiro Iwamatsu <<a href="mailto:iwamatsu@nigauri.org">iwamatsu@nigauri.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
2008/7/3 navin karnam <<a href="mailto:navin.karnam@gmail.com">navin.karnam@gmail.com</a>>:<br>
<div class="Ih2E3d">> Hi all,<br>
><br>
><br>
> I ported u-boot-1.3.3 on board, when boot the board iam getting messagesas<br>
> below.<br>
</div>What do you use archtechture?<br>
<br>
<snip><br>
<div class="Ih2E3d">><br>
> But when try erasing flash :<br>
> #erase all<br>
> Erase Flash Bank # 1 - Warning: 259 protected sectors will not be erased!<br>
> done<br>
><br>
> So i enabled the flash for writing using:<br>
> #protect off all<br>
> Un-Protect Flash Bank # 1<br>
><br>
> After that also i am unable erase the flash:<br>
> #erase all<br>
> ---------------------------------------------------<br>
> Flash erase error at address 680000<br>
> Block Erase Error.<br>
> Block locked.<br>
<br>
</div>I think you failed flash protect off. Please check protect infomation<br>
by flinfo command after protect off.<br>
When protection is not excluded, setting of Flash may be wrong.<br>
<br>
<snip><br>
<div class="Ih2E3d"><br>
> ---------------------------------------------------------------------------------------<br>
><br>
> So how do i erase or write into flash, do i need to write my code which<br>
> should do erase and writting into flash? or<br>
> The code in u-boot is sufficient to that?<br>
<br>
</div>Best regards,<br>
<font color="#888888"> Nobuhiro<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><br>