Sergey Lapin wrote>

 >  [boot strapping a lot of boards by hand]

One thing you might want to look at is the *OTHER* ways you can use the 
FTDI 2232 chip (a very common jtag solution that openocd supports). One 
of its other modes is an SPI programmer mode.

See this:   http://www.ftdichip.com/Projects/MPSSE.htm#SPI

I think it would be very beneficial for OPENOCD - if somebody was to 
create an alternate way of using OPENOCD - to program SPI chips - via 
some type of "direct connection" - like the XILINX impact program supports.

Nothing says the only way is FTDI - for example - the simple bit-bang 
parallel port solutions would do the same thing.

I just think adding this feature to OpenOCD would be a very helpful 
thing!  

I think the I2C mode would be nice - but SPI is perhaps more important.

Specifically: The XILINX impact program can do exactly this. See this 
example:

    
http://www.xilinx.com/support/documentation/application_notes/xapp951.pdf

Page 4 - shows *TWO* different connectors - (1) JTAG connector (talking 
to the jtag pins on the xilinx) and (2) a SPI connector on the xilinux 
-> to -> spi interface.

There are *two* ways of programing the spi  (1) indirectly via jtag - 
through the xilinux - (ie: the jtag connector) or (2) via the spi connector.

I am speaking about the SPI connector method. I know the DLC5 xilinx 
cable will do that. I have used exactly Impact + DLC5 + SPI FLASH to 
configure FPGAs.

Perhaps - maybe it is too late - but do you have a few "bed-of-nails" 
targets on your boards you are making?

-Duane.

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to