On Tue, Nov 9, 2010 at 10:37 PM, Peter Stuge <[email protected]> wrote: > Andrew Leech wrote: > > On a different matter, I'm currently using this part on a chain with an > > Actel A3P125 FPGA > > I'd look at buying an IGLOO Icicle ($69 or something). It includes an > Actel "LCPS" (Low-Cost Programming Stick) which is the equivalent of > a FlashPro 3, and works with Libero. Just to make sure that > programming works "their way". > > Yeah I had thought it'd be good to get one of Actel's programmers but I'd have a hard time selling the need to the manager here, seeing as he's seen me programming my prototype just fine, and I'm not sure I'd have much luck explaining the need to test something different, especially as it's not something I'd want to use long term.
> > > my separate fpga jtag programmer (altium designer and their jtag > > dongle) doesn't work when it's connected in the chain, I think it's > > a bit light on the buffering and suffers from noise. It only just > > works when connected directly to the fpga. > > How does this work? Is the LPC still on that chain and you connect > Altium dongle in between them? > > My prototype consists of an off the shelf dev board for the LPC (EA3131) with the FPGA on a custom board wired into it. As such I've got direct access to the jtag on each board, I've just wired them into a chain by making a custom cable to simulate how they'll be wired on the final design. > > > I've generated svf files with the actel software and tried playing > > them with openocd, but it errors out: > > I don't believe OpenOCD SVF has been exercised much. You could try > using UrJTAG instead. I also find Altera's STAPL player source very > interesting for use with Actel parts, but that road needs a bit of > work before it could function. > > I actualy did try UrJTAG (even going to the extent of adding TI ICDI support to is, I still need to submit the patch for that... ) but didn't get very far there either, the UrJTAG parser didn't like some command or other in the svf file. As it turns out I did find the problem, and it's very basic. Amazing how just writing down the problem thoroughly (to post a question) can be enough to trigger an obvious idea. It was a basic chaining issue. I had created the Actel project (with altium) with the entire chain in place, so thought it would have created a svf file specifically for the chain. Apparently not. All I had to do was connect the TI ICDI programmer directly to the fpga's jtag (requiring another new custom cable as it turned out) and the svf played no worries, and the part was all flashed and ready to use! Now I need to figure out how to bypass the lpc via software rather than physically changing the chain. I can't seem to find much information about how bypass works with openocd, do you have any idea? Once I have it all sorted out I think this is well worth me making a wiki page for programming fpga's on a chain, as there's not much info about it so far, and it actually seems quite easy once you know what your're doing. Andrew
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
