How to useOlimexs ARM JTAG together with WinARM?

OP #1174720
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
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?
Guest
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.
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

A question of your own? This thread is over 19 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.