On Sat 22 May 2010 01:17, Mike Frysinger pondered:
> On Friday 21 May 2010 13:57:18 Tomek CEDRO wrote:
> > Did anyone program an SPI device with UrJTAG and FT2232* based cable?
> 
> sort of ... a gdb stub on top of urjtag allows loading of code via FT2232 
> cables which can program SPI flashes
> 
> > Is SPI already implemented in UrJTAG?
> 
> no, nor does it currently make sense.  the SPI bus nor SPI flashes are 

But why not do it the same as the CFI flash driver does - via the BSDL?

> 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.

As long as the SPI pins are connected to the BSDL scan chain - and there is a 
std way to represent that (which I don't think there is - BSDL is normally 
ADDRn/DATAn)

It's in some -- for example:

freescale/mpc8378/mpc8378:signal SPISEL
freescale/mpc8378/mpc8378:signal SPIMOSI
freescale/mpc8378/mpc8378:signal SPIMISO
freescale/mpc8378/mpc8378:signal SPICLK

You just need to make a bus driver - which wiggles the SPI pins via BSDL, 
rather than the address/data pins, and then update the BSDL parsing to find 
those pins (and locations in the scan chain).

Not sure it's practical - going to be slower than slow - but it's possible....

-Robin

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

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

Reply via email to