Hi guys.
Seems that I'm fully debricked my brick :)
I'll tell you about it.
Douglas, this "JTAG package" contains some files for ARM debugging
software. It seemed difficult to me to use ARM software, because it's
not simple. Besides, I suspect that the ARM Multi-ICE is hardware-
software complex, which will not work through a simple parallel cable.
I spent some research there:
http://nas2000.homeunix.com/index.php?page=Thread&threadID=378
and then began to search for information about the SPI serial flash
programming.
Soon, I found the "spipgm" utility and scheme of programmator on the
Czech site:
http://rayer.ic.cz/elektro/spipgm.htm
I built this programmator, soldered to the appropriate pins on the
flash (you need to unsolder these pins from board for programming),
and programmed it easy.
See log:
------------------
F:\Temp\str8132\spipgm>SPIPGMW.EXE
SPI FlashROM Programmer 1.6 (C) 2008-2009 by Martin Rehak;
ra...@seznam.cz
Compiled by GCC 3.4.5 (mingw-vista special r3) at 22:49:21, Jan 21
2009
(Win9x/NT/2K/XP compatability)
SYNTAX: spipgm /i|r|d|e|p [filename] [address] [size] [/l=iobase] [/
d=delay]
/i - identify SPI FlashROM
/r address size - read & display data block (0x prefix = hexa
number)
/d filename - dump entire FlashROM to file
/p filename - program entire FlashROM from file (without
erase)
/e - erase entire FlashROM
/u - unlock write protection bits (may depend on WP# level)
/l= LPT port I/O base address (default is 378h - LPT1)
/d= additional delay for SPI clock pulse width [usec] (default
is 0)
LPT to SPI pin assignment (based on BSD AVR programmer):
pin 7 = D5 -> CS#
pin 8 = D6 -> SCK (CLK)
pin 9 = D7 -> MOSI (DIO)
pin 10 = ACK -> MISO (DO)
pin 18 = GND -> GND
F:\Temp\str8132\spipgm>SPIPGMW.EXE /i
SPI FlashROM Programmer 1.6 (C) 2008-2009 by Martin Rehak;
ra...@seznam.cz
Compiled by GCC 3.4.5 (mingw-vista special r3) at 22:49:21, Jan 21
2009
(Win9x/NT/2K/XP compatability)
SPI connected to LPT port at I/O base address: 378h, SCK pulse width: t
+0us
FlashROM JEDEC ID, type: 202017h
ST Microelectronic M25P64 (8MB)
Status = 00h (SRP, RES, TB , BP2, BP1, BP0, WEL, BSY)
0 0 0 0 0 0 0 0
F:\Temp\str8132\spipgm>SPIPGMW.EXE /u
SPI FlashROM Programmer 1.6 (C) 2008-2009 by Martin Rehak;
ra...@seznam.cz
Compiled by GCC 3.4.5 (mingw-vista special r3) at 22:49:21, Jan 21
2009
(Win9x/NT/2K/XP compatability)
SPI connected to LPT port at I/O base address: 378h, SCK pulse width: t
+0us
FlashROM JEDEC ID, type: 202017h
ST Microelectronic M25P64 (8MB)
Status = 02h, WE bit is enabled
Unlocking...
Status = 00h, device is unlocked now.
F:\Temp\str8132\spipgm>SPIPGMW.EXE /e
SPI FlashROM Programmer 1.6 (C) 2008-2009 by Martin Rehak;
ra...@seznam.cz
Compiled by GCC 3.4.5 (mingw-vista special r3) at 22:49:21, Jan 21
2009
(Win9x/NT/2K/XP compatability)
SPI connected to LPT port at I/O base address: 378h, SCK pulse width: t
+0us
FlashROM JEDEC ID, type: 202017h
ST Microelectronic M25P64 (8MB)
Status = 02h, WE bit is enabled
Please wait... done.
F:\Temp\str8132\spipgm>SPIPGMW.EXE /p age-v01r03.bin
SPI FlashROM Programmer 1.6 (C) 2008-2009 by Martin Rehak;
ra...@seznam.cz
Compiled by GCC 3.4.5 (mingw-vista special r3) at 22:49:21, Jan 21
2009
(Win9x/NT/2K/XP compatability)
SPI connected to LPT port at I/O base address: 378h, SCK pulse width: t
+0us
FlashROM JEDEC ID, type: 202017h
ST Microelectronic M25P64 (8MB)
Programming page at: 007FFF00h (100%)
------------------
First boot of my former brick (serial-console):
------------------
U-Boot 1.1.4 (Nov 27 2007 - 09:29:18)
U-Boot code: 00000000 -> 0001AF80 BSS: -> 0001FEF4
IRQ Stack: 00e6ff7c
FIQ Stack: 00e6ef7c
RAM Configuration:
Bank #0: 00000000 32 MB
Flash Manufacturer: ST
Flash: 8 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
PLL clock at 250MHz
CPU clock at 250MHz
AHB clock at 125MHz
APB clock at 62MHz
Check Link Status ............Down
Star Equuleus #
------------------
Now I want to go back in time. I began to modify firmware, because I
did not meet the speed of the device over the LAN (about 3 Mb/s R/W).
I thought that if I install Debian on it, the speed will increase,
because Yohanes on tinyhack forum said that he put a new network
driver to his Debian-firmware, and speed increased.
I want to ask, if it really can increase the speed, if I put Debian on
device?