0 użytkowników i 1 Gość przegląda ten wątek.
JTAG Tools 0.5.1Copyright (C) 2002, 2003 ETC s.r.o.JTAG Tools is free software, covered by the GNU General Public License, and you arewelcome to change it and/or distribute copies of it under certain conditions.There is absolutely no warranty for JTAG Tools.Warning: JTAG Tools may damage your hardware! Type "quit" to exit!Type "help" for help.jtag> cable parallel 0x378 DLC5Initializing Xilinx DLC5 JTAG Parallel Cable III on parallel port at 0x378jtag> detectIR length: 5Chain length: 1Device Id: 01001001001001100100000000010011 Manufacturer: Intel Part: PXA250 Stepping: B2 Filename: /usr/share/jtag/intel/pxa250/pxa250jtag> detectflashbuswidth: 32CFI query: 00000154, 98CFI query: 00000154, 980000^[[AQuery identification string: Primary Algorithm Command Set and Control Interface ID Code: 0x0001 (Intel/Sharp Extended 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: 0 mV Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV Typical timeout per single byte/word program: 128 us Typical timeout for maximum-size multi-byte program: 128 us Typical timeout per individual block erase: 1024 ms Typical timeout for full chip erase: 0 ms Maximum timeout for byte/word program: 2048 us Maximum timeout for multi-byte program: 2048 us Maximum timeout per individual block erase: 16384 ms Maximum timeout for chip erase: 0 msDevice geometry definition: Device Size: 16777216 B (16384 KiB, 16 MiB) Flash Device Interface Code description: 0x0002 (x8/x16) Maximum number of bytes in multi-byte program: 32 Number of Erase Block Regions within device: 1 Erase Block Region Information: Region 0: Erase Block Size: 131072 B (128 KiB) Number of Erase Blocks: 128jtag> print No. Manufacturer Part Stepping Instruction Register --------------------------------------------------------------------------------------------- 0 Intel PXA250 B2 EXTEST BSR Active bus:*0: Intel PXA2x0 compatible bus driver via BSR (JTAG part No. 0) start: 0x00000000, length: 0x04000000, data width: 32 bit, (Static Chip Select 0) start: 0x48000000, length: 0x04000000, data width: 32 bit, (Memory Mapped registers (Memory Ctl))jtag> flashmem 0 /home/kkj/Pulpit/bootldr-pxa-2.21.12.bin Note: Supported configuration is 2 x 16 bit or 1 x 16 bit onlybuswidth: 32CFI query: 00000154, 98CFI query: 00000154, 980000Manufacturer: IntelChip: 28F128J3Aprogram:sr = 0x00AA00AAblock 0 unlockedsr = 0x00A800A8erasing block 0: 99addr: 0x00000000sr = 0x00980098flash errorjtag>
I won't go into the software setup here, however jtag-0.2.1 needs a couple of small mods before it can program the iPAQ.Download flash.c and sa1110.c and replace the corresponding files in jtag-0.2.1 source tree before compiling.
sudo apt-get update
sudo apt-get install openwince-jtag
openwince-jtag
sudo jtag
openwince-includelibreadline5-dev
cd Desktop/jtag-0.2.1sudo ./configuresudo makesudo make install