All pastes #1026901 Raw Edit

reflashing of NGW100 with UrJTAG

public text v1 · immutable
#1026901 ·published 2008-05-23 09:21 UTC
rendered paste body
UrJTAG 0.8 #1247
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008 Kolja Waschk and the respective authors

UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.

WARNING: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.

jtag> cable wiggler2 ppdev /dev/parport0
Initializing ppdev port /dev/parport0
jtag> detect
IR length: 5
Chain length: 1
Device Id: 00100001111010000010000000111111 (0x0000000021E8203F)
  Manufacturer: Atmel
  Part(0):         AT32AP7000
  Stepping:     C
  Filename:     /usr/local/share/urjtag/atmel/at32ap7000/at32ap7000
jtag> instruction AVR_RESET
jtag> dr 11111
11111
jtag> shift ir
jtag> shift dr
jtag> dr 00011
00011
jtag> shift ir
jtag> shift dr
jtag> initbus avr32 half
jtag> detectflash 0
Query identification string:
        Primary Algorithm Command Set and Control Interface ID Code: 0x0002 (AMD/Fujitsu Standard Command Set)
        Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null)
Query system interface information:
        Vcc Logic Supply Minimum Write/Erase or Write voltage: 2700 mV
        Vcc Logic Supply Maximum Write/Erase or Write voltage: 3600 mV
        Vpp [Programming] Supply Minimum Write/Erase voltage: 9000 mV
        Vpp [Programming] Supply Maximum Write/Erase voltage: 10000 mV
        Typical timeout per single byte/word program: 16 us
        Typical timeout for maximum-size multi-byte program: 4 us
        Typical timeout per individual block erase: 512 ms
        Typical timeout for full chip erase: 65536 ms
        Maximum timeout for byte/word program: 256 us
        Maximum timeout for multi-byte program: 64 us
        Maximum timeout per individual block erase: 8192 ms
        Maximum timeout for chip erase: 1048576 ms
Device geometry definition:
        Device Size: 8388608 B (8192 KiB, 8 MiB)
        Flash Device Interface Code description: 0x0001 (x16)
        Maximum number of bytes in multi-byte program: 4
        Number of Erase Block Regions within device: 2
        Erase Block Region Information:
                Region 0:
                        Erase Block Size: 8192 B (8 KiB)
                        Number of Erase Blocks: 8
                Region 1:
                        Erase Block Size: 65536 B (64 KiB)
                        Number of Erase Blocks: 127
Primary Vendor-Specific Extended Query:
        Major version number: 1
        Minor version number: 0
        Address Sensitive Unlock: Bad value
        Erase Suspend: Read only
        Sector Protect: Not supported
        Sector Temporary Unprotect: Supported
        Sector Protect/Unprotect Scheme: Bad value
        Simultaneous Operation: 3 sectors
        Burst Mode Type: Bad value
        Page Mode Type: Bad value
jtag> flashmem 0 u-boot-atngw100.bin
Chip: AMD Flash
        Manufacturer: Atmel
        Chip: AT49BW642D
        Protected: 0090
program:
flash_unlock_block 0x00000000 IGNORE

block 0 unlocked
flash_erase_block 0x00000000
............flash_erase_block 0x00000000 DONE
erasing block 0: 0
flash_unlock_block 0x00002000 IGNORE

block 1 unlocked
flash_erase_block 0x00002000
.............flash_erase_block 0x00002000 DONE
erasing block 1: 0
flash_unlock_block 0x00004000 IGNORE

block 2 unlocked
flash_erase_block 0x00004000
.............flash_erase_block 0x00004000 DONE
erasing block 2: 0
flash_unlock_block 0x00006000 IGNORE

block 3 unlocked
flash_erase_block 0x00006000
............flash_erase_block 0x00006000 DONE
erasing block 3: 0
flash_unlock_block 0x00008000 IGNORE

block 4 unlocked
flash_erase_block 0x00008000
..............flash_erase_block 0x00008000 DONE
erasing block 4: 0
flash_unlock_block 0x0000A000 IGNORE

block 5 unlocked
flash_erase_block 0x0000A000
............flash_erase_block 0x0000A000 DONE
erasing block 5: 0
flash_unlock_block 0x0000C000 IGNORE

block 6 unlocked
flash_erase_block 0x0000C000
.............flash_erase_block 0x0000C000 DONE
erasing block 6: 0
flash_unlock_block 0x0000E000 IGNORE

block 7 unlocked
flash_erase_block 0x0000E000
...............flash_erase_block 0x0000E000 DONE
erasing block 7: 0
flash_unlock_block 0x00010000 IGNORE

block 8 unlocked
flash_erase_block 0x00010000
...................................................flash_erase_block 0x00010000 DONE
erasing block 8: 0
addr: 0x0001FFFE
verify:
addr: 0x0001FFFE
Done.
jtag> quit