Frans Meulenbroeks wrote:
> Hi,
> 

Hi Frans,

> I need to program a MAXII CPLD under linux. This CPLD is connected
> directly to my uP through gpio pins. The uP runs Linux.
> While googling for a solution I bumped upon urljtag, which seemed a nice
> starting point.
> As I see it there is not yet generic gpio support, but I feel it should
> not be overly difficult to add it (using bit banging).

It did quite the same to program a Lattice FPGA, using bit banging from
a MX.31 processors. Probably it is very close to your requirement.

> 
> My questions: is urjtag a good starting point. If so, should I consider
> my direct connection to be a cable? And if so, what would be a good
> starting point?
> (actually to me ts7800 looks like an interesting starting point,
> although it pokes directly in /dev/mem, whereas I probably would prefer
> to use the standard gpio mechanism (see
> http://www.mjmwired.net/kernel/Documentation/gpio.txt) )

Agree, I did exactly in this way using the sysfs interface to drive the
GPIOs. If you want to take a look, you can find my patch under:

http://www.denx.de/wiki/pub/DULG/AN2010_04_QongFpgaUpdateUsingUrJtag/0001-Support-updating-FPGA-on-QONG-module.patch

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [email protected]
=====================================================================

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to