Greg Ungerer <gerg@...> writes: > > In terms of adapter setup I had: > > reset_config trst_and_srst > adapter_nsrst_delay 200 > jtag_ntrst_delay 200 > adapter_khz 1000 > > I am using an Amontec JTAGkey. > > I just tried using a git head of openocd, and it seems to not work as > well as my older openocd on this target. > > Although I can still connect, I can't access memory, getting errors like: > > > mdw 0 0x20 > Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction - aborting > JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed > MEM_AP_CSW 0x800000c2, MEM_AP_TAR 0xc230108c > Failed to read memory and, additionally, failed to find out where > JTAG-DP STICKY ERROR > MEM_AP_CSW 0x800000c2, MEM_AP_TAR 0xc230108c > JTAG-DP STICKY ERROR > MEM_AP_CSW 0x800000c2, MEM_AP_TAR 0xc230108c > error > > Regards > Greg
Hi Greg, I did not manage to get it working, even after recompiling openocd from sources (using 0.8.0-rc1, because 0.7.0 did not have target/armada370.cfg). I am using an olimex-arm-usb-ocd-h probe, with adapter_khz 5000. I am not sure this JTAG probe actually supports the Armada 370. A bit off topic, it is however possible reflash the bootloader from an empty flash, using the UART programming procedure at startup (from the BootROM). There is a tool to perform this automatically, I think Thomas Petazzoni added support for this a year ago (http://www.spinics.net/lists/u-boot-v2/msg14268.html). In order to do this, one needs to get hold of the source code from http://barebox.org/ then compile kwboot and use: kwboot -b <uboot_uart_file> -t -B 115200 <serial device e.g: /dev/ttyS0> uboot_uart_file is the U-Boot binary (can be downloaded as binary from Marvell or created from a U-Boot compiled from sources) prefixed with some UART-specific information. Regards, Lionel Ains ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
