I have purchased Olimex’ SAM7-P256 board (with AT91SAM7S256) together with ARM-USB-OCD JTAG-Interface but I cannot flash the microcontroller.
I have installed the toolchain from YAGARTO and used Jim Lynch’s very detailed manual, but for some reason it still doesn’t work.
Using Jim’s example files (“demo_at91sam7_blink_flash”), I can build the files for the uC, but as soon as I want to transfer the files into Flash-memory, the answer in the “console”-view is:
make program
Flash Programming with OpenOCD…
'C:\Programme\openocd-r247\bin'openocd-ftd2xx.exe -f 'C:\Programme\openocd-r247\bin'at91sam7s256-armusbocd-flash-program.cfg # program the onchip FLASH here
/usr/bin/sh: C:\Programme\openocd-r247\bin\openocd-ftd2xx.exe: command not found
make: *** [program] Error 127
It doesn’t matter if the board is actually connected to the PC or not, I always get the same response. Therefor I think the problem is somewhere in the toolchain setup rather than hardware.
As you might have guessed from this description, I’m quite new to the whole “embedded systems” world. Therefore I assume my problem is hopefully nothing more than a beginner’s mistake.
Any help is highly appreciated,
chris
P.S. I’m using the makefile and Open OCD-config files like available for download, therefore I didn’t attach them. If required, I can send them
I have installed OpenOCD right from the beginning, or at least I followed all the steps mentioned in your link. I also tested successfully the installation like suggested (with C:\make --version and C:>openocd-pp -h), but I still get the same error.
You mention that the openocd-ftd2xx binary is not found. What exactly is the name of the missing file? - openocd-ftd2xx.bin?
I made a file search for openocd-ftd2xx.bin, nothing on my PC.
And when I start OpenOCD as external tool from Eclipse, it works and I can see the according process in windows task manager.