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]
Other format: [Raw text]

strata flash program error


Hi I am using a custom board with a intel strataflash
device (TE28F640J3C115). I programmed RedBoot in it using
the Abatron BDI. When I try to run "fis init -f" I get the
following error:

About to initialize [format] FLASH image system - continue
(y/n)? y
*** Initialize FLASH Image System
... Erase from 0xfe060000-0xfe7e0000:
............................................................
... Erase from 0xfe800000-0xfe800000:
... Unlock from 0xfe7e0000-0xfe800000: .
... Erase from 0xfe7e0000-0xfe800000: .
... Program from 0x00fe0000-0x01000000 at 0xfe7e0000: Err =
9910

The 9910 code corresponds to "Verify error". I have the
latest CVS sources (i.e. the lock bit fix is in place). My
flash device is 8MB is size and located at
0xfe000000-0xfe80000. There are 64 blocks of 128K.

I tried doing fis writes as well. Doesn't seem to work.
After running fis init, I seem to have written a few bytes
 starting at 0xfe7e0000. See trace below:

# dump -b 0xfe7e0000
FE7E0000: 28 72 65 73 65 72 76 65  64 29 00 00 00 00 00 00 
|(reserved)......|
FE7E0010: FE 00 00 00 FE 00 00 00  00 02 00 00 00 00 00 00 
|................|
# dump
FE7E0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
|................|
FE7E0030: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
|................|
# dump
FE7E0040: FF FF FF FF FF FF FF FF  FF FF FF FF FF FF FF FF 
|................|
FE7E0050: FF FF FF FF FF FF FF FF  FF FF FF FF FF FF FF FF 
|................|

# fis list
Name              FLASH addr  Mem addr    Length      Entry
point
(reserved)        0xFE000000  0xFE000000  0x00020000 
0x00000000
#

Any ideas as to what is wrong here?
Thanks.




	
		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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