EmbDev.net

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


von Dim A. (kobe8)


Rate this post
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

von Dim A. (kobe8)


Rate this post
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?

von Michael F. (mifi)


Rate this post
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

von Dim A. (kobe8)


Rate this post
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

von FordP (Guest)


Rate this post
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.

von Jon K. (jonk)


Rate this post
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.

von Jon K. (jonk)


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

von Alex Wito (Guest)


Rate this post
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.

von Ar L. (al2757)


Rate this post
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.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.