FPGA programmer

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
Post Reply
User avatar
flynnjs
Posts: 831
Joined: Tue Jul 06, 2010 9:33 pm
Contact:

FPGA programmer

Post by flynnjs » Wed Dec 03, 2014 7:19 pm

Having brought a neat hackable CoPro design to the community, my
attentions turned to how people might contribute to the hacking of
the HDL, should they wish to.

So, I did a bit of background on how to make cheap a Xilinx
programmer i.e. USB to JTAG could be made and settled on
these thoughts:

- A PCB which is sized just right to go in the side of a PC USB
socket without needing a socket itself or a connecting cable.
- As few frills as possible: Single voltage (3v3), Few LEDs
- As few semiconductors as possible.
- PCB as small as possible to get board cost down.

Taking those all into account I came up with this:
xvc.png
The materials are:
PCB size 12mm x 25mm
6 resistors
2 capacitors
1 polyfuse
1 USB IC

Total cost about £1.90

People would need to find bits of wire/connectors etc themselves.

Credit to those over at:
http://www.mlab.cz/Modules/CPLD_FPGA/XI ... st.en.html
for inspiriing the design and also it will need to use their XVC software
which is open source.

Just opening the thread to talk technical at this point. If the design
doesn't get too hammered than I'll start a separate thread on [FS]
to register interest.

J

User avatar
martinw
Posts: 1377
Joined: Sat Nov 13, 2010 10:31 am
Location: Aberdeenshire, Scotland
Contact:

Re: FPGA programmer

Post by martinw » Wed Dec 03, 2014 7:47 pm

Hi J,

Nice ... what software will we need to hack the HDL?

Will the Xilinx ISE Webpack work, or is there something else we will need?

Martin

User avatar
flynnjs
Posts: 831
Joined: Tue Jul 06, 2010 9:33 pm
Contact:

Re: FPGA programmer

Post by flynnjs » Wed Dec 03, 2014 8:09 pm

Yes, ISE Webpack 14.7 (the final version) will work. So that's free.

I've just updated to put one more 0 Ohm resistor on there so you
can either use the on board 3v3 reference or an external on and
simultaneously sliced off another 1mm length :mrgreen:
xvc.png

User avatar
roland
Posts: 3629
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: FPGA programmer

Post by roland » Wed Dec 03, 2014 8:42 pm

Hi Jason,

I use only a 25p connector to the printer port, four resistors and some pieces of wire to program my CPLD's. Won't that setup work with an FPGA?

Greetings,
Roland
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
sydney
Posts: 2477
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: FPGA programmer

Post by sydney » Wed Dec 03, 2014 8:57 pm

roland wrote:Hi Jason,

I use only a 25p connector to the printer port, four resistors and some pieces of wire to program my CPLD's. Won't that setup work with an FPGA?

Greetings,
Roland
Most laptops don't have a printer port now so I'd have to get my old desktop out of the garage if I wanted to contribute in any way. USB is everywhere.

User avatar
roland
Posts: 3629
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: FPGA programmer

Post by roland » Wed Dec 03, 2014 9:04 pm

That's right. I still have a dedicated laptop (P3 @ 750MHz, 128 MB ram, 20GB hdd, Win XP and a parallel printer port) for that task. I treasure it almost just as much as my Atom.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
hoglet
Posts: 8930
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: FPGA programmer

Post by hoglet » Wed Dec 03, 2014 9:11 pm

I'm using a £22 clone of the Xilinx USB platform cable, as recommended by 1024MAK.

It works a treat, and seems 100% compatible with the Xilinx iMpact software.

http://www.ebay.co.uk/itm/Xilinx-Platfo ... 0809680232
xilinx_platform_cable.JPG
Jason, does a simple Jtag cable also work with iMpact?

Dave

User avatar
flynnjs
Posts: 831
Joined: Tue Jul 06, 2010 9:33 pm
Contact:

Re: FPGA programmer

Post by flynnjs » Wed Dec 03, 2014 9:22 pm

The options are:
- Roland style parallel port "wiggler"
- eBay clone special for about £25 (I currently use one of these)
- BusBlaster ~£40 (I have one of these too)
- My FT220X based board with the XVC software ~£2
- Anything else you can cobble together that talks XVC protocol

J

station240
Posts: 864
Joined: Tue Feb 09, 2010 6:11 pm
Location: South Australia
Contact:

Re: FPGA programmer

Post by station240 » Wed Dec 03, 2014 11:12 pm

I do like the design, even more than the price. :lol:
I'm temped to flog of few of these off in my part of the world.

Question, what you intending for the USB contacts ?
Tinned, gold plated ?

Prime
Posts: 2837
Joined: Sun May 31, 2009 11:52 pm
Contact:

Re: FPGA programmer

Post by Prime » Thu Dec 04, 2014 12:01 am

Just a note to add this should also work for the xc9536xl & xc9572xl CPLDs that I have used on some of my boards.

Cheers.

Phill.

User avatar
flynnjs
Posts: 831
Joined: Tue Jul 06, 2010 9:33 pm
Contact:

Re: FPGA programmer

Post by flynnjs » Thu Dec 04, 2014 12:06 am

The contacts would be ENIG (gold).

Right now the cost of the courier on the PCBs is upping the price
a little but I'm hoping another job comes along so I can split
the costs :)

I'm going to build a 1-off to check it works first. There was
some comment about it only being able to configure the
FPGA, not Flash which might mean it won't work with CPLDs
or it might refer to the external Flash config device which
would be a showstopper for this project.

User avatar
daveejhitchins
Posts: 5386
Joined: Wed Jun 13, 2012 5:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: FPGA programmer

Post by daveejhitchins » Thu Dec 04, 2014 8:17 am

I still have these.

Dave H :D
Parts: UM6502CE, GAL22V10D, GAL16V8D, AS6C62256A, TC514400AZ, WD1772, R6522, TMS27C512, AT28C256
Products: ARA II, ARA III, ABR, ATI, AP6, MGC, AP5 . . .
For a price list, contact me at: Retro Hardware AT dave ej hitchins DOT plus DOT com

User avatar
roland
Posts: 3629
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: FPGA programmer

Post by roland » Thu Dec 04, 2014 8:30 am

Hi Dave,

Looks like those need the parallel port as well. Or do they have USB as well?

Greetings,
Roland
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
hoglet
Posts: 8930
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: FPGA programmer

Post by hoglet » Thu Dec 04, 2014 8:38 am

roland wrote:Looks like those need the parallel port as well. Or do they have USB as well?
It's definitely USB only.

The grey cables are to connect to various forms of programming header.

Dave

User avatar
daveejhitchins
Posts: 5386
Joined: Wed Jun 13, 2012 5:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: FPGA programmer

Post by daveejhitchins » Fri Dec 05, 2014 8:39 am

hoglet wrote:
roland wrote:Looks like those need the parallel port as well. Or do they have USB as well?
It's definitely USB only.

The grey cables are to connect to various forms of programming header.

Dave
Thanks for the answer, Dave . . . I intended to dig-one-out and have a look, however, Mrs H. has abandoned me, this weekend, to do some visiting - so I'm having to look after myself :? Time just slipped away :lol:

Dave H :D
Parts: UM6502CE, GAL22V10D, GAL16V8D, AS6C62256A, TC514400AZ, WD1772, R6522, TMS27C512, AT28C256
Products: ARA II, ARA III, ABR, ATI, AP6, MGC, AP5 . . .
For a price list, contact me at: Retro Hardware AT dave ej hitchins DOT plus DOT com

User avatar
retroclinic
Posts: 3034
Joined: Thu Jul 03, 2008 1:22 pm
Location: East Riding of Yorkshire
Contact:

Re: FPGA programmer

Post by retroclinic » Sat Dec 06, 2014 2:02 pm

I know you've tracked up your boards already, but you could also add this to the co-pro itself, with a USB/B socket on the board.

Mark.
Image

User avatar
flynnjs
Posts: 831
Joined: Tue Jul 06, 2010 9:33 pm
Contact:

Re: FPGA programmer

Post by flynnjs » Sat Dec 06, 2014 4:56 pm

It could probably fit but the first batch of boards are already on their way.

Post Reply