On Saturday 22 May 2010 22:06:22 Tomek CEDRO wrote:
> On Sat, May 22, 2010 at 5:17 AM, Mike Frysinger wrote:
> > (...)
> > no, nor does it currently make sense.  the SPI bus nor SPI flashes are
> > typically accessed via JTAG.  something else (like a processor) controls
> > that which means you need to implement a SPI driver for the specific
> > CPU/peripheral first, and then a SPI flash driver.
> 
> Well this is second time I need to reprogram an SPI aware  device
> (first it was a serial Flash memory on a Xilinx board where device was
> JTAG aware but did not program this way, second it is a parallel Flash
> memory conncted to a BlueCore4 IC where IC can act as a SPI slave but
> have no JTAG), so the problem comes back somewhere near the JTAG aware
> devices. I have a memory programmer and I can implement a SPI on it,
> but I think it is possible to use a FT2232 device to toggle lines a
> bit in another way thank JTAG, so UrJTAG could also program SPI
> devices - this could make it pretty all-in-one tool, and the SPI is a
> bus itself, I will take a look at this :-)

if your "parallel flash" device isnt actually a SPI flash but directly 
connected via address lines to the part which is controlled via JTAG, then you 
dont need SPI support.  just use the existing initbus/flashmem commands.  i 
program parallel flashes from time to time using this method.

thinking about it a bit more, i guess if the part controlled via JTAG had its 
pins declared via the BSDL/parts files, it would be possible to wiggle them 
directly without the need of code executing on the "processor" or whatever.

i'd have to double check the Blackfin parts to see if their SPI lines are 
accessible via JTAG.  if they are, we could test something like this.

in either case, the fact you're using a FT2232 JTAG cable is irrelevant
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------

_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to