Dne Čt 21. října 2010 11:46:46 Moshe Artzi napsal(a):
> Hi,
> 
> After trying every possible option, using the last OpenOCD version and
> applied all the OpenOCD patches I got to this situation:
> 
> ******************This is the commandLine:
> 
> C:\Program Files\OpenOCD>openocd
> Open On-Chip Debugger 0.5.0-dev-snapshot (2010-10-21-10:24)
> Licensed under GNU GPL v2
> For bug reports, read
>         http://openocd.berlios.de/doc/doxygen/bugs.html
> Info : only one transport option; autoselect 'jtag'
> adapter_nsrst_delay: 260
> jtag_ntrst_delay: 250
> Info : colibri_pxa320.cpu: hardware has 2 breakpoints and 2 watchpoints
> adapter_nsrst_delay: 800
> trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
> adapter_nsrst_assert_width: 40
> adapter_nsrst_delay: 1500
> 2000 kHz
> Info : device: 4 "2232C"
> Info : deviceID: 67358712
> Info : SerialNumber: T1TA5HKBA
> Info : Description: Amontec JTAGkey A
> Info : clock speed 2000 kHz
> Info : JTAG tap: colibri_pxa320.cpu tap/device found: 0x7e642013 (mfg:
> 0x009, part: 0xe642, ver: 0x7)
> 
> 
> ******************This is the telnet:
> 
> Open On-Chip Debugger
> 
> > nand list
> 
> #0: not probed
> 
> > nand probe 0
> 
> TIMEOUT waiting for NDSR mask 00000100 ; NDSR = 00000001
> 
> TIMEOUT waiting for NDSR mask 00000100 ; NDSR = 00000001
> 
> TIMEOUT waiting for NDSR mask 00000002 ; NDSR = 00000001
> 
> unknown NAND flash device found, manufacturer id: 0xff device id: 0xe7
> Command handler execution failed
> in procedure 'nand'
> 
> 
> Can't find what is wrong with this nand memory!!!
> In the command line it recognized but when I'm trying to probe it fails
> because of TIMEOUTS.

I told you the NAND driver is buggy and that you should really use uboot to 
reflash. Any fixes for this nand driver are welcome though.

Cheers
> 
> Any assist will be welcome.
> 
> Thanks,
> 
> Moshe.
> 
> -----Original Message-----
> From: Moshe Artzi [mailto:mosh...@niron-sys.com]
> Sent: Thursday, October 21, 2010 9:51 AM
> To: 'Marek Vasut'
> Cc: 'Takács Áron'; 'Gena Chap'; 'openpxa-us...@lists.sourceforge.net';
> 'openocd-development@lists.berlios.de'; 'Øyvind Harboe' Subject: RE:
> OpenOCD on colibri PXA 320 With Amontec tiny JTAG issue
> 
> 
> Thank you for your reply,
> 
> I will give it a try and will let you know how is going.
> 
> Thank you,
> 
> Moshe.
> 
> -----Original Message-----
> From: Marek Vasut [mailto:marek.va...@gmail.com]
> Sent: Wednesday, October 20, 2010 6:49 PM
> To: Moshe Artzi
> Cc: 'Takács Áron'; 'Gena Chap'; openpxa-us...@lists.sourceforge.net;
> openocd-development@lists.berlios.de; Øyvind Harboe Subject: Re: OpenOCD
> on colibri PXA 320 With Amontec tiny JTAG issue
> 
> Dne St 20. října 2010 18:41:47 Moshe Artzi napsal(a):
> > Hehehehe,
> > 
> > Yepp, I compiled it in Cygwin for WIN32  ;)
> > 
> > Thank you very much for your reply,
> > 
> > It's OpenOCD Ver 0.4.0 (the last release I found (,
> > I hope I'm not missing something on the way,
> > There are only 3 PXA320 patches for OpenOCD am I right?
> > 
> > I just can't find the correct NAND driver for this NAND (SAMSUNG
> > K9K8G08U0B) chip.
> 
> It doesn't matter which chip you use, you have to use the pxa3xx_nand
> driver. The chip is more or less autodetected.
> 
> Here's the git repo for openocd
> git://openocd.git.sourceforge.net/gitroot/openocd/openocd
> 
> > Thanks,
> > Moshe.
> > 
> > -----Original Message-----
> > From: Marek Vasut [mailto:marek.va...@gmail.com]
> > Sent: Wednesday, October 20, 2010 6:26 PM
> > To: Moshe Artzi
> > Cc: 'Takács Áron'; 'Gena Chap'; openpxa-us...@lists.sourceforge.net
> > Subject: Re: OpenOCD on colibri PXA 320 With Amontec tiny JTAG issue
> > 
> > Dne St 20. října 2010 16:39:00 Moshe Artzi napsal(a):
> > > Hi there again,
> > > 
> > > I'm facing an issue when I'm trying to nand the u-boot image to the
> > > colibri's PXA320,
> > > 
> > > I applied the PXA 320 patches for openocd,
> > 
> > > But when I'm connecting to the target using the Jtag I get this message:
> > Hi, you should use newer version of OpenOCD . Either way though, the NAND
> > driver is a bit broken (someone should really fix it). You also need to
> > add the driver into the configuration file.
> > 
> > Btw. you compiled OpenOCD on windows ? yikes
> > 
> > > C:\Program Files\OpenOCD>openocd.exe
> > > Open On-Chip Debugger 0.4.0 (2010-10-20-14:49)
> > > Licensed under GNU GPL v2
> > > For bug reports, read
> > > 
> > >         http://openocd.berlios.de/doc/doxygen/bugs.html
> > > 
> > > jtag_nsrst_delay: 260
> > > jtag_ntrst_delay: 250
> > > Info : colibri_pxa320.cpu: hardware has 2 breakpoints and 2 watchpoints
> > > jtag_nsrst_delay: 800
> > > trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
> > > Error: No valid NAND flash driver found (pxa3xx)
> > > 
> > > Available NAND flash controller drivers:
> > >   nonce
> > >   davinci
> > >   lpc3180
> > >   orion
> > >   s3c2410
> > >   s3c2412
> > >   s3c2440
> > >   s3c2443
> > >   s3c6400
> > >   imx31
> > >   at91sam9
> > > 
> > > Info : device: 4 "2232C"
> > > Info : deviceID: 67358712
> > > Info : SerialNumber: T1TA5HKBA
> > > Info : Description: Amontec JTAGkey A
> > > Info : clock speed 6000 kHz
> > > Info : JTAG tap: colibri_pxa320.cpu tap/device found: 0x7e642013 (mfg:
> > > 0x009, part: 0xe642, ver: 0x7)
> > > 
> > > My openocd.cfg file is:
> > > 
> > > source [find interface/jtagkey-tiny.cfg]
> > > source [find target/colibri_pxa320.cfg]
> > > 
> > > Any help will be appreciated,
> > > 
> > > Thanks,
> > > 
> > > Moshe Artzi
> > > Software engineer
> > > 
> > > Niron systems
> > > Tel : 09-7407626
> > > Ex : 104
> > > Fax: 09-8651510
> > > Mobile : 050-3356312
> > > Email : mosh...@niron-sys.com
> > > Site: www.niron-sys.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to