Zerocat Chipflasher  v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
Propeller Pin Usage

These pins are used on the chipflasher board. Pins may be accessed via bitmasks over DIRA, OUTA, INA directly. More...

#define PIN_CEn   0
 Chip Enable Pin, active low. More...
 
#define PIN_CEn_1   1
 Auxiliary Chip Enable. More...
 
#define PIN_MOSI   2
 Propeller's Shift Out Pin. More...
 
#define PIN_WPn   3
 Write Protect Pin, active low. More...
 
#define PIN_SCLK3   4
 
#define PIN_SCLK2   5
 
#define PIN_SCLK1   6
 
#define PIN_SCLK0   7
 
#define PIN_MISO   8
 Propeller's Shift In Pin. More...
 
#define PIN_PLUGTESTn   9
 This pin is used detect an adapter plug. More...
 
#define PIN_PNP   10
 control spi power through pnp MOSFET, high=off More...
 
#define PIN_HOLDn   12
 Hold Pin, active low. More...
 
#define LED_YELLOW   13
 Attached board or chip is powered. More...
 
#define LED_ORANGE   14
 SPI pins are actively driven, do not remove board's power. More...
 
#define LED_GREEN   15
 SPI pins are tristate, you can safely attach/detach board. More...
 
#define RST_DISABLE   16
 
#define PIN_RX   31
 
#define PIN_TX   30
 
#define BIT_LED_YELLOW   (1 << LED_YELLOW)
 
#define BIT_LED_ORANGE   (1 << LED_ORANGE)
 
#define BIT_LED_GREEN   (1 << LED_GREEN)
 
#define BIT_PNP   (1 << PIN_PNP)
 
#define BIT_SCLK3   (1 << PIN_SCLK3)
 
#define BIT_SCLK2   (1 << PIN_SCLK2)
 
#define BIT_SCLK1   (1 << PIN_SCLK1)
 
#define BIT_SCLK0   (1 << PIN_SCLK0)
 
#define BIT_WPn   (1 << PIN_WPn)
 
#define BIT_MISO   (1 << PIN_MISO)
 
#define BIT_CEn   (1 << PIN_CEn)
 
#define BIT_CEn_1   (1 << PIN_CEn_1)
 
#define BIT_HOLDn   (1 << PIN_HOLDn)
 
#define BIT_MOSI   (1 << PIN_MOSI)
 
#define BIT_PLUGTESTn   (1 << PIN_PLUGTESTn)
 
#define BIT_PNP_DEVICE   BIT_PNP
 
#define CEn_AVAIL   (BIT_CEn | BIT_CEn_1)
 
#define SCLK_AVAIL   (BIT_SCLK0 | BIT_SCLK1 | BIT_SCLK2 | BIT_SCLK3)
 
#define SPI_BUS   (CEn_AVAIL | BIT_MOSI | BIT_WPn | BIT_HOLDn | SCLK_AVAIL | BIT_MISO)
 
#define SCLK_ACTIVE   (BIT_SCLK0 | BIT_SCLK1 | BIT_SCLK2 | BIT_SCLK3)
 

Detailed Description

Note
Pins 0..8 are fast addressable.

Macro Definition Documentation

◆ BIT_CEn

#define BIT_CEn   (1 << PIN_CEn)

Definition at line 82 of file proppins.h.

◆ BIT_CEn_1

#define BIT_CEn_1   (1 << PIN_CEn_1)

Definition at line 83 of file proppins.h.

◆ BIT_HOLDn

#define BIT_HOLDn   (1 << PIN_HOLDn)

Definition at line 84 of file proppins.h.

◆ BIT_LED_GREEN

#define BIT_LED_GREEN   (1 << LED_GREEN)

Definition at line 74 of file proppins.h.

◆ BIT_LED_ORANGE

#define BIT_LED_ORANGE   (1 << LED_ORANGE)

Definition at line 73 of file proppins.h.

◆ BIT_LED_YELLOW

#define BIT_LED_YELLOW   (1 << LED_YELLOW)

Definition at line 72 of file proppins.h.

◆ BIT_MISO

#define BIT_MISO   (1 << PIN_MISO)

Definition at line 81 of file proppins.h.

◆ BIT_MOSI

#define BIT_MOSI   (1 << PIN_MOSI)

Definition at line 85 of file proppins.h.

◆ BIT_PLUGTESTn

#define BIT_PLUGTESTn   (1 << PIN_PLUGTESTn)

Definition at line 86 of file proppins.h.

◆ BIT_PNP

#define BIT_PNP   (1 << PIN_PNP)

Definition at line 75 of file proppins.h.

◆ BIT_PNP_DEVICE

#define BIT_PNP_DEVICE   BIT_PNP

Definition at line 88 of file proppins.h.

◆ BIT_SCLK0

#define BIT_SCLK0   (1 << PIN_SCLK0)

Definition at line 79 of file proppins.h.

◆ BIT_SCLK1

#define BIT_SCLK1   (1 << PIN_SCLK1)

Definition at line 78 of file proppins.h.

◆ BIT_SCLK2

#define BIT_SCLK2   (1 << PIN_SCLK2)

Definition at line 77 of file proppins.h.

◆ BIT_SCLK3

#define BIT_SCLK3   (1 << PIN_SCLK3)

Definition at line 76 of file proppins.h.

◆ BIT_WPn

#define BIT_WPn   (1 << PIN_WPn)

Definition at line 80 of file proppins.h.

◆ CEn_AVAIL

#define CEn_AVAIL   (BIT_CEn | BIT_CEn_1)

Definition at line 89 of file proppins.h.

◆ LED_GREEN

#define LED_GREEN   15

Definition at line 67 of file proppins.h.

◆ LED_ORANGE

#define LED_ORANGE   14

Definition at line 66 of file proppins.h.

◆ LED_YELLOW

#define LED_YELLOW   13

Definition at line 65 of file proppins.h.

◆ PIN_CEn

#define PIN_CEn   0

Definition at line 52 of file proppins.h.

◆ PIN_CEn_1

#define PIN_CEn_1   1

Definition at line 53 of file proppins.h.

◆ PIN_HOLDn

#define PIN_HOLDn   12

Definition at line 64 of file proppins.h.

◆ PIN_MISO

#define PIN_MISO   8

Definition at line 60 of file proppins.h.

◆ PIN_MOSI

#define PIN_MOSI   2

Definition at line 54 of file proppins.h.

◆ PIN_PLUGTESTn

#define PIN_PLUGTESTn   9

Definition at line 62 of file proppins.h.

◆ PIN_PNP

#define PIN_PNP   10

Definition at line 63 of file proppins.h.

◆ PIN_RX

#define PIN_RX   31

Definition at line 69 of file proppins.h.

◆ PIN_SCLK0

#define PIN_SCLK0   7

Definition at line 59 of file proppins.h.

◆ PIN_SCLK1

#define PIN_SCLK1   6

Definition at line 58 of file proppins.h.

◆ PIN_SCLK2

#define PIN_SCLK2   5

Definition at line 57 of file proppins.h.

◆ PIN_SCLK3

#define PIN_SCLK3   4

Definition at line 56 of file proppins.h.

◆ PIN_TX

#define PIN_TX   30

Definition at line 70 of file proppins.h.

◆ PIN_WPn

#define PIN_WPn   3

Definition at line 55 of file proppins.h.

◆ RST_DISABLE

#define RST_DISABLE   16

Definition at line 68 of file proppins.h.

◆ SCLK_ACTIVE

#define SCLK_ACTIVE   (BIT_SCLK0 | BIT_SCLK1 | BIT_SCLK2 | BIT_SCLK3)
Note
We can drive the SCK line with different current setups, 4 pins are available.
  • The T500-8MB-Winbond testboard requires only one pin.
  • The X200-8MB-Winbond testboard requires three pins.
  • The X60s-2MB-SST testboard requires only one pin.

Definition at line 102 of file proppins.h.

◆ SCLK_AVAIL

#define SCLK_AVAIL   (BIT_SCLK0 | BIT_SCLK1 | BIT_SCLK2 | BIT_SCLK3)

Definition at line 90 of file proppins.h.

◆ SPI_BUS

#define SPI_BUS   (CEn_AVAIL | BIT_MOSI | BIT_WPn | BIT_HOLDn | SCLK_AVAIL | BIT_MISO)

Definition at line 91 of file proppins.h.