Hi!
First of all, you're using different versions of OpenOCD for the two cases
which makes it pointless to compare them. Please use the latest released
version (0.10.0) or the current development version.
By debug log I mean you should pass "-d" on the command line to get a lot more
detailed information.
Also use only the interface and target scripts that come with OpenOCD. Don't
copy them to your working dir and don't modify them (you have a typo in one of
them, not sure if that's the cause of your problems or not). You should only
need a single config file in your working dir that can contain the
customizations you need. Something like the following, based on your existing
config:
~~~
script interface/ftdi/jtagkey2p.cfg
#script interface/ftdi/olimex-arm-usb-ocd-h.cfg
#Set jtag speed
adapter_khz 7500
### use combined on interfaces or targets that can't set TRST/SRST separately
#reset_config trst_and_srst srst_pulls_trst
#reset_config trst_only
#reset_config trst_and_srst combined
reset_config trst_and_srst separate
#reset_config srst_only
#set CHIPNAME xxxxx
script target/pxa270.cfg
# longer-than-normal reset delay. Press the on button during this time.
adapter_nsrst_delay 800
#adapter_nsrst_delay 3000
# works for P30 flash on PR100. 2 x 16bit.
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x00000000 0x4000000 2 4 $_TARGETNAME
init
reset halt
~~~
---
** [tickets:#205] Olimex ARM-USB-OCD-H Debugger PXA Programming Issue**
**Status:** new
**Milestone:** 0.9.0
**Created:** Wed Aug 22, 2018 04:15 AM UTC by Madhusudhan H Krishnasetty
**Last Updated:** Mon Aug 27, 2018 10:42 AM UTC
**Owner:** OpenOCD-Gerrit
**Attachments:**
-
[pxa_olimex.jpg](https://sourceforge.net/p/openocd/tickets/205/attachment/pxa_olimex.jpg)
(99.4 kB; image/jpeg)
Dear All,
I am very new to the family of open On-chip debugger. I need your help and
support to use OCD products which are required for my project.
I would like to explain about the openocd debugger or programmer I am using in
our project and need your valueable inputs.
* I am using Amontec JTAGkey2 programmer to program PXA and CPLD. It is working
absolutely fine without any issues.
* Since I am having only one Amontec device and there is no support available,
I found Olimex ARM-USB-OCD-H as an alternative device and started working on it.
* I verified pin confifuration between the two devices are almost the same
except pin2 in Olimex device has Vref.
* Issues I am facing with Olimex programmer:
1. When I execute the command: **openocd.exe -f pxa.cfg** following
warning and error I'm getting
* Warn : Bad value '00' captured during DR or IR scan:
Warn : check_value: 0x02
Warn : check_mask: 0x07
Error: JTAG error while writing DCSR
2. Next step is to telnet to the localhost 3333 and then typed the command
: **flash write_image erase unlock c:/pxa.nb0 **, for PXA porgramming.
* I am unable to flash PXA programming and the error message I am
getting is: Failed to receiving data
from debug handler after 1000 attempts
Execution of flash algorythm failed. Can't fall back. Please report.
error writing to flash at address 0x00000000 at offset 0x00000000
I have attached the sceenshots for the reference.
Using Amontec device PXA programming and CPLD programming writing smoothly
without any issues.
But why I am facing issues using Olimex ARM-USB-OCD-H programmer. Your kind
support is much appreciated.
Thanks and regards,
Madhusdhan H K
---
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel