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]

Need BIN/HEX -- AEB-1 (Sharp's LH77790B) Boot Restore


Hi, just tried to see if anyone in eCos MList could help me out. It was to do 
with the AEB-1 board. 
I Need the bin/hex of the AEB-1 RevC that supports SST flashes. The bin that 
comes in the cd only supports Atmel flashes and is version 0.01. Here is a 
description of my problem. 
Maybe something here is familiar to someone:

------------------------------------------------------------------------------
------------------------------------------------------------------------------

I'm having a few problems with my AEB-1.
Sometime ago I accidentally deleted my boot but managed to get it back using a 
jtag program. Now I can even see the flash contents using arm-elf-gdb/x 
0x40000. I programmed all the 256 kB of flash memory but now I'm having a few 
problems regarding flashwrite/flasherase/setenv/etc

* I already tried with SDP Enabled and SDP Disabled
* I already tried both bin's that the cd offers. Revc1.bin (CS = 0x3D45 ) and 
At29c020.bin (CS = N/A)
* I already tried putting the bin to program directly in the flash but plugin 
fails with bad checksum
* I even tried disabling the cache but with no success...

When ever I try to write to the flash using something like flashwrite, setenv 
it simply doesn't work.

My best guess is that the bin's in the cd are either wrong (Rev B) or don't 
support SST29EE020 flash. Can you confirm this or can you send new boot.bin or 
even some suggestions/hints?

I have just found out using a small C program to dump the content of the flash 
at address 0x4018000 that the boot isn't working properly regarding sectors 
size. I see 256 bytes erased and only 128 bytes written. It seems that 
Revc1.bin and At29c020.bin don't support SST flash with 128 bytes/sector.

I attached the source code of the flasher, some terminal dumps of the boot 
communications. If you need anything else please advice.

My AEB-1 SN is: 55075-002367
		KPI-00041A

Thanks in advance
With best regards
Carlos Sobrinho

#########################################################################
#	Boot								#
#########################################################################

Boot: ûá.«
ARM Evaluation Board Boot Monitor 0.01 (19 APR 1998)
Press ENTER within 2 seconds to stop autoboot
Boot: modules
Header   Base     Limit    Data
04000004 04000000 040034a8 00000000 BootStrap       1.00 (14 Aug 1998)


Boot: rommodules
Header   Base     Limit
04000004 04000000 040034a8 BootStrap       1.00 (14 Aug 1998)
04003a74 04003800 04003bc0 Production_Test 1.00 (13 Aug 1998)
0400e7a4 04004000 0400e7ec Angel           1.03 (08 Mar 1998)

#########################################################################
#	Pluging Angel							#
#########################################################################


Boot: plugin angel

Bad checksum 00030000
^^^^^^^^^^^^^^^^^^^^^
Boot:
Boot: rommodules
Header   Base     Limit
04000004 04000000 040034a8 BootStrap       1.00 (14 Aug 1998)
04003a74 04003800 04003bc0 Production_Test 1.00 (13 Aug 1998)
0400e7a4 04004000 0400e7ec ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿe

#########################################################################
#	PrintEnv not working						#
#########################################################################


Boot: printenv
Variable        Value
========        =====
nocache

Boot: setenv noautoboot
^^^^^^^^^^^^^^^^^^^^^^^
Boot: printenv
Variable        Value
========        =====
nocache

#########################################################################
#	Jtag Flash Programmer						#
#########################################################################

JTAG Flash Programmer v1.7 (Jan 31 2004)
(c) Carlos Sobrinho <epilog@netvisao.pt>

Serial Port init (38400 bps):       [OK]
Checking for IDCODE:                [OK]
`- Found SST29EE020 Flash
Checking if flash is erased:        [OK]
Programming: 0x400000 -> 0x410000
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................

<snip>

All OK !!!
JTAG Flash Programmer v1.7 (Jan 31 2004)
(c) Carlos Sobrinho <epilog@netvisao.pt>

Serial Port init (38400 bps):       [OK]
Checking for IDCODE:                [OK]
`- Found SST29EE020 Flash
Flash NOT Erased !!!
`- Not programming first 64K
Programming: 0x430000 -> 0x440000
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................

All OK !!!

#########################################################################
#	Dump of Flash Memory after a 					#
#	:download c000							#
#	:flashwrite 4018000 C000 8000					#
#########################################################################
0x00058000 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058010 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058020 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058030 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058040 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058050 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058060 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058070 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058080 | f4 ff ff ea 08 a0 ff ff 00 80 00 00 00 80 04 00
0x00058090 | 04 7c 00 00 0c a0 ff ff 00 80 04 00 00 00 00 01
0x000580a0 | 00 00 00 00 10 a0 ff ff 00 00 00 60 00 00 00 61
0x000580b0 | 01 78 00 00 00 00 00 00 00 00 a0 e3 d4 13 9f e5
0x000580c0 | 08 20 97 e5 08 20 80 e5 00 00 a0 e3 a0 13 9f e5
0x000580d0 | 28 20 93 e5 28 20 80 e5 18 20 91 e5 18 20 80 e5
0x000580e0 | 38 20 91 e5 f8 20 80 e5 1c 20 91 e5 3c 20 80 e5
0x000580f0 | 3c 20 91 e5 3c 20 80 e5 0c 20 91 e5 2c 20 80 e5
0x00058100 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058110 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058120 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058130 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058140 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058150 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058160 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00058170 | ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
<snip>
-- 
#############################################################################
# "...balance the budget? Tax religion." [Jello Biafra]                     #
#############################################################################

Attachment: pgp00000.pgp
Description: signature


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