Hello Rockford,
I really need to see the file “at91sam7sx.cfg”
You have errors with the Flash bank line.
Should be “flash bank myflashbankname 0 0 0 0 at91sam7s.cpu 12000000”
“myflashbankname” is some name (you give) for this particular flash bank.
12000000 should be the correct clock rate in Hz for the flash memory.
You should also have the following lines at the end of the last cfg. file
jtag_reset 0 0
init
halt
Now the JTAG reset command is not really necessary but does give feedback and a known starting point.
Leave the init and halt commands as your last lines. When you get these everything working to the point of the halt command then you can start to look at the specific instructions to flash the memory. At the moment OpenOCD is not working.
Now the command to run the OpenOCD should be
“OpenOCD -d3 -l mylogfile.log -f /usr/local/share/openocd/scripts/interface/olimex-arm-usb-tiny-h.cfg -f /usr/local/share/openocd/scripts/target/at91sam7sx.cfg”
For development it is probably easier to combine the .cfg into one file.
You may find the ft2232_device_desc description needs to be changed to match your device. If you are using Vista or Windows 7 you may have trouble with the device driver.
See my previous post - it may help.
Ernest