Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
Dne Pá 16. dubna 2010 09:45:09 Kaius Häggblom napsal(a): The JTAGkey-tiny dongle and board work OK, I have now successfully used the ColibriLoader software to download images to the board. ~kaius Hey, firstly, please stop top-posting (aka post below the email you are replying to or into it if you have comments to specific stuff). Kaius Häggblom wrote: The attached trace was produced by starting program: ./src/openocd -s tcl -f board/colibri_pxa320.cfg -f nterface/jtagkey.cfg -d 3 -l openocd.lo ... and issuing following commands through telnet client: reg reset halt reg cpsr 0xd3 reset halt Exactly as in original post with this issue on PXA270, writing and reading regs work OK, but anything else fails. ~kaius yvind Harboe wrote: I would strongly encourage someone who's familiar with these patches to repost them to this list so we can work on getting the changes merged. Should be in that projects and OpenOCD's interest... Ok, about this issue, I noticed weird stuff: My JTAGKey clone (FT2232 based with 74HC125 buffer and therefore 5V IO) works with: PXA320 Toradex Colibri board -- the board moreover has an internal buffer logic between the JTAG pins and the CPU PXA310 Marvell Littleton board -- the board has the JTAG pins connected directly to the CPU PXA270 Voipac board -- Directly connected too And it doesn't work with the same problems on PXA270 ZipitZ2 board. The only difference here from the Voipac board is the missing nSRST pin. Interestingly though, urJTAG works with this board with the same JTAG dongle. So it puzzles me whether it's a hardware or software issue. Cheers! ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
The JTAGkey-tiny dongle and board work OK, I have now successfully used the ColibriLoader software to download images to the board. ~kaius Kaius Häggblom wrote: The attached trace was produced by starting program: ./src/openocd -s tcl -f board/colibri_pxa320.cfg -f nterface/jtagkey.cfg -d 3 -l openocd.lo ... and issuing following commands through telnet client: reg reset halt reg cpsr 0xd3 reset halt Exactly as in original post with this issue on PXA270, writing and reading regs work OK, but anything else fails. ~kaius yvind Harboe wrote: I would strongly encourage someone who's familiar with these patches to repost them to this list so we can work on getting the changes merged. Should be in that projects and OpenOCD's interest... ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
The attached trace was produced by starting program: ./src/openocd -s tcl -f board/colibri_pxa320.cfg -f nterface/jtagkey.cfg -d 3 -l openocd.lo ... and issuing following commands through telnet client: reg reset halt reg cpsr 0xd3 reset halt Exactly as in original post with this issue on PXA270, writing and reading regs work OK, but anything else fails. ~kaius yvind Harboe wrote: I would strongly encourage someone who's familiar with these patches to repost them to this list so we can work on getting the changes merged. Should be in that projects and OpenOCD's interest... Debug: 14 3 configuration.c:45 add_script_search_dir(): adding /home/kaius/.openocd Debug: 15 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site Debug: 16 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts Debug: 17 3 configuration.c:87 find_file(): found tcl/board/colibri_pxa320.cfg Debug: 18 3 configuration.c:87 find_file(): found tcl/target/pxa3xx.cfg Debug: 19 3 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 260 Debug: 20 4 command.c:133 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 260 User : 22 4 command.c:539 command_print(): adapter_nsrst_delay: 260 Debug: 23 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 250 Debug: 24 4 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 250 User : 26 4 command.c:539 command_print(): jtag_ntrst_delay: 250 Debug: 27 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap colibri_pxa320 cpu -irlen 11 -ircapture 0x1 -irmask 0x7f -expected-id 0x0E648013 -expected-id 0x1E648013 -expected-id 0x0E649013 -expected-id 0x1E649013 -expected-id 0x2E649013 -expected-id 0x3E649013 -expected-id 0x5E642013 -expected-id 0x6E642013 -expected-id 0x7E642013 Debug: 28 4 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap colibri_pxa320 cpu -irlen 11 -ircapture 0x1 -irmask 0x7f -expected-id 0x0E648013 -expected-id 0x1E648013 -expected-id 0x0E649013 -expected-id 0x1E649013 -expected-id 0x2E649013 -expected-id 0x3E649013 -expected-id 0x5E642013 -expected-id 0x6E642013 -expected-id 0x7E642013 Debug: 29 4 tcl.c:573 jim_newtap_cmd(): Creating New Tap, Chip: colibri_pxa320, Tap: cpu, Dotted: colibri_pxa320.cpu, 24 params Debug: 30 4 tcl.c:590 jim_newtap_cmd(): Processing option: -irlen Debug: 31 4 tcl.c:590 jim_newtap_cmd(): Processing option: -ircapture Debug: 32 4 tcl.c:590 jim_newtap_cmd(): Processing option: -irmask Debug: 33 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 34 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 35 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 36 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 37 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 38 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 39 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 40 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 41 4 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id Debug: 42 4 core.c:1313 jtag_tap_init(): Created Tap: colibri_pxa320.cpu @ abs position 0, irlen 11, capture: 0x1 mask: 0x7f Debug: 43 4 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create colibri_pxa320.cpu xscale -endian little -chain-position colibri_pxa320.cpu -variant pxa3xx Debug: 44 4 command.c:133 script_debug(): command - ocd_target ocd_target create colibri_pxa320.cpu xscale -endian little -chain-position colibri_pxa320.cpu -variant pxa3xx Debug: 45 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 46 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 47 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 48 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 49 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 50 4 command.c:346 register_command_handler(): registering 'ocd_arm'... Debug: 51 4 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 52 4 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 53 4 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 54 4 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 55 5 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 56 5 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 57 5 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 58 5 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 59 5 command.c:346 register_command_handler(): registering 'ocd_xscale'... Debug: 60 5 command.c:346
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
Hello. I'm having this same problem with Colibri PXA320, Amontec jtagkey-tiny and latest openocd pulled down from git (patched with openpxa PXA320 patches). Was this issue ever solved? ~kaius ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
On Wed, Apr 14, 2010 at 4:01 PM, Kaius Häggblom ka...@oliotalo.fi wrote: Hello. I'm having this same problem with Colibri PXA320, Amontec jtagkey-tiny and latest openocd pulled down from git (patched with openpxa PXA320 patches). Hmm... why aren't these patches posted and discussed here? Seems like something that should be merged, no? -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
I would strongly encourage someone who's familiar with these patches to repost them to this list so we can work on getting the changes merged. Should be in that projects and OpenOCD's interest... -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
Was this issue ever solved? I'm not seeing this on the pxa270. I've been using OpenOCD on the 270 for several months now, staying current with code from git, and don't recall ever seeing it. I'm using a parallel port wiggler, if that could be relevant. Mike ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] PXA270: can read/write the core registers, but can't read memory and registers of the devices on chip
dswei wrote [pxa270 - I can change cpu regs, not memory, target is in USER mode] Question #1 - Did this work with an older version of OpenOCD or is this the first time you used this? Question #2 - Maybe UBOOT is turning the CPU cache on and configuring the MMU in some special way? Maybe below describes the problem? For example - maybe UBOOT has configured virtual memory to be *NOT*PRESENT* at location 0 (and others). I do not know if there is a virt-phys translation command for the pxa270. :-( I do not have a pxa270 platform to test with sorry. -Duane. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development