Need bin of AEB-1 Boot (Arm Evaluation Board 1 / LH77790B CPU)

Hi 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 anyone confirm this or can anyone send new boot.bin or even some suggestions/hints?

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

What I need is some version later than 0.01 "ARM Evaluation Board Boot Monitor 0.01 (19 APR 1998)"

Thanks in advance With best regards Carlos Sobrinho

PS1:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If anyone want's the JTAG code I'll post it. Currently it supports serial feedback and $1 USD building a wiggler. Just connect it to pppc_arm_rgdb using jtag cable and run my program...

PS2:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

###################################################################### # 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

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

All OK !!! JTAG Flash Programmer v1.7 (Jan 31 2004) (c) Carlos Sobrinho

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
--
#######################################################################
# Statisticians probably do it.                                       #
#######################################################################
Reply to
Carlos Sobrinho
Loading thread data ...

I got some mail today but I had a system crash and lost it. Could the person that send the mail send it again?

Sorry for the trouble With best regards Carlos Sobrinho

Reply to
Carlos Sobrinho

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.