Documentation for “Zerocat Chipflasher” as of Thu, 13 Apr 2023 13:22:13 +0200
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v2.0.2
Branch: flashrom-interface

../../firmware2/src/SPI-bus.spin.terminal.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/SPI-bus.spin
|-pins.spin
|-time.spin
|-SPI-flags.spin
|-SPI-commands.spin
|-chipspec.spin
  |-ASCII.spin
  |-blocksizes.spin
  |-JEDEC.spin
  |-SPI-flags.spin
  |-SPI-commands.spin
|-JEDEC.spin
Done.
Program size is 5756 bytes
TYPE: 43   VALUE: 00000000 (00000000)   NAME: BUSPOWER_AUTO
TYPE: 43   VALUE: 00000001 (00000000)   NAME: BUSPOWER_STATIC
TYPE: 43   VALUE: 00000000 (00000000)   NAME: WIPCHECK_POLLING
TYPE: 43   VALUE: 00000001 (00000000)   NAME: WIPCHECK_TIMEOUT
TYPE: 43   VALUE: 00000000 (00000000)   NAME: MODE_SPI_0
TYPE: 43   VALUE: 00000001 (00000000)   NAME: MODE_SPI_3
TYPE: 43   VALUE: 00000000 (00000000)   NAME: MODE_SPI_OFF_NORMAL
TYPE: 43   VALUE: 00000001 (00000000)   NAME: MODE_SPI_OFF_FORCE
TYPE: 43   VALUE: 00000002 (00000000)   NAME: MODE_SPI_OFF_POWER
TYPE: 43   VALUE: 00000001 (00000000)   NAME: MODE_SPI
TYPE: 43   VALUE: 0000001E (00000000)   NAME: POWERUP_SPI
TYPE: 43   VALUE: 00000019 (00000000)   NAME: POWERUP_SPILINES
TYPE: 43   VALUE: 00000064 (00000000)   NAME: POWERUP_OFFTIME
TYPE: 43   VALUE: 00000002 (00000000)   NAME: POWERUP_EXTRA
TYPE: 43   VALUE: 00000080 (00000000)   NAME: SRWD
TYPE: 43   VALUE: 00000040 (00000000)   NAME: CPM
TYPE: 43   VALUE: 00000020 (00000000)   NAME: BP3
TYPE: 43   VALUE: 00000010 (00000000)   NAME: BP2
TYPE: 43   VALUE: 00000008 (00000000)   NAME: BP1
TYPE: 43   VALUE: 00000004 (00000000)   NAME: BP0
TYPE: 43   VALUE: 00000002 (00000000)   NAME: WEL
TYPE: 43   VALUE: 00000001 (00000000)   NAME: WIP
TYPE: 43   VALUE: 00000001 (00000000)   NAME: SOTPI
TYPE: 43   VALUE: 00000002 (00000000)   NAME: LDSO
TYPE: 43   VALUE: 0000000A (00000000)   NAME: T_RW
TYPE: 43   VALUE: 00001388 (00000000)   NAME: T_PP
TYPE: 43   VALUE: 00000004 (00000000)   NAME: KSR_BP
TYPE: 43   VALUE: 00000004 (00000000)   NAME: KSL_W
TYPE: 43   VALUE: 00000006 (00000000)   NAME: KSR_T
TYPE: 53   VALUE: 00000101 (00000004)   NAME: SET_RECORD
TYPE: 53   VALUE: 00000002 (00000004)   NAME: SPI_INIT
TYPE: 53   VALUE: 00000003 (00000004)   NAME: SPI_ON
TYPE: 53   VALUE: 00000004 (00000004)   NAME: TOGGLE_BUSPOWER
TYPE: 53   VALUE: 00000005 (00000004)   NAME: GET_BUSPOWER
TYPE: 53   VALUE: 00000106 (00000004)   NAME: SPI_OFF
TYPE: 53   VALUE: 00000007 (00000004)   NAME: CHIP_ON
TYPE: 53   VALUE: 00000008 (00000004)   NAME: CHIP_OFF
TYPE: 53   VALUE: 00000009 (00000004)   NAME: WPN_LOW
TYPE: 53   VALUE: 0000000A (00000004)   NAME: WPN_HIGH
TYPE: 53   VALUE: 0000000B (00000004)   NAME: CLOCK_HIGH
TYPE: 53   VALUE: 0000000C (00000004)   NAME: CLOCK_LOW
TYPE: 53   VALUE: 0000000D (00000004)   NAME: SO_HIGH
TYPE: 53   VALUE: 0000000E (00000004)   NAME: SO_LOW
TYPE: 53   VALUE: 0000000F (00000004)   NAME: HOLDN_HIGH
TYPE: 53   VALUE: 00000010 (00000004)   NAME: HOLDN_LOW
TYPE: 53   VALUE: 00000211 (00000004)   NAME: OUTBITS
TYPE: 53   VALUE: 00000112 (00000004)   NAME: INBITS
TYPE: 53   VALUE: 00000013 (00000004)   NAME: INBYTE
TYPE: 53   VALUE: 00000314 (00000004)   NAME: CMD
TYPE: 53   VALUE: 00000015 (00000004)   NAME: CMD_DP
TYPE: 53   VALUE: 00000016 (00000004)   NAME: CMD_RDID_JEDEC
TYPE: 53   VALUE: 00000017 (00000004)   NAME: CPM_POLLING
TYPE: 53   VALUE: 00000118 (00000004)   NAME: WIP_POLLING
TYPE: 53   VALUE: 00000219 (00000004)   NAME: WIP_CHECK
TYPE: 53   VALUE: 0000011A (00000004)   NAME: WIP_TIMEOUT
TYPE: 53   VALUE: 0000001B (00000004)   NAME: CMD_WREN
TYPE: 53   VALUE: 0000001C (00000004)   NAME: CMD_WRDI
TYPE: 53   VALUE: 0000021D (00000004)   NAME: CMD_WRSR
TYPE: 53   VALUE: 0000011E (00000004)   NAME: CMD_RDSR
TYPE: 53   VALUE: 0000001F (00000005)   NAME: SPI_ON_ONCE
TYPE: 4F   VALUE: 00000020 (00000000)   NAME: PINS
TYPE: 4F   VALUE: 00000121 (00000000)   NAME: TIME
TYPE: 4F   VALUE: 00000222 (00000000)   NAME: FLAGS
TYPE: 4F   VALUE: 00000323 (00000000)   NAME: COMMANDS
TYPE: 4F   VALUE: 00000424 (00000000)   NAME: CHIPSPEC
TYPE: 4F   VALUE: 00000525 (00000000)   NAME: JEDEC
TYPE: 51   VALUE: 00000000 (00000000)   NAME: PIN_CEN1^A
TYPE: 51   VALUE: 00000001 (00000000)   NAME: PIN_CEN0^A
TYPE: 51   VALUE: 00000002 (00000000)   NAME: PIN_MOSI^A
TYPE: 51   VALUE: 00000003 (00000000)   NAME: PIN_WPN^A
TYPE: 51   VALUE: 00000004 (00000000)   NAME: PIN_SCLK3^A
TYPE: 51   VALUE: 00000005 (00000000)   NAME: PIN_SCLK2^A
TYPE: 51   VALUE: 00000006 (00000000)   NAME: PIN_SCLK1^A
TYPE: 51   VALUE: 00000007 (00000000)   NAME: PIN_SCLK0^A
TYPE: 51   VALUE: 00000008 (00000000)   NAME: PIN_MISO^A
TYPE: 51   VALUE: 00000009 (00000000)   NAME: PIN_PLUGTESTN^A
TYPE: 51   VALUE: 0000000A (00000000)   NAME: PIN_PNP^A
TYPE: 51   VALUE: 0000000C (00000000)   NAME: PIN_HOLDN^A
TYPE: 51   VALUE: 0000000D (00000000)   NAME: PIN_D3^A
TYPE: 51   VALUE: 0000000E (00000000)   NAME: PIN_D2^A
TYPE: 51   VALUE: 0000000F (00000000)   NAME: PIN_D1^A
TYPE: 51   VALUE: 0000001D (00000000)   NAME: PIN_TRIGGER^A
TYPE: 51   VALUE: 0000001E (00000000)   NAME: PIN_TX^A
TYPE: 51   VALUE: 0000001F (00000000)   NAME: PIN_RX^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: SWDIP_A^A
TYPE: 51   VALUE: 00000011 (00000000)   NAME: SWDIP_B^A
TYPE: 51   VALUE: 00000012 (00000000)   NAME: SWDIP_1^A
TYPE: 51   VALUE: 00000013 (00000000)   NAME: SWDIP_2^A
TYPE: 51   VALUE: 00000014 (00000000)   NAME: SWDIP_3^A
TYPE: 51   VALUE: 00000015 (00000000)   NAME: SWDIP_4^A
TYPE: 51   VALUE: 00000016 (00000000)   NAME: SWDIP_5^A
TYPE: 51   VALUE: 00000017 (00000000)   NAME: SWDIP_6^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: RST_DISABLE^A
TYPE: 51   VALUE: 00000018 (00000000)   NAME: RS232_RST^A
TYPE: 51   VALUE: 0000000B (00000000)   NAME: RST_INHIBIT^A
TYPE: 51   VALUE: 0000001B (00000000)   NAME: ADC_OUT^A
TYPE: 51   VALUE: 0000001A (00000000)   NAME: ADC_CALIBRATION^A
TYPE: 51   VALUE: 00000019 (00000000)   NAME: ADC_IN^A
TYPE: 51   VALUE: 00000003 (00000000)   NAME: MASK_CEN_AVAIL^A
TYPE: 51   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_AVAIL^A
TYPE: 51   VALUE: 000011FF (00000000)   NAME: MASK_SPI_BUS_AVAIL^A
TYPE: 51   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_ACTIVE100^A
TYPE: 51   VALUE: 000000E0 (00000000)   NAME: MASK_SCLK_ACTIVE75^A
TYPE: 51   VALUE: 000000C0 (00000000)   NAME: MASK_SCLK_ACTIVE50^A
TYPE: 51   VALUE: 00000080 (00000000)   NAME: MASK_SCLK_ACTIVE25^A
TYPE: 51   VALUE: 00000000 (00000000)   NAME: MASK_SCLK_ACTIVE0^A
TYPE: 51   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_ACTIVE^A
TYPE: 50   VALUE: 00000001 (00000000)   NAME: CHECK_CABLE^A
TYPE: 50   VALUE: 00000002 (00000000)   NAME: GET_BOARD_CONFIG^A
TYPE: 50   VALUE: 00000103 (00000000)   NAME: GET_BOARD_VERSION^A
TYPE: 50   VALUE: 00000104 (00000000)   NAME: GET_PIN_RSTINHIBIT^A
TYPE: 50   VALUE: 00000105 (00000000)   NAME: GET_MONITOR_HARDWARE^A
TYPE: 50   VALUE: 00000106 (00000000)   NAME: GET_POWERUP_TYPE^A
TYPE: 50   VALUE: 00000107 (00000000)   NAME: GET_SUSPEND_INHIBIT^A
TYPE: 50   VALUE: 00000108 (00000000)   NAME: GET_MODE_SPI^A
TYPE: 50   VALUE: 00000109 (00000000)   NAME: GET_DRIVER_STRENGTH^A
TYPE: 50   VALUE: 0000010A (00000000)   NAME: GET_BAUDRATE^A
TYPE: 50   VALUE: 0000010B (00000000)   NAME: HIGH^A
TYPE: 50   VALUE: 0000010C (00000000)   NAME: LOW^A
TYPE: 51   VALUE: 0000017D (00000000)   NAME: SPIN_OVERHEAD^B
TYPE: 51   VALUE: 00000032 (00000000)   NAME: FDS_STOP^B
TYPE: 51   VALUE: 00000064 (00000000)   NAME: TCOOL_LINE^B
TYPE: 51   VALUE: 000004B0 (00000000)   NAME: TCOOL_BLOCK^B
TYPE: 50   VALUE: 00000101 (00000000)   NAME: SLEEP^B
TYPE: 50   VALUE: 00000102 (00000000)   NAME: SLEEP_MS^B
TYPE: 50   VALUE: 00000203 (00000000)   NAME: WAIT^B
TYPE: 50   VALUE: 00000204 (00000000)   NAME: WAIT_MS^B
TYPE: 51   VALUE: 00000020 (00000000)   NAME: X11_WRSR3^C
TYPE: 51   VALUE: 00000021 (00000000)   NAME: X15_RDSR3^C
TYPE: 51   VALUE: 00000022 (00000000)   NAME: X2B_RDSCUR^C
TYPE: 51   VALUE: 00000023 (00000000)   NAME: X2F_WRSCUR^C
TYPE: 51   VALUE: 00000024 (00000000)   NAME: X31_WRSR2^C
TYPE: 51   VALUE: 00000025 (00000000)   NAME: X35_RDSR2^C
TYPE: 51   VALUE: 00000026 (00000000)   NAME: X36_PS^C
TYPE: 51   VALUE: 00000027 (00000000)   NAME: X39_US^C
TYPE: 51   VALUE: 00000028 (00000000)   NAME: X3C_RSPR^C
TYPE: 51   VALUE: 00000029 (00000000)   NAME: X50_EWSR^C
TYPE: 51   VALUE: 0000002A (00000000)   NAME: XAD_CP^C
TYPE: 51   VALUE: 00000000 (00000000)   NAME: X03_READ^C
TYPE: 51   VALUE: 00000001 (00000000)   NAME: X0B_READHF^C
TYPE: 51   VALUE: 00000002 (00000000)   NAME: X20_SE^C
TYPE: 51   VALUE: 00000003 (00000000)   NAME: X52_BE32K^C
TYPE: 51   VALUE: 00000004 (00000000)   NAME: XD8_BE64K^C
TYPE: 51   VALUE: 00000005 (00000000)   NAME: X60_CE^C
TYPE: 51   VALUE: 00000006 (00000000)   NAME: XC7_CE^C
TYPE: 51   VALUE: 00000007 (00000000)   NAME: X02_PP^C
TYPE: 51   VALUE: 00000008 (00000000)   NAME: X02_BP^C
TYPE: 51   VALUE: 00000009 (00000000)   NAME: X06_WREN^C
TYPE: 51   VALUE: 0000000A (00000000)   NAME: X04_WRDI^C
TYPE: 51   VALUE: 0000000B (00000000)   NAME: X05_RDSR^C
TYPE: 51   VALUE: 0000000C (00000000)   NAME: X01_WRSR^C
TYPE: 51   VALUE: 0000000D (00000000)   NAME: X00_NOP^C
TYPE: 51   VALUE: 0000000E (00000000)   NAME: X9F_RDID^C
TYPE: 51   VALUE: 0000000F (00000000)   NAME: XB9_DP^C
TYPE: 51   VALUE: 00000010 (00000000)   NAME: XAB_RDP^C
TYPE: 51   VALUE: 00000011 (00000000)   NAME: XAB_RES^C
TYPE: 51   VALUE: 00000012 (00000000)   NAME: X90_REMS^C
TYPE: 51   VALUE: 00000013 (00000000)   NAME: X70_ESRY^C
TYPE: 51   VALUE: 00000014 (00000000)   NAME: X80_DSRY^C
TYPE: 51   VALUE: 00005E15 (00000000)   NAME: BASIC_SPI^C
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^C
TYPE: 51   VALUE: 00000000 (00000000)   NAME: CMD__NOP^D
TYPE: 51   VALUE: 00000001 (00000000)   NAME: CMD__WRSR^D
TYPE: 51   VALUE: 00000031 (00000000)   NAME: CMD__WRSR2^D
TYPE: 51   VALUE: 00000011 (00000000)   NAME: CMD__WRSR3^D
TYPE: 51   VALUE: 00000004 (00000000)   NAME: CMD__WRDI^D
TYPE: 51   VALUE: 00000005 (00000000)   NAME: CMD__RDSR^D
TYPE: 51   VALUE: 00000035 (00000000)   NAME: CMD__RDSR2^D
TYPE: 51   VALUE: 00000015 (00000000)   NAME: CMD__RDSR3^D
TYPE: 51   VALUE: 00000006 (00000000)   NAME: CMD__WREN^D
TYPE: 51   VALUE: 00000003 (00000000)   NAME: CMD__READ^D
TYPE: 51   VALUE: 0000000B (00000000)   NAME: CMD__READHF^D
TYPE: 51   VALUE: 00000020 (00000000)   NAME: CMD__SE^D
TYPE: 51   VALUE: 00000052 (00000000)   NAME: CMD__BE32K^D
TYPE: 51   VALUE: 000000D8 (00000000)   NAME: CMD__BE64K^D
TYPE: 51   VALUE: 00000060 (00000000)   NAME: CMD__CE_0X60^D
TYPE: 51   VALUE: 000000C7 (00000000)   NAME: CMD__CE_0XC7^D
TYPE: 51   VALUE: 00000002 (00000000)   NAME: CMD__BP^D
TYPE: 51   VALUE: 00000002 (00000000)   NAME: CMD__PP^D
TYPE: 51   VALUE: 000000B9 (00000000)   NAME: CMD__DP^D
TYPE: 51   VALUE: 000000AB (00000000)   NAME: CMD__RDP^D
TYPE: 51   VALUE: 000000AB (00000000)   NAME: CMD__RES^D
TYPE: 51   VALUE: 00000090 (00000000)   NAME: CMD__REMS^D
TYPE: 51   VALUE: 00000070 (00000000)   NAME: CMD__ESRY^D
TYPE: 51   VALUE: 00000080 (00000000)   NAME: CMD__DSRY^D
TYPE: 51   VALUE: 00000050 (00000000)   NAME: CMD__EWSR^D
TYPE: 51   VALUE: 000000AD (00000000)   NAME: CMD__CP^D
TYPE: 51   VALUE: 0000002B (00000000)   NAME: CMD__RDSCUR^D
TYPE: 51   VALUE: 0000002F (00000000)   NAME: CMD__WRSCUR^D
TYPE: 51   VALUE: 00000036 (00000000)   NAME: CMD__PS^D
TYPE: 51   VALUE: 00000039 (00000000)   NAME: CMD__US^D
TYPE: 51   VALUE: 0000003C (00000000)   NAME: CMD__RSPR^D
TYPE: 51   VALUE: 00000033 (00000000)   NAME: CMD__SL^D
TYPE: 51   VALUE: 00000034 (00000000)   NAME: CMD__FSLS^D
TYPE: 51   VALUE: 0000009B (00000000)   NAME: CMD__PGMSREG^D
TYPE: 51   VALUE: 00000035 (00000000)   NAME: CMD__RDSLR^D
TYPE: 51   VALUE: 00000077 (00000000)   NAME: CMD__RDSREG^D
TYPE: 51   VALUE: 000000F0 (00000000)   NAME: CMD__RST^D
TYPE: 51   VALUE: 0000009F (00000000)   NAME: CMD__RDID^D
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^D
TYPE: 51   VALUE: 00000011 (00000000)   NAME: ARRAY_CHIPSPEC^E
TYPE: 51   VALUE: 00000000 (00000000)   NAME: DEFAULT_CHIPSPEC_RECORD^E
TYPE: 51   VALUE: 000000E4 (00000000)   NAME: BYTES_PER_CHIPSPEC_RECORD^E
TYPE: 51   VALUE: 00000028 (00000000)   NAME: BYTES_PER_CHIPSPEC_STRING^E
TYPE: 51   VALUE: 00000000 (00000000)   NAME: CHIPSPEC_ID^E
TYPE: 51   VALUE: 00000004 (00000000)   NAME: CHIPSPEC_SIZE^E
TYPE: 51   VALUE: 00000008 (00000000)   NAME: CHIPSPEC_CMDSET1^E
TYPE: 51   VALUE: 0000000C (00000000)   NAME: CHIPSPEC_CMDSET^E
TYPE: 51   VALUE: 00000010 (00000000)   NAME: CHIPSPEC_ISSTATIC^E
TYPE: 51   VALUE: 00000014 (00000000)   NAME: CHIPSPEC_ISWRITABLE^E
TYPE: 51   VALUE: 00000018 (00000000)   NAME: CHIPSPEC_ISOTP^E
TYPE: 51   VALUE: 0000001C (00000000)   NAME: CHIPSPEC_BITNAMES^E
TYPE: 51   VALUE: 000000BC (00000000)   NAME: CHIPSPEC_NAMES^E
TYPE: 51   VALUE: FFFFFFFF (00000000)   NAME: N_A^E
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^E
TYPE: 50   VALUE: 00000102 (00000000)   NAME: CE^E
TYPE: 50   VALUE: 00000103 (00000000)   NAME: ID2RECORD^E
TYPE: 50   VALUE: 00000104 (00000000)   NAME: INC^E
TYPE: 50   VALUE: 00000105 (00000000)   NAME: DEC^E
TYPE: 50   VALUE: 00000106 (00000000)   NAME: ID_JEDEC^E
TYPE: 50   VALUE: 00000207 (00000000)   NAME: ISCOMMAND^E
TYPE: 50   VALUE: 00000108 (00000000)   NAME: ISVOLATILE^E
TYPE: 50   VALUE: 00000209 (00000000)   NAME: ISWRITABLE^E
TYPE: 50   VALUE: 0000020A (00000000)   NAME: ISOTP^E
TYPE: 50   VALUE: 0000010B (00000000)   NAME: SIZE^E
TYPE: 50   VALUE: 0000020C (00000000)   NAME: ISSTATIC^E
TYPE: 50   VALUE: 0000020D (00000000)   NAME: PTR_BITNAMES^E
TYPE: 50   VALUE: 0000010E (00000000)   NAME: PTR_NAMES^E
TYPE: 50   VALUE: 0000010F (00000000)   NAME: PAGES^E
TYPE: 50   VALUE: 00000110 (00000000)   NAME: DIGITS^E
TYPE: 51   VALUE: 00000009 (00000000)   NAME: HT^E
TYPE: 51   VALUE: 001C7016 (00000000)   NAME: ID_EN25QH32^F
TYPE: 51   VALUE: 001C7017 (00000000)   NAME: ID_EN25QH64^F
TYPE: 51   VALUE: 001F4600 (00000000)   NAME: ID_AT26DF161^F
TYPE: 51   VALUE: 001F4700 (00000000)   NAME: ID_AT26DF321^F
TYPE: 51   VALUE: 001F4800 (00000000)   NAME: ID_AT26DF641^F
TYPE: 51   VALUE: 00BF2541 (00000000)   NAME: ID_SST25VF016B^F
TYPE: 51   VALUE: 00BF258E (00000000)   NAME: ID_SST25VF080B^F
TYPE: 51   VALUE: 00C22014 (00000000)   NAME: ID_MX25L8005^F
TYPE: 51   VALUE: 00C22015 (00000000)   NAME: ID_MX25L1605D_06E^F
TYPE: 51   VALUE: 00C22016 (00000000)   NAME: ID_MX25L3205D_06E^F
TYPE: 51   VALUE: 00C22017 (00000000)   NAME: ID_MX25L6405D_06E_45E^F
TYPE: 51   VALUE: 00C22018 (00000000)   NAME: ID_MX25L12835E^F
TYPE: 51   VALUE: 00EF3013 (00000000)   NAME: ID_W25X40^F
TYPE: 51   VALUE: 00EF3017 (00000000)   NAME: ID_W25X64^F
TYPE: 51   VALUE: 00EF4016 (00000000)   NAME: ID_W25Q32FV^F
TYPE: 51   VALUE: 00EF4017 (00000000)   NAME: ID_W25Q64FV^F
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^F
TYPE: 45   VALUE: 00000000 (00000000)   NAME: RECORD
TYPE: 45   VALUE: 00000001 (00000000)   NAME: BUSPOWER
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: NEW_RECORD
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: MODE
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: IS_VOLATILE
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: VALUE
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: MSBIT
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: MSBIT
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: COMMAND
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: VALUE
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: BITS
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: N
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: CHECKLIMIT
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: N
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: CHECKTYPE
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: LIMIT
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: N
TYPE: 4E   VALUE: 00000010 (00000000)   NAME: NSEC
TYPE: 4E   VALUE: 00000014 (00000000)   NAME: SEC_LIMIT
TYPE: 4E   VALUE: 00000018 (00000000)   NAME: USEC_LIMIT
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: TIMEOUT_MS
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: N
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: M
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: REGNO
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: REGVAL
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: MSBIT
TYPE: 4E   VALUE: 00000010 (00000000)   NAME: VALUE
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: REGNO
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R

Distilled longs: 9

OBJ bytes: 6431

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- 04 00 6C 16 00 04 20 06 98 00 00 00 9C 00 00 00   ..l... .........
0010- AF 00 00 00 C0 00 00 00 C5 00 00 00 C9 00 04 00   ................
0020- 14 01 00 00 1A 01 00 00 21 01 00 00 29 01 00 00   ........!...)...
0030- 30 01 00 00 36 01 00 00 3D 01 00 00 44 01 00 00   0...6...=...D...
0040- 4C 01 00 00 53 01 00 00 5B 01 00 00 77 01 00 00   L...S...[...w...
0050- 91 01 00 00 9A 01 00 00 AB 01 00 00 C6 01 00 00   ................
0060- E6 01 00 00 03 02 00 00 28 02 10 00 85 02 08 00   ........(.......
0070- A5 02 00 00 B5 02 00 00 C5 02 08 00 4E 03 00 00   ............N...
0080- AB 03 00 00 00 04 04 00 20 05 04 00 60 16 04 00   ........ ...`...
0090- 60 16 04 00 68 05 04 00 60 16 04 00 64 89 00 32   `...h...`...d..2
00A0- 39 11 FF 38 0A F3 EA E7 3F D6 48 39 11 FF E7 3F   9..8....?.H9...?
00B0- D4 48 32 37 00 08 09 01 05 1F 01 36 05 06 09 77   .H27.......6...w
00C0- 01 05 1F 32 36 8A 01 4B 32 88 01 61 32 88 01 0A   ...26..K2..a2...
00D0- 04 34 69 04 10 64 36 FC 0A 04 35 69 04 07 00 88   .4i..d6...5i....
00E0- 00 06 24 08 69 64 37 00 FB 0A 18 68 FF 0A 0D 00   ..$.id7....h....
00F0- 88 00 37 23 06 24 07 0A 03 01 05 15 39 11 FF E7   ..7#.$......9...
0100- 3F D6 48 68 FF 0A 0A 38 0A 3D D6 18 38 0A 3D D4   ?.Hh...8.=..8.=.
0110- 1C 01 38 64 06 21 02 32 37 21 3F D6 4A 32 37 21   ..8d.!.27!?.J27!
0120- E7 3F D6 48 32 37 21 F3 E7 3F D4 48 32 37 21 F3   .?.H27!..?.H27!.
0130- 3F D4 4A 32 38 F0 3F D4 4A 32 38 F0 E7 3F D4 48   ?.J28.?.J28..?.H
0140- 32 37 00 F3 3F D4 4A 32 37 00 F3 E7 3F D4 48 32   27..?.J27...?.H2
0150- 38 0C F3 3F D4 4A 32 38 0C F3 E7 3F D4 48 32 68   8..?.J28...?.H2h
0160- 0A 18 01 05 0C 64 68 E8 0A 05 01 05 0D 04 03 01   .....dh.........
0170- 05 0E 01 05 0B 36 6A 42 04 65 32 64 0A 16 01 05   .....6jB.e2d....
0180- 0C 3F 92 37 02 F3 E8 0A 03 64 62 4A 01 05 0B 36   .?.7.....dbJ...6
0190- 66 42 04 67 32 00 36 37 22 E3 05 12 61 32 01 64   fB.g2.67"...a2.d
01A0- 36 37 22 E3 05 11 01 68 36 6E B6 E3 05 11 32 01   67"....h6n....2.
01B0- 05 07 01 38 B9 36 37 22 E3 05 11 01 05 08 35 C0   ...8.67"......5.
01C0- 3A 01 86 A0 F6 3F 91 EC 23 32 01 05 07 01 38 9F   :....?..#2....8.
01D0- 36 37 22 E3 05 11 00 36 38 17 E3 05 12 61 01 35   67"....68....a.5
01E0- 36 37 22 E3 05 11 01 05 08 32 01 05 07 01 38 05   67"......2....8.
01F0- 36 37 22 E3 05 11 00 05 13 37 05 E8 62 A6 F0 0A   67"......7..b...
0200- 02 04 73 01 05 08 32 01 05 07 01 38 05 36 37 22   ..s...2....8.67"
0210- E3 05 11 62 A6 64 F9 00 05 13 36 E8 F0 0A 02 04   ...b.d....6.....
0220- 72 01 05 08 60 64 FC 0A 02 35 33 32 64 36 FC 0A   r...`d...532d6..
0230- 2D 68 79 78 3A 0F 42 40 FA 0A 18 78 3A 0F 42 40   -hyx:.B@...x:.B@
0240- F6 75 78 3A 0F 42 40 F7 79 74 08 07 01 36 06 21   .ux:.B@.yt...6.!
0250- 01 09 79 01 78 39 03 E8 F6 06 21 02 04 28 38 06   ..y.x9....!..(8.
0260- 6A 42 01 05 07 01 38 05 36 37 22 E3 05 11 6E A6   jB....8.67"...n.
0270- 68 F9 0A 0F 00 05 13 36 E8 FF 0A 05 01 05 08 6C   h......6.......l
0280- 33 04 6B 01 05 08 35 33 32 64 39 27 10 F6 69 64   3.k...532d9'..id
0290- 39 27 10 F7 6D 68 08 09 01 39 27 10 06 21 02 09   9'..mh...9'..!..
02A0- 77 01 6C 06 21 02 64 33 32 01 05 07 01 38 06 36   w.l.!.d32....8.6
02B0- 37 22 E3 05 11 01 05 08 32 01 05 07 01 37 01 36   7"......2....7.6
02C0- 37 22 E3 05 11 01 05 08 32 37 22 6D 35 68 EA 71   7"......27"m5h.q
02D0- 00 35 05 1E 00 88 00 35 06 24 09 E8 37 02 E3 72   .5.....5.$..7..r
02E0- 4A 01 05 07 00 88 00 38 29 06 24 07 0A 0B 01 38   J......8).$....8
02F0- 50 36 37 22 E3 05 11 04 09 01 38 06 36 37 22 E3   P67"......8.67".
0300- 05 11 01 05 08 01 05 07 39 03 44 64 37 00 0D 0C   ........9.Dd7...
0310- 36 0D 13 01 36 36 37 22 E3 05 11 0C 01 38 11 36   6...667".....8.6
0320- 37 22 E3 05 11 0C 00 88 00 38 24 06 24 07 E7 0A   7".......8$.$...
0330- 0D 37 23 6D 01 36 36 37 22 E3 05 11 04 09 01 38   .7#m.667"......8
0340- 31 36 37 22 E3 05 11 0C 01 70 6C F3 05 11 01 05   167".....pl.....
0350- 08 32 01 05 07 39 03 A3 64 37 21 0D 11 37 00 0D   .2...9..d7!..7..
0360- 17 36 0D 1E 01 38 05 36 37 22 E3 05 11 0C 01 38   .6...8.67".....8
0370- 2B 36 37 22 E3 05 11 0C 01 38 15 36 37 22 E3 05   +67".....8.67"..
0380- 11 0C 00 88 00 06 24 06 3A 1F 48 00 FC 0A 0E 01   ......$.:.H.....
0390- 38 05 36 37 22 E3 05 11 01 05 13 04 09 01 38 35   8.67".........85
03A0- 36 37 22 E3 05 11 0C 00 05 13 61 01 05 08 32 01   67".......a...2.
03B0- 05 09 01 05 0F 01 05 0E 39 03 CC 36 35 0D 04 36   ........9..65..6
03C0- 0D 08 0C 38 F0 E7 3F D4 48 0C 38 F0 3F D4 4A 0C   ...8..?.H.8.?.J.
03D0- 3F 96 38 0A F3 E8 E7 0A 10 38 0A 3D D4 18 38 0A   ?.8......8.=..8.
03E0- 3D D6 1C 01 38 1E 06 21 02 38 F0 37 21 F3 EA 38   =...8..!.8.7!..8
03F0- 0C F3 EA 37 00 F3 EA 3F D6 4A 01 38 19 06 21 02   ...7...?.J.8..!.
0400- 32 00 00 00 20 01 0D 00 34 00 00 00 3E 00 00 00   2... ...4...>...
0410- 59 00 00 00 61 00 00 00 73 00 00 00 83 00 00 00   Y...a...s.......
0420- 98 00 00 00 AD 00 00 00 C9 00 00 00 DF 00 00 00   ................
0430- 0D 01 00 00 16 01 00 00 38 09 3D 92 35 FB 61 62   ........8.=.5.ab
0440- 47 32 38 17 38 12 3E 92 E7 37 25 E8 61 37 00 62   G28.8.>..7%.a7.b
0450- 43 38 11 37 03 3E 92 37 21 E8 62 4A 32 64 37 21   C8.7.>.7!.bJ2d7!
0460- E8 36 EC 33 32 38 72 00 64 05 03 36 0D 04 38 0B   .6.328r.d..6..8.
0470- 33 0C 37 03 33 0C 32 38 82 00 64 05 03 36 0D 03   3.7.3.28..d..6..
0480- 34 33 0C 35 33 0C 32 38 97 00 64 05 03 36 0D 08   43.53.28..d..6..
0490- 64 37 06 E8 35 FB 33 0C 34 33 0C 32 38 AC 00 64   d7..5.3.43.28..d
04A0- 05 03 36 0D 08 64 37 05 E8 35 FB 33 0C 35 33 0C   ..6..d7..5.3.53.
04B0- 32 38 C8 00 64 05 03 36 0D 0E 64 37 03 E8 0A 04   28..d..6..d7....
04C0- 35 33 04 03 37 21 33 0C 37 21 33 0C 32 38 DE 00   53..7!3.7!3.28..
04D0- 64 05 03 36 0D 09 64 38 0C E8 37 00 E2 33 0C 36   d..6..d8..7..3.6
04E0- 33 0C 32 39 01 0C 00 64 05 03 36 0D 1D 39 01 05   3.29...d..6..9..
04F0- 64 37 04 E8 38 05 E2 35 0D 04 36 0D 07 0C 3A 01   d7..8..5..6...:.
0500- C2 00 33 0C 39 E1 00 33 0C 0C 3A 01 C2 00 33 0C   ..3.9..3..:...3.
0510- 32 64 3D D4 1C 64 3D D6 1C 32 64 3D D4 18 64 3D   2d=..d=..2d=..d=
0520- D6 1C 32 00 48 00 05 00 14 00 00 00 21 00 00 00   ..2.H.......!...
0530- 32 00 00 00 3A 00 00 00 35 C0 64 F4 39 01 7D E4   2...:...5.d.9.}.
0540- 3F 91 EC 23 32 35 C0 39 03 E8 F6 64 F4 39 01 7D   ?..#25.9...d.9.}
0550- E4 3F 91 EC 23 32 35 C0 64 F4 68 EC 23 32 35 C0   .?..#25.d.h.#25.
0560- 39 03 E8 F6 64 F4 68 EC 23 32 00 00 D8 10 12 05   9...d.h.#2......
0570- 80 0F 00 00 81 0F 00 00 9E 0F 00 00 B0 0F 00 00   ................
0580- BD 0F 00 00 CD 0F 00 00 D9 0F 00 00 00 10 04 00   ................
0590- 1A 10 00 00 28 10 00 00 36 10 00 00 43 10 00 00   ....(...6...C...
05A0- 51 10 00 00 62 10 00 00 6E 10 00 00 83 10 08 00   Q...b...n.......
05B0- B3 10 00 00 D8 10 00 00 F8 10 00 00 F8 10 00 00   ................
05C0- F8 10 00 00 F8 10 00 00 FF FF FF FF FF FF FF FF   ................
05D0- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
05E0- 00 00 00 00 00 20 20 20 20 20 20 20 20 20 20 20   .....           
05F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0600- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0610- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0620- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0630- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0640- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0650- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0660- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0670- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0680- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0690- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
06A0- 20 20 20 20 20 20 20 20 20 20 20 20 16 70 1C 00               .p..
06B0- 00 00 40 00 00 00 00 00 F5 DF 07 00 FC 00 00 00   ..@.............
06C0- FC 00 00 00 80 00 00 00 53 52 42 2F 4C 42 09 57   ........SRB/LB.W
06D0- 48 44 49 53 09 42 50 33 09 42 50 32 09 42 50 31   HDIS.BP3.BP2.BP1
06E0- 09 42 50 30 09 57 45 4C 09 57 49 50 00 20 20 20   .BP0.WEL.WIP.   
06F0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0700- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0710- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0720- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0730- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0740- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0750- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0760- 20 20 20 20 20 20 20 20 45 4E 32 35 51 48 33 32           EN25QH32
0770- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0780- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0790- 17 70 1C 00 00 00 80 00 00 00 00 00 F5 DF 07 00   .p..............
07A0- FC 00 00 00 FC 00 00 00 80 00 00 00 53 52 42 2F   ............SRB/
07B0- 4C 42 09 57 48 44 49 53 09 42 50 33 09 42 50 32   LB.WHDIS.BP3.BP2
07C0- 09 42 50 31 09 42 50 30 09 57 45 4C 09 57 49 50   .BP1.BP0.WEL.WIP
07D0- 00 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20   .   .           
07E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
07F0- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0800- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0810- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0820- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0830- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0840- 20 20 20 20 20 20 20 20 20 20 20 20 45 4E 32 35               EN25
0850- 51 48 36 34 00 20 20 20 20 20 20 20 20 20 20 20   QH64.           
0860- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0870- 20 20 20 20 00 46 1F 00 00 00 20 00 C0 00 00 00       .F.... .....
0880- FD FF 01 00 00 00 00 00 80 00 00 00 00 00 00 00   ................
0890- 53 50 52 4C 09 2D 09 45 50 45 09 57 50 50 09 53   SPRL.-.EPE.WPP.S
08A0- 57 50 31 09 53 57 50 30 09 57 45 4C 09 42 55 53   WP1.SWP0.WEL.BUS
08B0- 59 00 20 20 20 20 20 20 00 20 20 20 20 20 20 20   Y.      .       
08C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
08D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
08E0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
08F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0900- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0910- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0920- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0930- 41 54 32 36 44 46 31 36 31 00 20 20 20 20 20 20   AT26DF161.      
0940- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0950- 20 20 20 20 20 20 20 20 00 47 1F 00 00 00 40 00           .G....@.
0960- C0 00 00 00 BD DF 01 00 00 00 00 00 80 00 00 00   ................
0970- 00 00 00 00 53 50 52 4C 09 2D 09 45 50 45 09 57   ....SPRL.-.EPE.W
0980- 50 50 09 53 57 50 31 09 53 57 50 30 09 57 45 4C   PP.SWP1.SWP0.WEL
0990- 09 42 55 53 59 00 20 20 20 20 20 20 00 20 20 20   .BUSY.      .   
09A0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
09B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
09C0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
09D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
09E0- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
09F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A00- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A10- 20 20 20 20 41 54 32 36 44 46 33 32 31 00 20 20       AT26DF321.  
0A20- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A30- 20 20 20 20 20 20 20 20 20 20 20 20 00 48 1F 00               .H..
0A40- 00 00 80 00 D0 00 00 00 BD DF 01 00 00 00 00 00   ................
0A50- 80 18 00 00 00 00 00 00 53 50 52 4C 09 2D 09 45   ........SPRL.-.E
0A60- 50 45 09 57 50 50 09 53 57 50 31 09 53 57 50 30   PE.WPP.SWP1.SWP0
0A70- 09 57 45 4C 09 42 55 53 59 00 20 20 20 20 20 20   .WEL.BUSY.      
0A80- 2D 09 2D 09 2D 09 52 53 54 45 09 53 4C 45 09 50   -.-.-.RSTE.SLE.P
0A90- 53 09 45 53 09 42 55 53 59 00 20 20 20 20 20 20   S.ES.BUSY.      
0AA0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0AB0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0AC0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0AD0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0AE0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0AF0- 20 20 20 20 20 20 20 20 41 54 32 35 44 46 36 34           AT25DF64
0B00- 31 20 41 54 32 36 44 46 36 34 31 00 20 20 20 20   1 AT26DF641.    
0B10- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B20- 41 25 BF 00 00 00 20 00 00 06 00 00 7D 7F 06 00   A%.... .....}...
0B30- 00 00 00 00 9C 00 00 00 00 00 00 00 42 50 4C 09   ............BPL.
0B40- 41 41 49 09 2D 09 42 50 32 09 42 50 31 09 42 50   AAI.-.BP2.BP1.BP
0B50- 30 09 57 45 4C 09 42 55 53 59 00 20 20 20 20 20   0.WEL.BUSY.     
0B60- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0B70- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B80- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0B90- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0BA0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0BB0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0BC0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0BD0- 20 20 20 20 20 20 20 20 20 20 20 20 53 53 54 32               SST2
0BE0- 35 56 46 30 31 36 42 00 20 20 20 20 20 20 20 20   5VF016B.        
0BF0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C00- 20 20 20 20 8E 25 BF 00 00 00 80 00 00 06 00 00       .%..........
0C10- 7D 5F 06 00 00 00 00 00 9C 00 00 00 00 00 00 00   }_..............
0C20- 42 50 4C 09 41 41 49 09 42 50 33 09 42 50 32 09   BPL.AAI.BP3.BP2.
0C30- 42 50 31 09 42 50 30 09 57 45 4C 09 42 55 53 59   BP1.BP0.WEL.BUSY
0C40- 00 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20   .       .       
0C50- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C60- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C70- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0C80- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C90- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0CA0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0CB0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0CC0- 53 53 54 32 35 56 46 30 38 30 42 00 20 20 20 20   SST25VF080B.    
0CD0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0CE0- 20 20 20 20 20 20 20 20 14 20 C2 00 00 00 80 00           . ......
0CF0- 00 00 00 00 F5 DF 07 00 9C 00 00 00 9C 00 00 00   ................
0D00- 00 00 00 00 53 52 57 44 09 2D 09 2D 09 42 50 32   ....SRWD.-.-.BP2
0D10- 09 42 50 31 09 42 50 30 09 57 45 4C 09 57 49 50   .BP1.BP0.WEL.WIP
0D20- 00 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20   .           .   
0D30- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D40- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D50- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0D60- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D70- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0D80- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D90- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0DA0- 20 20 20 20 4D 58 32 35 4C 38 30 30 35 00 20 20       MX25L8005.  
0DB0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0DC0- 20 20 20 20 20 20 20 20 20 20 20 20 15 20 C2 00               . ..
0DD0- 00 00 20 00 0C 00 00 00 F5 DF 07 00 9C 00 00 03   .. .............
0DE0- 9C 00 00 02 00 00 00 02 53 52 57 44 09 2D 09 2D   ........SRWD.-.-
0DF0- 09 42 50 32 09 42 50 31 09 42 50 30 09 57 45 4C   .BP2.BP1.BP0.WEL
0E00- 09 57 49 50 00 20 20 20 20 20 20 20 20 20 20 20   .WIP.           
0E10- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0E20- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E30- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0E40- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E50- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E60- 2D 09 2D 09 2D 09 2D 09 2D 09 2D 09 4C 44 53 4F   -.-.-.-.-.-.LDSO
0E70- 09 53 4F 54 50 00 20 20 20 20 20 20 20 20 20 20   .SOTP.          
0E80- 20 20 20 20 20 20 20 20 2A 4D 58 32 35 4C 31 36           *MX25L16
0E90- 30 35 44 20 4D 58 32 35 4C 31 36 30 36 45 00 20   05D MX25L1606E. 
0EA0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0EB0- 16 20 C2 00 00 00 40 00 0C 00 00 00 F5 DF 07 00   . ....@.........
0EC0- BC 00 00 03 BC 00 00 02 00 00 00 02 53 52 57 44   ............SRWD
0ED0- 09 2D 09 42 50 33 09 42 50 32 09 42 50 31 09 42   .-.BP3.BP2.BP1.B
0EE0- 50 30 09 57 45 4C 09 57 49 50 00 20 20 20 20 20   P0.WEL.WIP.     
0EF0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0F00- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0F10- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0F20- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0F30- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0F40- 20 20 20 20 2D 09 2D 09 2D 09 2D 09 2D 09 2D 09       -.-.-.-.-.-.
0F50- 4C 44 53 4F 09 53 4F 54 50 00 20 20 20 20 20 20   LDSO.SOTP.      
0F60- 20 20 20 20 20 20 20 20 20 20 20 20 2A 4D 58 32               *MX2
0F70- 35 4C 33 32 30 35 44 20 4D 58 32 35 4C 33 32 30   5L3205D MX25L320
0F80- 36 45 00 20 20 20 20 20 20 20 20 20 20 20 20 20   6E.             
0F90- 20 20 20 20 17 20 C2 00 00 00 80 00 0C 00 00 00       . ..........
0FA0- F5 DF 07 00 BC 00 00 03 BC 00 00 02 00 00 00 02   ................
0FB0- 53 52 57 44 09 43 50 09 42 50 33 09 42 50 32 09   SRWD.CP.BP3.BP2.
0FC0- 42 50 31 09 42 50 30 09 57 45 4C 09 57 49 50 00   BP1.BP0.WEL.WIP.
0FD0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0FE0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0FF0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1000- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
1010- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1020- 20 20 20 20 20 20 20 20 2D 09 2D 09 2D 09 2D 09           -.-.-.-.
1030- 2D 09 2D 09 4C 44 53 4F 09 53 4F 54 50 00 20 20   -.-.LDSO.SOTP.  
1040- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1050- 2A 4D 58 32 35 4C 36 34 30 35 44 20 4D 58 32 35   *MX25L6405D MX25
1060- 4C 36 34 30 36 45 20 4D 58 32 35 4C 36 34 34 35   L6406E MX25L6445
1070- 45 00 20 20 20 20 20 20 18 20 C2 00 00 00 00 01   E.      . ......
1080- 0C 04 00 00 FD DF 07 00 FC 00 00 83 FC 00 00 82   ................
1090- 00 00 00 82 53 52 57 44 09 51 45 09 42 50 33 09   ....SRWD.QE.BP3.
10A0- 42 50 32 09 42 50 31 09 42 50 30 09 57 45 4C 09   BP2.BP1.BP0.WEL.
10B0- 57 49 50 00 20 20 20 20 20 20 20 20 00 20 20 20   WIP.        .   
10C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
10D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
10E0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
10F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1100- 20 20 20 20 20 20 20 20 20 20 20 20 57 50 53 45               WPSE
1110- 4C 09 45 46 41 49 4C 09 50 46 41 49 4C 09 43 50   L.EFAIL.PFAIL.CP
1120- 5F 4D 4F 44 45 09 2D 09 2D 09 4C 44 53 4F 09 53   _MODE.-.-.LDSO.S
1130- 4F 54 50 00 4D 58 32 35 4C 31 32 38 33 35 45 00   OTP.MX25L12835E.
1140- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1150- 20 20 20 20 20 20 20 20 20 20 20 20 13 30 EF 00               .0..
1160- 00 00 08 00 00 00 00 00 D5 DF 05 00 BC 00 00 00   ................
1170- BC 00 00 00 00 00 00 00 53 52 50 09 2D 09 54 42   ........SRP.-.TB
1180- 09 42 50 32 09 42 50 31 09 42 50 30 09 57 45 4C   .BP2.BP1.BP0.WEL
1190- 09 42 55 53 59 00 20 20 20 20 20 20 20 20 20 20   .BUSY.          
11A0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
11B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11C0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
11D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11F0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
1200- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1210- 20 20 20 20 20 20 20 20 57 32 35 58 34 30 00 20           W25X40. 
1220- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1230- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1240- 17 30 EF 00 00 00 80 00 00 00 00 00 D5 DF 07 00   .0..............
1250- BC 00 00 00 BC 00 00 00 00 00 00 00 53 52 50 09   ............SRP.
1260- 2D 09 54 42 09 42 50 32 09 42 50 31 09 42 50 30   -.TB.BP2.BP1.BP0
1270- 09 57 45 4C 09 42 55 53 59 00 20 20 20 20 20 20   .WEL.BUSY.      
1280- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
1290- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12A0- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
12B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12D0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
12E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12F0- 20 20 20 20 20 20 20 20 20 20 20 20 57 32 35 58               W25X
1300- 36 34 00 20 20 20 20 20 20 20 20 20 20 20 20 20   64.             
1310- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1320- 20 20 20 20 16 40 EF 00 00 00 40 00 33 00 00 00       .@....@.3...
1330- FD DE 07 00 FC 7B E4 00 FC 7B E4 00 00 38 00 00   .....{...{...8..
1340- 53 52 50 09 53 45 43 09 54 42 09 42 50 32 09 42   SRP.SEC.TB.BP2.B
1350- 50 31 09 42 50 30 09 57 45 4C 09 42 55 53 59 00   P1.BP0.WEL.BUSY.
1360- 20 20 20 20 20 20 20 20 53 55 53 09 43 4D 50 09           SUS.CMP.
1370- 4C 42 33 09 4C 42 32 09 4C 42 31 09 2D 09 51 45   LB3.LB2.LB1.-.QE
1380- 09 53 52 50 31 00 20 20 20 20 20 20 20 20 20 20   .SRP1.          
1390- 48 4C 44 2F 52 53 54 09 44 52 56 31 09 44 52 56   HLD/RST.DRV1.DRV
13A0- 30 09 2D 09 2D 09 57 50 53 09 2D 09 2D 00 20 20   0.-.-.WPS.-.-.  
13B0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
13C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
13D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
13E0- 57 32 35 51 33 32 46 56 00 20 20 20 20 20 20 20   W25Q32FV.       
13F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1400- 20 20 20 20 20 20 20 20 17 40 EF 00 00 00 80 00           .@......
1410- 30 00 00 00 FD DE 07 00 FC 7B 00 00 FC 7B 00 00   0........{...{..
1420- 00 38 00 00 53 52 50 30 09 53 45 43 09 54 42 09   .8..SRP0.SEC.TB.
1430- 42 50 32 09 42 50 31 09 42 50 30 09 57 45 4C 09   BP2.BP1.BP0.WEL.
1440- 42 55 53 59 00 20 20 20 20 20 20 20 53 55 53 09   BUSY.       SUS.
1450- 43 4D 50 09 4C 42 33 09 4C 42 32 09 4C 42 31 09   CMP.LB3.LB2.LB1.
1460- 2D 09 51 45 09 53 52 50 31 00 20 20 20 20 20 20   -.QE.SRP1.      
1470- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
1480- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1490- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
14A0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
14B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
14C0- 20 20 20 20 57 32 35 51 36 34 46 56 00 20 20 20       W25Q64FV.   
14D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
14E0- 20 20 20 20 20 20 20 20 20 20 20 20 32 00 64 38               2.d8
14F0- 05 05 07 0A 05 38 60 61 04 0F 00 64 38 06 05 07   .....8`a...d8...
1500- 0A 05 38 C7 61 04 02 34 61 32 38 11 08 0D 64 00   ..8.a..4a28...d.
1510- 60 05 06 FC 0A 01 32 62 2E 09 73 32 66 2E 64 38   `.....2b..s2f.d8
1520- 11 FC 0A 02 35 65 64 61 32 66 3E 66 90 35 F9 0A   ....5eda2f>f.5..
1530- 05 38 11 36 ED 65 64 61 32 C7 5C 64 38 E4 F4 35   .8.6.eda2.\d8..5
1540- EC EC C0 61 32 35 61 68 37 04 F9 0A 0E 00 64 35   ...a25ah7.....d5
1550- 05 11 68 F3 E8 0A 02 34 33 04 10 37 24 6A 48 00   ..h....43..7$jH.
1560- 64 36 05 11 68 F3 E8 0A 02 34 33 32 35 69 C7 5C   d6..h....4325i.\
1570- 64 38 E4 F4 37 03 EC 68 EC 90 62 4A 35 37 21 6A   d8..7..h..bJ57!j
1580- 02 6C 35 62 5C 32 C7 5C 64 38 E4 F4 38 14 EC 68   .l5b\2.\d8..8..h
1590- EC 90 61 32 C7 5C 64 38 E4 F4 38 18 EC 68 EC 90   ..a2.\d8..8..h..
15A0- 61 32 C7 5C 64 38 E4 F4 37 01 EC EC C0 61 32 C7   a2.\d8..7....a2.
15B0- 5C 64 38 E4 F4 37 03 EC 68 EC 90 61 32 C7 5C 64   \d8..7..h..a2.\d
15C0- 38 E4 F4 EC 38 1C EC 68 38 28 F4 EC 61 32 C7 5C   8...8..h8(..a2.\
15D0- 64 38 E4 F4 EC 38 BC EC 61 32 00 64 37 22 05 07   d8...8..a2.d7"..
15E0- 0A 0A 00 64 05 0B 37 07 F6 61 04 02 34 61 32 00   ...d..7..a..4a2.
15F0- 64 05 0B 36 ED 69 68 37 07 F9 0A 04 36 6D 04 19   d..6.ih7....6m..
1600- 68 37 0F F9 0A 05 37 00 6D 04 0E 68 37 17 F9 0A   h7....7.m..h7...
1610- 05 37 21 6D 04 03 37 01 6D 6C 37 21 E3 61 32 39   .7!m..7.ml7!.a29
1620- 10 D4 68 35 0D 0D C7 5C 64 38 E4 F4 37 02 EC EC   ..h5...\d8..7...
1630- C0 61 0C C7 5C 64 38 E4 F4 38 0C EC EC C0 61 0C   .a..\d8..8....a.
1640- 32 00 00 00 20 00 03 00 0C 00 00 00 17 00 00 00   2... ...........
1650- 64 37 24 FA 64 37 26 F9 F0 61 32 64 38 0D FC 61   d7$.d7&..a2d8..a
1660- 32 00 00 00 0C 00 02 00 08 00 00 00 32 00 00 00   2...........2...
1670- BB 42 55 53 50 4F 57 45 52 5F 41 55 54 4F 10 00   .BUSPOWER_AUTO..
1680- 00 00 00 42 55 53 50 4F 57 45 52 5F 53 54 41 54   ...BUSPOWER_STAT
1690- 49 43 10 01 00 00 00 57 49 50 43 48 45 43 4B 5F   IC.....WIPCHECK_
16A0- 50 4F 4C 4C 49 4E 47 10 00 00 00 00 57 49 50 43   POLLING.....WIPC
16B0- 48 45 43 4B 5F 54 49 4D 45 4F 55 54 10 01 00 00   HECK_TIMEOUT....
16C0- 00 4D 4F 44 45 5F 53 50 49 5F 30 10 00 00 00 00   .MODE_SPI_0.....
16D0- 4D 4F 44 45 5F 53 50 49 5F 33 10 01 00 00 00 4D   MODE_SPI_3.....M
16E0- 4F 44 45 5F 53 50 49 5F 4F 46 46 5F 4E 4F 52 4D   ODE_SPI_OFF_NORM
16F0- 41 4C 10 00 00 00 00 4D 4F 44 45 5F 53 50 49 5F   AL.....MODE_SPI_
1700- 4F 46 46 5F 46 4F 52 43 45 10 01 00 00 00 4D 4F   OFF_FORCE.....MO
1710- 44 45 5F 53 50 49 5F 4F 46 46 5F 50 4F 57 45 52   DE_SPI_OFF_POWER
1720- 10 02 00 00 00 4D 4F 44 45 5F 53 50 49 10 01 00   .....MODE_SPI...
1730- 00 00 50 4F 57 45 52 55 50 5F 53 50 49 10 1E 00   ..POWERUP_SPI...
1740- 00 00 50 4F 57 45 52 55 50 5F 53 50 49 4C 49 4E   ..POWERUP_SPILIN
1750- 45 53 10 19 00 00 00 50 4F 57 45 52 55 50 5F 4F   ES.....POWERUP_O
1760- 46 46 54 49 4D 45 10 64 00 00 00 50 4F 57 45 52   FFTIME.d...POWER
1770- 55 50 5F 45 58 54 52 41 10 02 00 00 00 53 52 57   UP_EXTRA.....SRW
1780- 44 10 80 00 00 00 43 50 4D 10 40 00 00 00 42 50   D.....CPM.@...BP
1790- 33 10 20 00 00 00 42 50 32 10 10 00 00 00 42 50   3. ...BP2.....BP
17A0- 31 10 08 00 00 00 42 50 30 10 04 00 00 00 57 45   1.....BP0.....WE
17B0- 4C 10 02 00 00 00 57 49 50 10 01 00 00 00 53 4F   L.....WIP.....SO
17C0- 54 50 49 10 01 00 00 00 4C 44 53 4F 10 02 00 00   TPI.....LDSO....
17D0- 00 54 5F 52 57 10 0A 00 00 00 54 5F 50 50 10 88   .T_RW.....T_PP..
17E0- 13 00 00 4B 53 52 5F 42 50 10 04 00 00 00 4B 53   ...KSR_BP.....KS
17F0- 4C 5F 57 10 04 00 00 00 4B 53 52 5F 54 10 06 00   L_W.....KSR_T...
1800- 00 00 53 45 54 5F 52 45 43 4F 52 44 01 53 50 49   ..SET_RECORD.SPI
1810- 5F 49 4E 49 54 00 53 50 49 5F 4F 4E 00 54 4F 47   _INIT.SPI_ON.TOG
1820- 47 4C 45 5F 42 55 53 50 4F 57 45 52 00 47 45 54   GLE_BUSPOWER.GET
1830- 5F 42 55 53 50 4F 57 45 52 00 53 50 49 5F 4F 46   _BUSPOWER.SPI_OF
1840- 46 01 43 48 49 50 5F 4F 4E 00 43 48 49 50 5F 4F   F.CHIP_ON.CHIP_O
1850- 46 46 00 57 50 4E 5F 4C 4F 57 00 57 50 4E 5F 48   FF.WPN_LOW.WPN_H
1860- 49 47 48 00 43 4C 4F 43 4B 5F 48 49 47 48 00 43   IGH.CLOCK_HIGH.C
1870- 4C 4F 43 4B 5F 4C 4F 57 00 53 4F 5F 48 49 47 48   LOCK_LOW.SO_HIGH
1880- 00 53 4F 5F 4C 4F 57 00 48 4F 4C 44 4E 5F 48 49   .SO_LOW.HOLDN_HI
1890- 47 48 00 48 4F 4C 44 4E 5F 4C 4F 57 00 4F 55 54   GH.HOLDN_LOW.OUT
18A0- 42 49 54 53 02 49 4E 42 49 54 53 01 49 4E 42 59   BITS.INBITS.INBY
18B0- 54 45 00 43 4D 44 03 43 4D 44 5F 44 50 00 43 4D   TE.CMD.CMD_DP.CM
18C0- 44 5F 52 44 49 44 5F 4A 45 44 45 43 00 43 50 4D   D_RDID_JEDEC.CPM
18D0- 5F 50 4F 4C 4C 49 4E 47 00 57 49 50 5F 50 4F 4C   _POLLING.WIP_POL
18E0- 4C 49 4E 47 01 57 49 50 5F 43 48 45 43 4B 02 57   LING.WIP_CHECK.W
18F0- 49 50 5F 54 49 4D 45 4F 55 54 01 43 4D 44 5F 57   IP_TIMEOUT.CMD_W
1900- 52 45 4E 00 43 4D 44 5F 57 52 44 49 00 43 4D 44   REN.CMD_WRDI.CMD
1910- 5F 57 52 53 52 02 43 4D 44 5F 52 44 53 52 01      _WRSR.CMD_RDSR.

______________________________________________________________________________
********************************************************* File starts here ***
Zerocat Chipflasher --- Flash free firmware, kick the Management Engine.

Copyright (C) 2020, 2021, 2022  Kai Mertens 

File SPI-bus.spin --- access chip via SPI Bus

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

******************************************************************************

Object "../../firmware2/src/SPI-bus" Interface:

PUB  set_record(new_record)
PUB  spi_init
PUB  spi_on : 
PUB  toggle_buspower
PUB  get_buspower
PUB  spi_off(mode)
PUB  chip_on
PUB  chip_off
PUB  WPn_low
PUB  WPn_high
PUB  clock_high
PUB  clock_low
PUB  SO_high
PUB  SO_low
PUB  HOLDn_high
PUB  HOLDn_low
PUB  outbits(value, msbit)
PUB  inbits(msbit) : 
PUB  inbyte : 
PUB  cmd(command, value, bits)
PUB  cmd_DP
PUB  cmd_RDID_JEDEC : 
PUB  CPM_polling : 
PUB  WIP_polling(checklimit) : 
PUB  WIP_check(checktype, limit)
PUB  WIP_timeout(timeout_ms)
PUB  cmd_WREN
PUB  cmd_WRDI
PUB  cmd_WRSR(regno, regval)
PUB  cmd_RDSR(regno) : 

Program:  1435 Longs
Variable: 1 Longs

OBJ block:

CON block:
ENUM BUSPOWER_type
ENUM WIPCHECK_type
ENUM MODE_SPI_type
ENUM MODE_SPI_OFF_type
Mode SPI
Power Up Timings in Milliseconds
Status Register Bits, most common, but names vary.
Security Register on some Macronix Types

VAR block:

___________________________
PUB  set_record(new_record)

Setter function for record variable.

_____________
PUB  spi_init


______________
PUB  spi_on : 

Repetitive power on.
This helps to establish proper power on some boards,
e.g.: ThinkPad T60 with SST chip

____________________
PUB  toggle_buspower


_________________
PUB  get_buspower


__________________
PUB  spi_off(mode)

        Switch SPI bus off.

        To enhance security, deep power down is entered right before switching
        off SPI power. When the SPI chip is powered on later with spi_on(),
        it will not start in deep power down mode, but in normal standby mode.

        Leave Propeller pins in tristate condition, they might be used by
        other cogs!

____________
PUB  chip_on

Activate output, CE# goes low.

_____________
PUB  chip_off

Tristate, CE# goes high via pull-up.

____________
PUB  WPn_low

Set #WP low, enable hardware write protection.

_____________
PUB  WPn_high

Set #WP high, disable hardware write protection.

_______________
PUB  clock_high

Set all configured clock pins high.

______________
PUB  clock_low

Set all configured clock pins low.

____________
PUB  SO_high

Set MOSI high.

___________
PUB  SO_low

Set MOSI low.

_______________
PUB  HOLDn_high

Set #HOLD high.

______________
PUB  HOLDn_low

Set #HOLD low.

__________________________
PUB  outbits(value, msbit)


_____________________
PUB  inbits(msbit) : 


______________
PUB  inbyte : 

Read a byte from bus.

______________________________
PUB  cmd(command, value, bits)

Send a command to the bus.

___________
PUB  cmd_DP


______________________
PUB  cmd_RDID_JEDEC : 

Retrieve chipM-bM-^@M-^?s JEDEC ID.

___________________
PUB  CPM_polling : 

Poll status of CPM bit and quit if zero,
or on loop counter overflow.

_______________________________
PUB  WIP_polling(checklimit) : 

Determine end of write cycle by polling the WIP bit.
Number of WIP checks n is one-based.

________________________________
PUB  WIP_check(checktype, limit)

Determine end of write cycle by polling the WIP bit
or by timeout. Return 0 upon on overflow.

____________________________
PUB  WIP_timeout(timeout_ms)

Guess end of write cycle by timeout.

_____________
PUB  cmd_WREN

Set Write Enable Latch bit.

_____________
PUB  cmd_WRDI

Clear Write Enable Latch bit.

____________________________
PUB  cmd_WRSR(regno, regval)

Write to status registers.

_______________________
PUB  cmd_RDSR(regno) : 

Read a chip register.
- regno   Number of the register to be read.
- Value `0` attempts to read the standard Status Register.
- Value `3` attempts to read the Security Register.
- Returns the content of the register.

******************************************************************************
Terms of Use:

Zerocat Chipflasher is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

Zerocat Chipflasher is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License along
with Zerocat Chipflasher.  If not, see <http://www.gnu.org/licenses/>.

************************************************************** End of File ***