mindbender wrote:
yes! i always ran/run into that problem. i always used ubuntu....the jtagtools tarball was compiled with suse...i don`t know if that makes a difference.
i never found the reason for that....the only workaround i found out is to copy & paste all the lines from the file motorola/mpc8241/1.2 directly into the jtag-tools-shell.
then it works.
I had to think about this for a second... so I just cut and pasted the entire page in one fell swoop...
I'm using URJTAG 0.8 in Ubuntu Hardy ... it is currently flashing ... we'll see if it works...
EDIT:
Code:
jtag
UrJTAG 0.8 #1067
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 parallel 0x378 WIGGLER
Note: the 'cable' command syntax changed, please read the help text
Initializing parallel port at 0x378
jtag> cable help
Unknown cable type: help
jtag> help
Command list:
quit exit and terminate this session
help display this help
frequency setup JTAG frequency
cable select JTAG cable
reset reset JTAG chain
discovery discovery of unknown parts in the JTAG chain
detect detect parts on the JTAG chain
signal define new signal for a part
scan read BSR and show changes since last scan
salias define an alias for a signal
bit define new BSR bit
register define new data register for a part
initbus initialize bus driver for active part
print display JTAG chain list/status
part change active part for current JTAG chain
bus change active bus
instruction change active instruction for a part or declare new instruction
shift shift data/instruction registers through JTAG chain
dr display active data register for a part
get get external signal value
test test external signal value
shell shell cmmd
set set external signal value
endian set/print endianess
peek read a single word
poke write a single word
readmem read content of the memory and write it to file
writemem write content of file to the memory
detectflash detect parameters of flash chips attached to a part
flashmem burn flash memory with data from a file
eraseflash erase flash memory by number of blocks
script run command sequence from external file
include include command sequence from external repository
svf execute svf commands from file
bsdl manage BSDL files
debug debug jtag program
Type "help COMMAND" for details about a particular command.
jtag> quit
root@bitbaker-i686:/usr/src/urjtag-0.8# jtag
UrJTAG 0.8 #1067
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> help cable
Usage: cable DRIVER [DRIVER_OPTS]
Select JTAG cable type.
DRIVER name of cable
DRIVER_OPTS options for the selected cable
Type "cable DRIVER help" for info about options for cable DRIVER.
List of supported cables:
ARCOM Arcom JTAG Cable
ByteBlaster Altera ByteBlaster/ByteBlaster II/ByteBlasterMV Parallel Port Download Cable
DLC5 Xilinx DLC5 JTAG Parallel Cable III
EA253 ETC EA253 JTAG Cable
EI012 ETC EI012 JTAG Cable
IGLOO Excelpoint IGLOO JTAG Cable
KeithKoep Keith & Koep JTAG cable
Lattice Lattice Parallel Port JTAG Cable
MPCBDM Mpcbdm JTAG cable
TRITON Ka-Ro TRITON Starterkit II (PXA255/250) JTAG Cable
WIGGLER Macraigor Wiggler JTAG Cable
WIGGLER2 Modified (with CPU Reset) WIGGLER JTAG Cable
jtag> cable WIGGLER help
Usage: cable WIGGLER parallel PORTADDR [TDO,TRST,TDI,TCK,TMS,SRESET]
or: cable WIGGLER ppdev PPDEV [TDO,TRST,TDI,TCK,TMS,SRESET]
PORTADDR parallel port address (e.g. 0x378)
PPDEF ppdev device (e.g. /dev/parport0)
TDO, ... parallel port bit number, prepend '#' for inversion
default is '7,4,3,2,1,#0'
jtag> cable WIGGLER parallel 0x378
Initializing parallel port at 0x378
jtag> detect
IR length: 8
Chain length: 1
Device Id: 0 (0x0000000000000000)
chain.c(129) Part 0 without active instruction
chain.c(160) Part 0 without active instruction
chain.c(129) Part 0 without active instruction
jtag> endian big
...blah blah ...
jtag> bit 1 B 0 AD13 21 0 Z
jtag> bit 0 B 0 AD12 21 0 Z
jtag>
jtag> initbus mpc824x
jtag>
jtag> instruction SAMPLE/PRELOAD
jtag> shift ir
jtag> shift dr
jtag> dr
110101100011110011011111000010000000000000000000000000000000000000000000100000001111111111111111111111111111010101100000000000000000000000000000000010000000000000000000000000000000001111111000000001000011110000011101111111111110001000011111111111111110000111100000000000011111101110111111111111010101111111010101011011000101100000001001011111110101010000001000000111001010111110001000101010011101111111111111000000000000000000000000000000000111111111010110111010001110010001111101111110011111111111111111111
jtag> instruction EXTEST
jtag> shift ir
jtag> initbus mpc824x
jtag> detectflash 0xFFC00000
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: 11500 mV
Vpp [Programming] Supply Maximum Write/Erase voltage: 12500 mV
Typical timeout per single byte/word program: 16 us
Typical timeout for maximum-size multi-byte program: 0 us
Typical timeout per individual block erase: 1024 ms
Typical timeout for full chip erase: 0 ms
Maximum timeout for byte/word program: 512 us
Maximum timeout for multi-byte program: 0 us
Maximum timeout per individual block erase: 16384 ms
Maximum timeout for chip erase: 0 ms
Device geometry definition:
Device Size: 4194304 B (4096 KiB, 4 MiB)
Flash Device Interface Code description: 0x0002 (x8/x16)
Maximum number of bytes in multi-byte program: 1
Number of Erase Block Regions within device: 4
Erase Block Region Information:
Region 0:
Erase Block Size: 16384 B (16 KiB)
Number of Erase Blocks: 1
Region 1:
Erase Block Size: 8192 B (8 KiB)
Number of Erase Blocks: 2
Region 2:
Erase Block Size: 32768 B (32 KiB)
Number of Erase Blocks: 1
Region 3:
Erase Block Size: 65536 B (64 KiB)
Number of Erase Blocks: 63
jtag> flashmem 0xFFF00000 u-boot-lsppchd-flash-1.2.0-r2.bin
Chip: AMD Flash
Manufacturer: ST/Samsung
Chip: Unknown (ID 0x0000)
Protected: 00ca
program:
flash_unlock_block 0xFFF00000 IGNORE
block 51 unlocked
flash_erase_block 0xFFF00000
flash_erase_block 0xFFF00000 DONE
erasing block 51: 0
flash_unlock_block 0xFFF10000 IGNORE
block 52 unlocked
flash_erase_block 0xFFF10000
flash_erase_block 0xFFF10000 DONE
erasing block 52: 0
flash_unlock_block 0xFFF20000 IGNORE
block 53 unlocked
flash_erase_block 0xFFF20000
flash_erase_block 0xFFF20000 DONE
erasing block 53: 0
addr: 0xFFF2BB0000
verify:
verify error:
read: 0x00000000
expected: 0x00000027
No joy yet.
_________________
LS1 (foonas, nfs,
Tranmission &
p910nd print server,
Firefly for my
Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on
davysweather.dyndns.org lately...
=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'