You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mike Frysinger 10fdc4be5d note by Bogdan Petrisor that pkg-config is needed to build from svn
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1871 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
13 years ago
..
ChangeLog Copy jtag/ to urjtag/. 15 years ago
Makefile.am New Programmable Logic Devices (PLD) subsystem by Michael Walle 14 years ago
README.ejtag Copy jtag/ to urjtag/. 15 years ago
README.pld New Programmable Logic Devices (PLD) subsystem by Michael Walle 14 years ago
UrJTAG.txt note by Bogdan Petrisor that pkg-config is needed to build from svn 13 years ago
bsdl2jtag.1 Copy jtag/ to urjtag/. 15 years ago
fdl.txt Copy jtag/ to urjtag/. 15 years ago
gpl.txt Copy jtag/ to urjtag/. 15 years ago
howto_add_support_for_more_flash.txt Copy jtag/ to urjtag/. 15 years ago
jtag.1 Copy jtag/ to urjtag/. 15 years ago

README.pld

With the Programmable Logic Devices (PLD) subsystem you can load a bitstream
into a FPGA via JTAG.  Besides benefits in development it supports production
of boards with NOR flashes connected to the FPGA. You can load a fjmem core
into the FPGA and program (fast!) the flash through it.

The subsystem needs several instructions to be defined. These have to be
manually added by the user (eg. through the ~/.jtag/rc):

  Spartan-3/Spartan-6:
    instruction CFG_OUT  000100 BYPASS
    instruction CFG_IN   000101 BYPASS
    instruction JSTART   001100 BYPASS
    instruction JPROGRAM 001011 BYPASS

  Virtex-4:
    instruction CFG_OUT  1111000100 BYPASS
    instruction CFG_IN   1111000101 BYPASS
    instruction JPROGRAM 1111001011 BYPASS
    instruction JSTART   1111001100 BYPASS


The following example flashes a NOR flash connected to the FGPA:

  cable Turtelizer2 vid=0x0403 pid=0x6010
  detect
  instruction CFG_OUT 000100 BYPASS
  instruction CFG_IN 000101 BYPASS
  instruction JSTART 001100 BYPASS
  instruction JPROGRAM 001011 BYPASS
  pld load /path/to/fjmem.bit
  initbus fjmem opcode=000010
  detectflash 0
  flashmem 0 /path/to/data.bin
  pld reconfigure