Dne St 15. září 2010 13:28:56 Moshe Artzi napsal(a): > Thanks for your fast reply, > > I invoked those commands and on both commands I get the same error message. > > Copy paste from the telnet console: > > reset halt; load_image iplntim.bin 0x5c040000; resume 0x5c040000 > > JTAG tap: pxa3xx.cpu tap/device found: 0x6e642013 (mfg: 0x009, part: > 0xe642, ver: 0x6) BUG: can't assert SRST > target state: halted > target halted in ARM state due to debug-request, current mode: Supervisor > cpsr: 0x080000d3 pc: 0x00000000 > MMU: disabled, D-Cache: disabled, I-Cache: disabled > (processor reset) > 1472 bytes written at address 0x5c040000 > downloaded 1472 bytes in 0.015625s (92.000 kb/s) > Failed to receiving data from debug handler after 1000 attempts > Command handler execution failed > in procedure 'resume' called at file "command.c", line 650 > called at file "command.c", line 361 > > > reset halt; load_image u-boot.bin 0x5c040000;resume 0x5c040000 > > JTAG tap: pxa3xx.cpu tap/device found: 0x6e642013 (mfg: 0x009, part: > 0xe642, ver: 0x6) BUG: can't assert SRST > target state: halted > target halted in ARM state due to debug-request, current mode: Supervisor > cpsr: 0x880000d3 pc: 0x00000000 > MMU: disabled, D-Cache: disabled, I-Cache: disabled > (processor reset) > 205620 bytes written at address 0x5c040000 > downloaded 205620 bytes in 1.000000s (200.801 kb/s) > Failed to receiving data from debug handler after 1000 attempts > Command handler execution failed > in procedure 'resume' called at file "command.c", line 650 > called at file "command.c", line 361 >
There was something similar on OpenOCD mailing list, CCing. Check "Re: [Openocd-development] PXA question" in their mailing list archive. btw. I have this weird hack applied on my openocd, but it's certainly incorrect :) It helped me with some issues some time ago: diff --git a/src/target/xscale.c b/src/target/xscale.c index 7cdff21..45e5b9a 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -759,6 +759,7 @@ static int xscale_update_vectors(struct target *target) } else { + continue; retval = target_read_u32(target, 0xffff0000 + 4*i, &xscale->high_vectors[i]); if (retval == ERROR_TARGET_TIMEOUT) return retval; @@ -778,6 +779,7 @@ static int xscale_update_vectors(struct target *target) } else { + continue; retval = target_read_u32(target, 0x0 + 4*i, &xscale- >low_vectors[i]); if (retval == ERROR_TARGET_TIMEOUT) return retval; > > Seems like the download process failed > any ideas what can cause this failure ? > > Thanks, > Moshe. > > -----Original Message----- > From: Marek Vasut [mailto:marek.va...@gmail.com] > Sent: Wednesday, September 15, 2010 12:34 PM > To: Moshe Artzi > Cc: Gena Chap; openpxa-us...@lists.sourceforge.net > Subject: Re: U-Boot on PXA 320 > > Dne St 15. září 2010 12:18:58 Moshe Artzi napsal(a): > > Hi Marek, thank you for your reply, > > > > I decided to go with the OpenOCD solution you suggested me, > > I got OpenOCD working and I'm able to communicate with the flash memory > > and cpu using the jtag by telnet. > > > > But now the command "nand list" is not working so I can't perform the > > "probe" command in order to "nand" (flash) The PXA 320 Memory with the > > "iplntim.bin" and "u-boot.bin", > > Well, load iplntim.bin into SRAM and execute it. (reset halt ; load_image > iplntim.bin 0x5c040000 ; resume 0x5c040000). > > Then load uboot the same way (reset halt; load_image uboot.bin 0x5c040000; > resume 0x5c040000). > > Between these two steps, you must not power-cycle the board. Once done, > uboot should appear on the screen. Then you can reflash using uboot. > > To download the files faster, run this in openocd right after uboot is > running: > > halt; load_image iplntim.bin 0xa0000000 ; load_image 0xa0020000 ; resume > > And then in uboot: > > nand scrub ; nand erase 0x0 0x60000 ; nand write 0xa0000000 0x0 0x60000 > > Should work. > > Also please keep CC so people wont go asking me this question again and > again > > > Are there any steps I have to perform before invoking the "nand list" > > command? > > > > Any help will be appreciated, > > > > Thanks a lot, > > > > Moshe. > > > > -----Original Message----- > > From: Marek Vasut [mailto:marek.va...@gmail.com] > > Sent: Tuesday, September 14, 2010 10:47 AM > > To: Moshe Artzi > > Cc: Gena Chap; openpxa-us...@lists.sourceforge.net > > Subject: Re: U-Boot on PXA 320 > > > > Dne Út 14. září 2010 10:24:45 Moshe Artzi napsal(a): > > > Hi Marek, > > > > Hi, > > > > > I'm Moshe - S/W engineer > > > > > > > > > > > > I'm using Toradex Colibri PXA 320 CPU on Colibri Evaluation Board Rev > > > .2.1. > > > > > > > > > > > > I'm trying to run the U-Boot version, > > > > > > After I'm flash the Memory with the files "iplntim.bin"(in address > > > 0x00000000) and "u-boot.bin"(in address 0x00020000), > > > > > > according to the ReadMe file, the U-Boot not starting up , not on the > > > screen > > > > > > And not on the serial port (115200 Bd, 8N1). > > > > > > > > > > > > I'm flash the bins files using the colibri Loader S/W and the Amontec > > > JTAGkey Tiny. > > > > Could you try with OpenOCD or Marvell XDB? I had issues with colibri > > loader. > > > > > Any help will be appreciated, > > > > Cheers > > > > > Best regards, > > > > > > > > > > > > Moshe Artzi > > > > > > Software engineer > > > > > > > > > > > > Niron systems > > > > > > Tel : 09-7407626 > > > > > > Ex : 104 > > > > > > Fax: 09-8651510 > > > > > > Mobile : 050-3356312 > > > > > > Email : <mailto:mosh...@niron-sys.com> mosh...@niron-sys.com > > > > > > Site: <http://www.niron-sys.com/> www.niron-sys.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development