<br><font size=2 face="sans-serif">Hi all,</font>
<br><font size=2 face="sans-serif">I am having some doubts regarding the
flashes.</font>
<br><font size=2 face="sans-serif">I am having two types of flash. One
flash is of ST make (M29W040B) &nbsp;having two chips of 512kbit size (total
size is 1MB). The total sector in each chip is 8.</font>
<br><font size=2 face="sans-serif">and another flash used for storing code.</font>
<br><font size=2 face="sans-serif">This is of AMD make (AM29LV160B).It
is also of two chips with 2MBit and total is 4MB size.The total sector
is 35.</font>
<br>
<br><font size=2 face="sans-serif">Now my question is how to define these
things in myboard.h file.</font>
<br><font size=2 face="sans-serif">ie </font>
<br><font size=2 face="sans-serif">#define CFG_MAX_FLASH_BANKS &nbsp; //what
values i have to put for these defined variables</font>
<br><font size=2 face="sans-serif">#define CFG_MAX_FLASH_SECT &nbsp; &nbsp;//
what values i have to put for these defined variable &nbsp; &nbsp; &nbsp;
</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_SIZE &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;//what values i have to put for these defined variable</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_ERASE_TOUT &nbsp;
&nbsp;8000 &nbsp; &nbsp;/* Timeout for Flash Erase (in ms) &nbsp; &nbsp;*/</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_WRITE_TOUT &nbsp;
&nbsp;5 &nbsp; &nbsp; &nbsp; /* Timeout for Flash Write (in ms) &nbsp;
&nbsp;*/</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_LOCK_TOUT &nbsp; &nbsp;
5 &nbsp; &nbsp; &nbsp; /* Timeout for Flash Set Lock Bit (in ms) */</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_UNLOCK_TOUT &nbsp;
10000 &nbsp; /* Timeout for Flash Clear Lock Bits (in ms) */</font>
<br><font size=2 face="sans-serif">#define CFG_FLASH_PROTECTION &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">2. I came to know from datasheet of
AMD that it is CFI complaint but i did get any info regarding ST make .
Can anybody tell is this flash is cfi complaint or not. </font>
<br><font size=2 face="sans-serif">Please help me in this regard.</font>
<br><font size=2 face="sans-serif">Thanks in advance.<br>
Prabha J.<br>
Tata Consultancy Services Limited<br>
Mailto: prabha.j@tcs.com<br>
Website: http://www.tcs.com</font>
<table><tr><td bgcolor=#ffffff><font color=#000000>Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you<br>
</font></td></tr></table>