Re: [openwince-list] JTAG: Problems detecting flash

From: Jerome Debard <jdebard_at_vmetro.no>
Date: Fri, 19 Nov 2004 12:40:49 +0100

Hi Gert,

From the output you sent, it looks like your flash interface is not working
properly. Sometimes the manufacturer id is correct (0x89, Intel if i'm not
wrong), other times it's wrong. Did you try to check the integrity of the
JTAG chain signals ? It's important that the signals TCK, TDI, TDO and TMS
are clean (especially TCK).
You could also test with a lower frequency (see frequency and help
functions).
You could also test the function detect several times to see if the
detectflash function behavior can be reproduced with other operations.

I'm not an expert in the JTAG program but beeing able to use the readmem
function does not mean to me that your flash interface works fine. If the
data read from the flash is what you expect then yes, that could be the
case.

Hope this help,

Jerome.

On Friday 19 November 2004 10:46, Gert Menke wrote:
> Hi,
>
> I have a bricked iPaq h5450 here and want to reflash the bootloader. But
> the jtag tool cannot detect the flash memory, so I cannot write to it. I
> can, however, read from the flash memory.
>
> Earlier this year I could restore another h5450 and I did not have this
> problem.
> I guess that there exist different revisions of this iPaq model, because
> this iPaq has a small blue wire sondered on the backside of the
> mainboard, near the SIM-card connector, and my earlier iPaq did not have
> this.
>
> This is a typical JTAG session:
> (Note that the output of detectflash differs.)
>
> -----8<----- cut here ----------
> JTAG Tools 0.5.1
> Copyright (C) 2002, 2003 ETC s.r.o.
> JTAG Tools 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 JTAG Tools.
>
> Warning: JTAG Tools may damage your hardware! Type "quit" to exit!
>
> Type "help" for help.
>
> jtag> cable parallel 0x378 DLC5
> Initializing Xilinx DLC5 JTAG Parallel Cable III on parallel port at
> 0x378 jtag> detect
> IR length: 5
> Chain length: 1
> Device Id: 01001001001001100100000000010011
> Manufacturer: Intel
> Part: PXA250
> Stepping: B2
> Filename: /usr/share/jtag/intel/pxa250/pxa250
> jtag> detectflash
> jedec_detect: mid ffffffff, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid ffffffff, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid ffffffff, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid 89, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid 0, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid 0, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid ffffffff, did ffffffff
> Flash not found!
> jtag> detectflash
> jedec_detect: mid 0, did ffffffff
> Flash not found!
> jtag> readmem 0 0x40000 test.img
> address: 0x00000000
> length: 0x00040000
> reading:
> addr: 0x00040000
> Done.
> -----8<----- cut here ----------
>
> I'd be glad if anyone could help me.
>
> Thanks in advance,
> Gert
>
Received on Fri Nov 19 2004 - 06:40:57 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT