---
** [tickets:#281] ftdi driver problem with arm1176**
**Status:** new
**Milestone:** 0.9.0
**Created:** Tue Oct 20, 2020 10:44 AM UTC by Christian Tenllado
**Last Updated:** Tue Oct 20, 2020 10:44 AM UTC
**Owner:** nobody
Hello:
I am trying to debug a raspberry pi (bcm2835 with arm1176-jzfs) with a FTDI
C232HM-DDHSL-0 cable. Below you can find the cfg file I am using. Everything
seems well until I try to upload a file to debug, when openocd has problems
transferring all words:
Open On-Chip Debugger 0.10.0+dev-snapshot (2020-10-14-11:42)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "jtag". To override use
'transport select <transport>'.
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 100 kHz
Info : JTAG tap: raspi.arm tap/device found: 0x07b7617f (mfg: 0x0bf (Broadcom),
part: 0x7b76, ver: 0x0)
Info : found ARM1176
Info : raspi.arm: hardware has 6 breakpoints, 2 watchpoints
Info : starting gdb server for raspi.arm on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Warn : Prefer GDB command "target extended-remote 3333" instead of "target
remote 3333"
Error: 7 words out of 25 not transferred
Error: 2 words out of 2 not transferred
Info : dropped 'gdb' connection
Executing openocd with the -d3 flag, those two errors are:
Error: 317 9667 arm11_dbgtap.c:623
arm11_run_instr_data_to_core_noack_inner_default(): 14 words out of 25 not
transferred
Error: 323 9671 arm11_dbgtap.c:623
arm11_run_instr_data_to_core_noack_inner_default(): 2 words out of 2 not
transferred
it was a different run, in this case there wher 14 words not transfered, but
you can see where in the source code the error cames from.
I have checked that all the pins used for jtag are well configured in the
bcm2835. Can anyone help me to further debug the problem and in the best case
solve it?
Thanks in advance.
Christian.
openocd cfg file contents:
adapter driver ftdi
ftdi_device_desc "C232HM-DDHSL-0"
ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x0008 0x007b
ftdi_layout_signal nTRST -data 0x0010
telnet_port 4444
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME raspi
}
if { [info exists CPU_TAPID ] } {
set _CPU_TAPID $CPU_TAPID
} else {
set _CPU_TAPID 0x07b7617F
}
reset_config trst_only
adapter speed 100
jtag_ntrst_delay 500
jtag newtap $_CHIPNAME arm -irlen 5 -expected-id $_CPU_TAPID
set _TARGETNAME $_CHIPNAME.arm
target create $_TARGETNAME arm11 -chain-position $_TARGETNAME
$_TARGETNAME configure -event gdb-attach { halt }
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list._______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel