When I click on the link for this issue I get "Forbidden - Sorry, the
permissions for this page don't allow you to access it."
I can see all other issues/tickets.
Any ideas why this one is restricted?
Thanks
________________________________
From: Madhusudhan H Krishnasetty via OpenOCD-devel
<openocd-devel@lists.sourceforge.net>
Sent: Monday 27 August 2018 11:42
To: openocd-devel@lists.sourceforge.net
Cc: Madhusudhan H Krishnasetty
Subject: [OpenOCD-devel] [openocd:tickets] #205 Olimex ARM-USB-OCD-H Debugger
PXA Programming Issue
Thanks a lot for your suggestion.
I will once again try to put all the information as you suggested.
What does pxa.cfg contain?
PXA.cfg file contains the openoncd configuration files. Basically, this file
contains the information about telnet ports and the interface like JTAGKey2,
olimex-arm-usb-ocd-h configuration file.
How do you select between JTAGkey and ARM-USB-OCD-H?
The interface between JTAGKey2/ARM-USB-OCD-H and the target devices through
USB. At a time I am using one device to communicate to PXA270.
What is the full debug log (-d) of openocd in a successful case using the
JTAGkey?
Step by step procedure to execute openocd command:
1.Open cmd prompt and change the directory to openocd
2. execute openocd -f pxa.cfg, target state will come to halt.
3. open another command prompt and telnet to localhost using the command:
telnet localhost 3333
4. open onchip debugger will open and then issue the command: flash write_image
erase unlock c:/pxa.nb0
5. Writing to flash starts and compeltes writing file from c:/pxa.nb0.
What is the full debug log when it fails, using the ARM-USB-OCD-H?
Step by step procedure to execute openocd command:
1.Open cmd prompt and change the directory to Openocd_olimex
2. execute openocd -f pxa.cfg, target state will come to halt.
3. open another command prompt and telnet to localhost using the command:
telnet localhost 3333
4. open onchip debugger will open and then issue the command: flash write_image
erase unlock c:/pxa.nb0
5. Writing to flash starts and compeltes writing file from c:/pxa.nb0.
I also attached necessary configuration files which are used for programming
PXA270.
Please let me know if you need any further information.
Regards,
Madhusudhan H K
Attachments:
*
Sourceforge_forum.zip<https://sourceforge.net/p/openocd/tickets/_discuss/thread/ae5a2ac6/a565/attachment/Sourceforge_forum.zip>
(9.1 kB; application/x-zip-compressed)
________________________________
[tickets:#205]<https://sourceforge.net/p/openocd/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 06:49 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