How to useOlimexs ARM JTAG together with WinARM?

OP #1174720
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
OP #1174721
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?
OP #1174723
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
#1413421
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.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now