EmbDev.net

Forum: ARM programming with GCC/GNU tools How to useOlimexs ARM JTAG together with WinARM?


Author: Dim Alex (kobe8)
Posted on:

Rate this post
0 useful
not useful
I'm trying to use the WinARM package together with the ARM JTAG and the
SAM7-P256 board from Olimex.
The thing that I want to accomplish is to be able to load FW using
Programmers Notepad, by pressing Ctrl+F7, and ARM JTAG. Would this be
possible?
As a start point I'm using the at91sam7s_example_gamma example project
from the WinARM's examples. I did some modifications in the makefile for
this project in order to use the ARM JTAG:FLASH_TOOL = OPENOCD; FORMAT =
binary;
The problem is that I don't know how to use the open OCD.
In the make file of the 'gamma' project is defined the following path to
a CFG file:
C:\WinARM\utils\opendoc\openocd_svn59\openocd.exe -f oocd_sam7_flash.cfg
This config file is missing from my WinARM package (it is not in
WinARM\utils\Opendoc\)
I saw that Martin Thomas has written a good tutorial how to use ARM-JTAG
for Debugging with ocdremote and gdb/Insight-gdb.
So, my question is is it possible to use the same tools (PN, WinARM,
OpenOCD, Olimex JTAG) together as a tool chain, but for the Atmel's SAM7
family? If yes, some tips how to do it are highly appreciate.
Thanks in advance.

Dimitar

Author: Dim Alex (kobe8)
Posted on:

Rate this post
0 useful
not useful
This is what I get when trying to use the CFG file that is inside my
WinARM package:

Programming with OPENOCD
C:\Program Files\Atmel\WinARM\utils\OpenOCD\arm7_wig.cfg
process_begin: CreateProcess((null), C:\Program
Files\Atmel\WinARM\utils\OpenOCD\arm7_wig.cfg, ...) failed.
make (e=193): Error 193make.exe: *** [program] Error 193

Any ideas why is that?

Author: Michael Fischer (mifi)
Posted on:

Rate this post
0 useful
not useful
Hello Dimitar,

the openocd version from Olimex is a very old one.

Take a look here:

http://www.yagarto.de/howto/openocd/index.html

This is version r115.

Best regards,

Michael

Author: Dim Alex (kobe8)
Posted on:

Rate this post
0 useful
not useful
Michael Fischer wrote:
> Hello Dimitar,
>
> the openocd version from Olimex is a very old one.
>
> Take a look here:
>
> http://www.yagarto.de/howto/openocd/index.html
>
> This is version r115.
>
> Best regards,
>
> Michael

Hello Michael,

I'm using the OpenOCD version from the WinARM package, not from the
Olimex page. Actually I don't know if there is any on the Olimex's page.

Dimitar

Author: FordP (Guest)
Posted on:

Rate this post
0 useful
not useful
Use the latest version from the Yagarto site.

If you still have problems you may want to post in the offical Open OCD
forum over at http://www.sparkfun.com/.

Tsvetan from Olimex also answers posts there so they should get you
working !

Good Luck.

Author: Jon Keys (jonk)
Posted on:

Rate this post
0 useful
not useful
Hi,

  I would like to perform boundary scan on ARM micro, is there any tool
working with cables like XIlinx Parallel ? I have found
http://www.jtagtest.com/, but the software does not recognize it.

  What I need is just to be able to control pin states and record
waveform.

Author: Jon Keys (jonk)
Posted on:

Rate this post
0 useful
not useful
Sorry, the link has to be http://www.jtagtest.com - the comma does not
belong there.

Author: Alex Wito (Guest)
Posted on:

Rate this post
0 useful
not useful
You can perform boundary-scan on ARM (and any JTAG-compliant device) 
with TopJTAG Probe software(http://www.topjtag.com/probe/). It supports 
many popular JTAG cables including Xilinx Parallel Cable III and IV.

Author: Ar Lc (al2757)
Posted on:

Rate this post
0 useful
not useful
Hi there,
 This:
>C:\Program Files\Atmel\WinARM\utils\OpenOCD\arm7_wig.cfg
>process_begin: CreateProcess((null), C:\Program
>Files\Atmel\WinARM\utils\OpenOCD\arm7_wig.cfg, ...) failed.
>make (e=193): Error 193make.exe: *** [program] Error 193

  Looks to me as a make problem and not an openOCD problem. You may need 
to configure the environment varibles to the right path where make is 
located.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.