Open source ARM Debugger

Moderator: phalanx


Postby cyphunk » Fri Mar 20, 2009 12:02 pm

First, inside the manual for openocd constant references are given to targets/spartan3.cfg but i have yet to find this in the package.

That said, I attempted to define the start of a config for the spartan 3 using the BSDL. This is what I have:
jtag newtap xc3s1600.fpga fpga \
-irlen 6 \
-irmask 0x3f \
-ircapture 0x9 \
-expected-id 0x3874126

target create xc3s1600.fpga xscale -endian little

Execution results give:

Info : JTAG tap: xc3s1600.fpga.fpga tap/device found: 0x90e1d093 (Manufacturer: 0x049, Part: 0x0e1d, Version: 0x9)
Error: JTAG tap: xc3s1600.fpga.fpga got: 0x90e1d093 (mfg: 0x049, part: 0x0e1d, ver: 0x9)
Error: JTAG tap: xc3s1600.fpga.fpga expected 1 of 1: 0x03874126 (mfg: 0x093, part: 0x3874, ver: 0x0)

Any idea what I'm getting wrong here?

Here are some of the relavent parts from the BSDL:
Posts: 5
Joined: Fri Dec 28, 2007 2:35 pm

Postby inventore123 » Fri Mar 20, 2009 1:15 pm

Can OpenOCD program a Spartan 3 FPGA?? :shock:
If yes, I am very interested :)
Posts: 257
Joined: Sat Aug 18, 2007 5:41 am

Postby cyphunk » Sat Mar 21, 2009 4:15 am

yeah that would be nice. at the moment i would like to just see if i can send basic queries. i have no idea why the pfd for openocd would use spartan3.cfg as an example target and then not include the file in the distraction.
Posts: 5
Joined: Fri Dec 28, 2007 2:35 pm

Re: spartan3.cfg

Postby arturofa95 » Wed Jun 07, 2017 6:11 am

Hello cyphunk,

I know it has been a while since you posted this, but I was wondering if you ever managed to program a Spartan 3 with OpenOCD. I have been trying to this, for a while now. And I havent been lucky, yet.

Anything you learned from your experience would be greatly appreciated!

Thanks. :D
Posts: 1
Joined: Wed Jun 07, 2017 6:07 am

Return to OpenOCD

Who is online

Users browsing this forum: No registered users and 2 guests