---
** [tickets:#246] load fail olimex arm usb tiny with ftdi**
**Status:** new
**Milestone:** 0.9.0
**Labels:** olimex ftdi load fail
**Created:** Fri Jul 26, 2019 08:58 PM UTC by Christian Tenllado
**Last Updated:** Fri Jul 26, 2019 08:58 PM UTC
**Owner:** nobody
I am using the olimex arm usb tiny h jtag dongle to program a raspberry pi 1
rev B in baremetal. When using the openocd 0.9 vesion, compiled with support
for the ft2232 drivers it works perfectly. However, this driver is no longer
available on openocd 0.10 version. When I try with the ftdi drivers, openocd
connects, gdb connects also with openocd, but when I try to load the binary
into memory the command fails. The error on gdb console is:
(gdb) load
Loading section .text, size 0x64 lma 0x8000
Loading section .data, size 0x8 lma 0x8064
Load failed
The error message in the openocd terminal is:
Error: 15 words out of 25 not transferred
Error: 2 words out of 2 not transferred
The content of my openocd conf file is:
source [find interface/ftdi/olimex-arm-usb-tiny-h.cfg]
adapter_khz 1000
reset_config trst_only
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
}
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 }
I have used both the release openocd 0.10 from debian and the bleading edge
compiled version from the git repo. Both the same behaviour.
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net 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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel