This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

timeout in flash_am29xxxxx.inl and SA1110


Hi folks,

I'm using a custom SA1110 (206 MHz) board with four 29LV800B flash-chips
- two parallel, two serial - and eCos-CVS version from yesterday (you
know Jonathan ;). When starting the command "fis init -f" in redboot,
the flash-driver made it to erase the first two blocks and then hanged.
I found out that the timeout-value in "flash_erase()" at the following
location is to small.

... 
// Then wait for erase completion.
if (FLASH_ERR_OK == res) {
  timeout = 5000000;
  while (true) {
    state = *b_v;
    if (FLASH_BlankValue == state) {
      break;
  }
...

I changed it to 10000000 and got all blocks erased (at least those of
the first two flash-chips, but that's another problem).

Best regards,
-----------------------------------------------------
i.A. Andreas Bürgel     GenoLogic GmbH
     Software Engineer  Joseph-von-Fraunhofer-Str. 13
                        D-44227 DORTMUND
                        Germany               
                        
     ab@genologic.de    phone  +49 (0) 231/477349-0
                        fax    +49 (0) 231/4761234


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]