Welcome, Guest

Author Topic: Problem with ARM-USB-OCD and SAM7-EX256  (Read 3396 times)

boseji

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Problem with ARM-USB-OCD and SAM7-EX256
« on: September 23, 2013, 04:40:06 AM »
Hello,

I have a ARM-USB-OCD and a SAM7-EX256 board.
The board is powered via USB and the ARM-USB-OCD driver has been installed as stated in the site.
The OlimexODS version 9.0 - rev.K with OpenOCD version 0.6.1.

I am having the following issue with openOCD:


The debug session is unable to start.
Command used:
Code: [Select]
openocd-0.6.1.exe -f ../scripts/interface/olimex-arm-usb-ocd.cfg -f ../scripts/target/sam7x256.cfg
Kindly help me out with this.

Warm Regards,
Boseji

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1812
  • Karma: +46/-2
Re: Problem with ARM-USB-OCD and SAM7-EX256
« Reply #1 on: September 24, 2013, 03:41:59 PM »
Hello boseji,

Why aren't you using the drop-down menu in the Eclipse package? The OpenOCD is part of the OlimexODS... Just open the project for SAM7-EX256, then select the ARM-USB-OCD from the drop down menu (near the green play button with the suitcase). Finally in the arrow next to the green bug symbol select the top debug configuration. Then all information is available in the console screen IN THE OLIMEX ODS.

If you are going for stand-alone use of the OpenOCD then I recommend you to download version 0.7.0 (from Freddie Chopin's web site probably) and then search for \scripts\board\olimex_sam7_ex256.cfg - there is a specific configuration for Olimex SAM7-EX256 in OpenOCD.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex