OpenCores
URL https://opencores.org/ocsvn/jtag_stapl_player/jtag_stapl_player/trunk

Subversion Repositories jtag_stapl_player

[/] [jtag_stapl_player/] [trunk/] [README] - Rev 2

Compare with Previous | Blame | View Log

#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#               STAPL Player for Raspberri Pi
#
#  Ported from Actel STAPL Player v1.1, which is based on JAM STAPL Player v2.2. 
#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#       Library used:
#  wiringpi from wiringpi.com (GNU LGPLv3 licence)
#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#       EXAMPLES:

Scan the first JTAG chain:
  sudo StaplPlayer -aREAD_IDCODES scan_chain.stp

Read IDCODE of the first FPGA device in the JTAG chain
  sudo StaplPlayer -aREAD_IDCODE scan_chain.stp -poi8 -pod1

Read IDCODE of the second ACTEL device in the JTAG chain
  sudo StaplPlayer -aREAD_IDCODE scan_chain.stp -pei8 -ped1

Scan the second JTAG chain
  sudo StaplPlayer -aREAD_IDCODES scan_chain.stp -g

Flash the carrier board with the file image.stp (it takes ~2 minutes for IGLOO2 FPGA):
  sudo StaplPlayer -aPROGRAM image.stp -poi8 -pod1

Read IDCODE from the second board in chain (Carrier Board):
  sudo StaplPlayer -aREAD_IDCODE image.stp -poi8 -pod1

Read IDCODE from the first board in chain (ProtoFEM):
  sudo StaplPlayer -aREAD_IDCODE image.stp -pei8 -ped1

Reset ProtoFEM
  sudo StaplPlayer -aRESET_CORTEXM3 fpga.stp -g -pei8 -ped1

################################################################################
########        Signal Map on the RPi GPIO P1 connector
################################################################################

Header  Name    Wpi     JTAG1   Name    JTAG2   Name
1       3.3V                                    
3       SDA     8                               
5       SCL     9                               
7       GPIO7   7       1       TCK             
9       0V                                      
11      GPIO0   0        5       TMS             
13      GPIO2   2       3       TDO             
15      GPIO3   3                       1       TCK
17      3.3V                                    
19      MOSI    12                              
21      MISO    13                              
23      SCLK    14                              
25      0V                                      
                                                
Header  Name    Wpi     JTAG1   Name    JTAG2   Name
2       5V                                      
4       5V                                      
6       0V                                      
8       TxD     15                              
10      RxD     16                              
12      GPIO1   1       9       TDI             
14      0V              2       GND             
16      GPIO4   4                       5       TMS
18      GPIO5   5                       9       TDI
20      0V                              2       GND
22      GPIO6   6                       3       TDO
24      CE0     10                              
26      CE1     11                              

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.