Documentation for “Zerocat Chipflasher” as of Sat, 18 Jun 2022 21:45:46 +0200
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v0.6.9
Branch: master

../../firmware2/src/SPI-bus.spin.txt.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 5468 bytes
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: 00000012 (00000004)   NAME: INBYTE
TYPE: 53   VALUE: 00000313 (00000004)   NAME: CMD
TYPE: 53   VALUE: 00000014 (00000004)   NAME: CMD_DP
TYPE: 53   VALUE: 00000015 (00000004)   NAME: CMD_RDID_JEDEC
TYPE: 53   VALUE: 00000016 (00000004)   NAME: CPM_POLLING
TYPE: 53   VALUE: 00000117 (00000004)   NAME: WIP_POLLING
TYPE: 53   VALUE: 00000218 (00000004)   NAME: WIP_CHECK
TYPE: 53   VALUE: 00000119 (00000004)   NAME: WIP_TIMEOUT
TYPE: 53   VALUE: 0000001A (00000004)   NAME: CMD_WREN
TYPE: 53   VALUE: 0000001B (00000004)   NAME: CMD_WRDI
TYPE: 53   VALUE: 0000021C (00000004)   NAME: CMD_WRSR
TYPE: 53   VALUE: 0000011D (00000004)   NAME: CMD_RDSR
TYPE: 53   VALUE: 0000011E (00000005)   NAME: INBITS
TYPE: 4F   VALUE: 0000001F (00000000)   NAME: PINS
TYPE: 4F   VALUE: 00000120 (00000000)   NAME: TIME
TYPE: 4F   VALUE: 00000221 (00000000)   NAME: FLAGS
TYPE: 4F   VALUE: 00000322 (00000000)   NAME: COMMANDS
TYPE: 4F   VALUE: 00000423 (00000000)   NAME: CHIPSPEC
TYPE: 4F   VALUE: 00000524 (00000000)   NAME: JEDEC
TYPE: 51   VALUE: 00000000 (00000000)   NAME: PIN_CEN^A
TYPE: 51   VALUE: 00000001 (00000000)   NAME: PIN_CEN_1^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: LED_YELLOW^A
TYPE: 51   VALUE: 0000000E (00000000)   NAME: LED_ORANGE^A
TYPE: 51   VALUE: 0000000F (00000000)   NAME: LED_GREEN^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: RST_DISABLE^A
TYPE: 51   VALUE: 0000001F (00000000)   NAME: PIN_RX^A
TYPE: 51   VALUE: 0000001E (00000000)   NAME: PIN_TX^A
TYPE: 51   VALUE: 00002000 (00000000)   NAME: BIT_LED_YELLOW^A
TYPE: 51   VALUE: 00004000 (00000000)   NAME: BIT_LED_ORANGE^A
TYPE: 51   VALUE: 00008000 (00000000)   NAME: BIT_LED_GREEN^A
TYPE: 51   VALUE: 00000400 (00000000)   NAME: BIT_PNP^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: BIT_SCLK3^A
TYPE: 51   VALUE: 00000020 (00000000)   NAME: BIT_SCLK2^A
TYPE: 51   VALUE: 00000040 (00000000)   NAME: BIT_SCLK1^A
TYPE: 51   VALUE: 00000080 (00000000)   NAME: BIT_SCLK0^A
TYPE: 51   VALUE: 00000008 (00000000)   NAME: BIT_WPN^A
TYPE: 51   VALUE: 00000100 (00000000)   NAME: BIT_MISO^A
TYPE: 51   VALUE: 00000001 (00000000)   NAME: BIT_CEN^A
TYPE: 51   VALUE: 00000002 (00000000)   NAME: BIT_CEN_1^A
TYPE: 51   VALUE: 00001000 (00000000)   NAME: BIT_HOLDN^A
TYPE: 51   VALUE: 00000004 (00000000)   NAME: BIT_MOSI^A
TYPE: 51   VALUE: 00000200 (00000000)   NAME: BIT_PLUGTESTN^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_ACTIVE^A
TYPE: 50   VALUE: 00000101 (00000000)   NAME: HIGH^A
TYPE: 50   VALUE: 00000102 (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: 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: 00000004 (00000000)   NAME: MSBIT
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R

Distilled longs: 9

OBJ bytes: 6098

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- 04 00 4C 15 DC 03 1F 06 94 00 00 00 98 00 00 00   ..L.............
0010- AA 00 00 00 F7 00 00 00 FC 00 00 00 00 01 04 00   ................
0020- 4B 01 00 00 51 01 00 00 58 01 00 00 5F 01 00 00   K...Q...X..._...
0030- 65 01 00 00 6B 01 00 00 72 01 00 00 78 01 00 00   e...k...r...x...
0040- 7F 01 00 00 85 01 00 00 8C 01 00 00 A8 01 00 00   ................
0050- B1 01 00 00 C2 01 00 00 DD 01 00 00 FD 01 00 00   ................
0060- 1A 02 00 00 3F 02 10 00 9C 02 08 00 BC 02 00 00   ....?...........
0070- CC 02 00 00 DC 02 08 00 65 03 00 00 C2 03 00 00   ........e.......
0080- DC 03 04 00 FC 03 04 00 40 15 04 00 40 15 04 00   ........@...@...
0090- 44 04 04 00 40 15 04 00 64 89 00 32 39 11 FF 38   D...@...d..29..8
00A0- 0A EA E7 3F D6 48 39 11 FF E7 3F D4 48 32 01 05   ...?.H9...?.H2..
00B0- 09 01 05 0F 01 05 0E 38 CA 36 35 0D 04 36 0D 08   .......8.65..6..
00C0- 0C 38 F0 E7 3F D4 48 0C 38 F0 3F D4 4A 0C 3F 96   .8..?.H.8.?.J.?.
00D0- 37 09 E8 E7 0A 10 38 0A 3D D4 18 38 0A 3D D6 1C   7.....8.=..8.=..
00E0- 01 38 1E 06 20 02 38 F0 37 02 EA 37 0B EA 37 01   .8.. .8.7..7..7.
00F0- EA 3F D6 4A 01 38 19 06 20 02 32 36 8A 01 4B 32   .?.J.8.. .26..K2
0100- 88 01 61 32 88 01 0A 04 34 69 04 10 64 36 FC 0A   ..a2....4i..d6..
0110- 04 35 69 04 07 00 88 00 06 23 08 69 64 37 00 FB   .5i......#.id7..
0120- 0A 18 68 FF 0A 0D 00 88 00 37 23 06 23 07 0A 03   ..h......7#.#...
0130- 01 05 14 39 11 FF E7 3F D6 48 68 FF 0A 0A 38 0A   ...9...?.Hh...8.
0140- 3D D6 18 38 0A 3D D4 1C 01 38 64 06 20 02 32 37   =..8.=...8d. .27
0150- 21 3F D6 4A 32 37 21 E7 3F D6 48 32 37 02 E7 3F   !?.J27!.?.H27..?
0160- D4 48 32 37 02 3F D4 4A 32 38 F0 3F D4 4A 32 38   .H27.?.J28.?.J28
0170- F0 E7 3F D4 48 32 37 01 3F D4 4A 32 37 01 E7 3F   ..?.H27.?.J27..?
0180- D4 48 32 37 0B 3F D4 4A 32 37 0B E7 3F D4 48 32   .H27.?.J27..?.H2
0190- 68 0A 18 01 05 0C 64 68 E8 0A 05 01 05 0D 04 03   h.....dh........
01A0- 01 05 0E 01 05 0B 36 6A 42 04 65 32 00 36 37 22   ......6jB.e2.67"
01B0- E3 05 1E 61 32 01 64 36 37 22 E3 05 11 01 68 36   ...a2.d67"....h6
01C0- 6E B6 E3 05 11 32 01 05 07 01 38 B9 36 37 22 E3   n....2....8.67".
01D0- 05 11 01 05 08 35 C0 3A 01 86 A0 F6 3F 91 EC 23   .....5.:....?..#
01E0- 32 01 05 07 01 38 9F 36 37 22 E3 05 11 00 36 38   2....8.67"....68
01F0- 17 E3 05 1E 61 01 35 36 37 22 E3 05 11 01 05 08   ....a.567"......
0200- 32 01 05 07 01 38 05 36 37 22 E3 05 11 00 05 12   2....8.67"......
0210- 37 05 E8 62 A6 F0 0A 02 04 73 01 05 08 32 01 05   7..b.....s...2..
0220- 07 01 38 05 36 37 22 E3 05 11 62 A6 64 F9 00 05   ..8.67"...b.d...
0230- 12 36 E8 F0 0A 02 04 72 01 05 08 60 64 FC 0A 02   .6.....r...`d...
0240- 35 33 32 64 36 FC 0A 2D 68 79 78 3A 0F 42 40 FA   532d6..-hyx:.B@.
0250- 0A 18 78 3A 0F 42 40 F6 75 78 3A 0F 42 40 F7 79   ..x:.B@.ux:.B@.y
0260- 74 08 07 01 36 06 20 01 09 79 01 78 39 03 E8 F6   t...6. ..y.x9...
0270- 06 20 02 04 28 38 06 6A 42 01 05 07 01 38 05 36   . ..(8.jB....8.6
0280- 37 22 E3 05 11 6E A6 68 F9 0A 0F 00 05 12 36 E8   7"...n.h......6.
0290- FF 0A 05 01 05 08 6C 33 04 6B 01 05 08 35 33 32   ......l3.k...532
02A0- 64 39 27 10 F6 69 64 39 27 10 F7 6D 68 08 09 01   d9'..id9'..mh...
02B0- 39 27 10 06 20 02 09 77 01 6C 06 20 02 64 33 32   9'.. ..w.l. .d32
02C0- 01 05 07 01 38 06 36 37 22 E3 05 11 01 05 08 32   ....8.67"......2
02D0- 01 05 07 01 37 01 36 37 22 E3 05 11 01 05 08 32   ....7.67"......2
02E0- 37 22 6D 35 68 EA 71 00 35 05 1D 00 88 00 35 06   7"m5h.q.5.....5.
02F0- 23 09 E8 37 02 E3 72 4A 01 05 07 00 88 00 38 29   #..7..rJ......8)
0300- 06 23 07 0A 0B 01 38 50 36 37 22 E3 05 11 04 09   .#....8P67".....
0310- 01 38 06 36 37 22 E3 05 11 01 05 08 01 05 07 39   .8.67".........9
0320- 03 5B 64 37 00 0D 0C 36 0D 13 01 36 36 37 22 E3   .[d7...6...667".
0330- 05 11 0C 01 38 11 36 37 22 E3 05 11 0C 00 88 00   ....8.67".......
0340- 38 24 06 23 07 E7 0A 0D 37 23 6D 01 36 36 37 22   8$.#....7#m.667"
0350- E3 05 11 04 09 01 38 31 36 37 22 E3 05 11 0C 01   ......8167".....
0360- 70 6C F3 05 11 01 05 08 32 01 05 07 39 03 BA 64   pl......2...9..d
0370- 37 21 0D 11 37 00 0D 17 36 0D 1E 01 38 05 36 37   7!..7...6...8.67
0380- 22 E3 05 11 0C 01 38 2B 36 37 22 E3 05 11 0C 01   ".....8+67".....
0390- 38 15 36 37 22 E3 05 11 0C 00 88 00 06 23 06 3A   8.67"........#.:
03A0- 1F 48 00 FC 0A 0E 01 38 05 36 37 22 E3 05 11 01   .H.....8.67"....
03B0- 05 12 04 09 01 38 35 36 37 22 E3 05 11 0C 00 05   .....8567"......
03C0- 12 61 01 05 08 32 64 0A 15 01 05 0C 3F 92 37 07   .a...2d.....?.7.
03D0- E8 0A 03 64 62 4A 01 05 0B 36 66 42 04 68 32 00   ...dbJ...6fB.h2.
03E0- 20 00 03 00 0C 00 00 00 15 00 00 00 64 3D D4 1C    ...........d=..
03F0- 64 3D D6 1C 32 64 3D D4 18 64 3D D6 1C 32 00 00   d=..2d=..d=..2..
0400- 48 00 05 00 14 00 00 00 21 00 00 00 32 00 00 00   H.......!...2...
0410- 3A 00 00 00 35 C0 64 F4 39 01 7D E4 3F 91 EC 23   :...5.d.9.}.?..#
0420- 32 35 C0 39 03 E8 F6 64 F4 39 01 7D E4 3F 91 EC   25.9...d.9.}.?..
0430- 23 32 35 C0 64 F4 68 EC 23 32 35 C0 39 03 E8 F6   #25.d.h.#25.9...
0440- 64 F4 68 EC 23 32 00 00 D8 10 12 05 80 0F 00 00   d.h.#2..........
0450- 81 0F 00 00 9E 0F 00 00 B0 0F 00 00 BD 0F 00 00   ................
0460- CD 0F 00 00 D9 0F 00 00 00 10 04 00 1A 10 00 00   ................
0470- 28 10 00 00 36 10 00 00 43 10 00 00 51 10 00 00   (...6...C...Q...
0480- 62 10 00 00 6E 10 00 00 83 10 08 00 B3 10 00 00   b...n...........
0490- D8 10 00 00 FC 10 00 00 FC 10 00 00 FC 10 00 00   ................
04A0- FC 10 00 00 FF FF FF FF FF FF FF FF 00 00 00 00   ................
04B0- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
04C0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
04D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
04E0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
04F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0500- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0510- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0520- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0530- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0540- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0550- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0560- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0570- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0580- 20 20 20 20 20 20 20 20 16 70 1C 00 00 00 40 00           .p....@.
0590- 00 00 00 00 F5 DF 07 00 FC 00 00 00 FC 00 00 00   ................
05A0- 80 00 00 00 53 52 42 2F 4C 42 09 57 48 44 49 53   ....SRB/LB.WHDIS
05B0- 09 42 50 33 09 42 50 32 09 42 50 31 09 42 50 30   .BP3.BP2.BP1.BP0
05C0- 09 57 45 4C 09 57 49 50 00 20 20 20 00 20 20 20   .WEL.WIP.   .   
05D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
05E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
05F0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0600- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0610- 20 20 20 20 20 20 20 20 20 20 20 20 00 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 20 20 20 20 20 20 20 20 20 20 20 20                   
0640- 20 20 20 20 45 4E 32 35 51 48 33 32 00 20 20 20       EN25QH32.   
0650- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0660- 20 20 20 20 20 20 20 20 20 20 20 20 17 70 1C 00               .p..
0670- 00 00 80 00 00 00 00 00 F5 DF 07 00 FC 00 00 00   ................
0680- FC 00 00 00 80 00 00 00 53 52 42 2F 4C 42 09 57   ........SRB/LB.W
0690- 48 44 49 53 09 42 50 33 09 42 50 32 09 42 50 31   HDIS.BP3.BP2.BP1
06A0- 09 42 50 30 09 57 45 4C 09 57 49 50 00 20 20 20   .BP0.WEL.WIP.   
06B0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
06C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
06D0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
06E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
06F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0700- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0710- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0720- 20 20 20 20 20 20 20 20 45 4E 32 35 51 48 36 34           EN25QH64
0730- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0740- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0750- 00 46 1F 00 00 00 20 00 C0 00 00 00 FD FF 01 00   .F.... .........
0760- 00 00 00 00 80 00 00 00 00 00 00 00 53 50 52 4C   ............SPRL
0770- 09 2D 09 45 50 45 09 57 50 50 09 53 57 50 31 09   .-.EPE.WPP.SWP1.
0780- 53 57 50 30 09 57 45 4C 09 42 55 53 59 00 20 20   SWP0.WEL.BUSY.  
0790- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
07A0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
07B0- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
07C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
07D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
07E0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
07F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0800- 20 20 20 20 20 20 20 20 20 20 20 20 41 54 32 36               AT26
0810- 44 46 31 36 31 00 20 20 20 20 20 20 20 20 20 20   DF161.          
0820- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0830- 20 20 20 20 00 47 1F 00 00 00 40 00 C0 00 00 00       .G....@.....
0840- BD DF 01 00 00 00 00 00 80 00 00 00 00 00 00 00   ................
0850- 53 50 52 4C 09 2D 09 45 50 45 09 57 50 50 09 53   SPRL.-.EPE.WPP.S
0860- 57 50 31 09 53 57 50 30 09 57 45 4C 09 42 55 53   WP1.SWP0.WEL.BUS
0870- 59 00 20 20 20 20 20 20 00 20 20 20 20 20 20 20   Y.      .       
0880- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0890- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
08A0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
08B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
08C0- 20 20 20 20 20 20 20 20 00 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- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
08F0- 41 54 32 36 44 46 33 32 31 00 20 20 20 20 20 20   AT26DF321.      
0900- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0910- 20 20 20 20 20 20 20 20 00 48 1F 00 00 00 80 00           .H......
0920- D0 00 00 00 BD DF 01 00 00 00 00 00 80 18 00 00   ................
0930- 00 00 00 00 53 50 52 4C 09 2D 09 45 50 45 09 57   ....SPRL.-.EPE.W
0940- 50 50 09 53 57 50 31 09 53 57 50 30 09 57 45 4C   PP.SWP1.SWP0.WEL
0950- 09 42 55 53 59 00 20 20 20 20 20 20 2D 09 2D 09   .BUSY.      -.-.
0960- 2D 09 52 53 54 45 09 53 4C 45 09 50 53 09 45 53   -.RSTE.SLE.PS.ES
0970- 09 42 55 53 59 00 20 20 20 20 20 20 20 20 20 20   .BUSY.          
0980- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0990- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
09A0- 20 20 20 20 20 20 20 20 20 20 20 20 00 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 20 20 20 20 20 20 20 20 20 20 20 20                   
09D0- 20 20 20 20 41 54 32 35 44 46 36 34 31 20 41 54       AT25DF641 AT
09E0- 32 36 44 46 36 34 31 00 20 20 20 20 20 20 20 20   26DF641.        
09F0- 20 20 20 20 20 20 20 20 20 20 20 20 41 25 BF 00               A%..
0A00- 00 00 20 00 00 06 00 00 7D 7F 06 00 00 00 00 00   .. .....}.......
0A10- 9C 00 00 00 00 00 00 00 42 50 4C 09 41 41 49 09   ........BPL.AAI.
0A20- 2D 09 42 50 32 09 42 50 31 09 42 50 30 09 57 45   -.BP2.BP1.BP0.WE
0A30- 4C 09 42 55 53 59 00 20 20 20 20 20 20 20 20 20   L.BUSY.         
0A40- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0A50- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A60- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0A70- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A80- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0A90- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0AA0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0AB0- 20 20 20 20 20 20 20 20 53 53 54 32 35 56 46 30           SST25VF0
0AC0- 31 36 42 00 20 20 20 20 20 20 20 20 20 20 20 20   16B.            
0AD0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0AE0- 8E 25 BF 00 00 00 80 00 00 06 00 00 7D 5F 06 00   .%..........}_..
0AF0- 00 00 00 00 9C 00 00 00 00 00 00 00 42 50 4C 09   ............BPL.
0B00- 41 41 49 09 42 50 33 09 42 50 32 09 42 50 31 09   AAI.BP3.BP2.BP1.
0B10- 42 50 30 09 57 45 4C 09 42 55 53 59 00 20 20 20   BP0.WEL.BUSY.   
0B20- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0B30- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B40- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0B50- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B60- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B70- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0B80- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0B90- 20 20 20 20 20 20 20 20 20 20 20 20 53 53 54 32               SST2
0BA0- 35 56 46 30 38 30 42 00 20 20 20 20 20 20 20 20   5VF080B.        
0BB0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0BC0- 20 20 20 20 14 20 C2 00 00 00 80 00 00 00 00 00       . ..........
0BD0- F5 DF 07 00 9C 00 00 00 9C 00 00 00 00 00 00 00   ................
0BE0- 53 52 57 44 09 2D 09 2D 09 42 50 32 09 42 50 31   SRWD.-.-.BP2.BP1
0BF0- 09 42 50 30 09 57 45 4C 09 57 49 50 00 20 20 20   .BP0.WEL.WIP.   
0C00- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0C10- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C20- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C30- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0C40- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C50- 20 20 20 20 20 20 20 20 00 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- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0C80- 4D 58 32 35 4C 38 30 30 35 00 20 20 20 20 20 20   MX25L8005.      
0C90- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0CA0- 20 20 20 20 20 20 20 20 15 20 C2 00 00 00 20 00           . .... .
0CB0- 0C 00 00 00 F5 DF 07 00 9C 00 00 03 9C 00 00 02   ................
0CC0- 00 00 00 02 53 52 57 44 09 2D 09 2D 09 42 50 32   ....SRWD.-.-.BP2
0CD0- 09 42 50 31 09 42 50 30 09 57 45 4C 09 57 49 50   .BP1.BP0.WEL.WIP
0CE0- 00 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20   .           .   
0CF0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D00- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D10- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0D20- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0D30- 20 20 20 20 20 20 20 20 20 20 20 20 2D 09 2D 09               -.-.
0D40- 2D 09 2D 09 2D 09 2D 09 4C 44 53 4F 09 53 4F 54   -.-.-.-.LDSO.SOT
0D50- 50 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20   P.              
0D60- 20 20 20 20 2A 4D 58 32 35 4C 31 36 30 35 44 20       *MX25L1605D 
0D70- 4D 58 32 35 4C 31 36 30 36 45 00 20 20 20 20 20   MX25L1606E.     
0D80- 20 20 20 20 20 20 20 20 20 20 20 20 16 20 C2 00               . ..
0D90- 00 00 40 00 0C 00 00 00 F5 DF 07 00 BC 00 00 03   ..@.............
0DA0- BC 00 00 02 00 00 00 02 53 52 57 44 09 2D 09 42   ........SRWD.-.B
0DB0- 50 33 09 42 50 32 09 42 50 31 09 42 50 30 09 57   P3.BP2.BP1.BP0.W
0DC0- 45 4C 09 57 49 50 00 20 20 20 20 20 20 20 20 20   EL.WIP.         
0DD0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0DE0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0DF0- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0E00- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E10- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E20- 2D 09 2D 09 2D 09 2D 09 2D 09 2D 09 4C 44 53 4F   -.-.-.-.-.-.LDSO
0E30- 09 53 4F 54 50 00 20 20 20 20 20 20 20 20 20 20   .SOTP.          
0E40- 20 20 20 20 20 20 20 20 2A 4D 58 32 35 4C 33 32           *MX25L32
0E50- 30 35 44 20 4D 58 32 35 4C 33 32 30 36 45 00 20   05D MX25L3206E. 
0E60- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0E70- 17 20 C2 00 00 00 80 00 0C 00 00 00 F5 DF 07 00   . ..............
0E80- BC 00 00 03 BC 00 00 02 00 00 00 02 53 52 57 44   ............SRWD
0E90- 09 43 50 09 42 50 33 09 42 50 32 09 42 50 31 09   .CP.BP3.BP2.BP1.
0EA0- 42 50 30 09 57 45 4C 09 57 49 50 00 20 20 20 20   BP0.WEL.WIP.    
0EB0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
0EC0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0ED0- 20 20 20 20 20 20 20 20 20 20 20 20 00 20 20 20               .   
0EE0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0EF0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0F00- 20 20 20 20 2D 09 2D 09 2D 09 2D 09 2D 09 2D 09       -.-.-.-.-.-.
0F10- 4C 44 53 4F 09 53 4F 54 50 00 20 20 20 20 20 20   LDSO.SOTP.      
0F20- 20 20 20 20 20 20 20 20 20 20 20 20 2A 4D 58 32               *MX2
0F30- 35 4C 36 34 30 35 44 20 4D 58 32 35 4C 36 34 30   5L6405D MX25L640
0F40- 36 45 20 4D 58 32 35 4C 36 34 34 35 45 00 20 20   6E MX25L6445E.  
0F50- 20 20 20 20 18 20 C2 00 00 00 00 01 0C 04 00 00       . ..........
0F60- FD DF 07 00 FC 00 00 83 FC 00 00 82 00 00 00 82   ................
0F70- 53 52 57 44 09 51 45 09 42 50 33 09 42 50 32 09   SRWD.QE.BP3.BP2.
0F80- 42 50 31 09 42 50 30 09 57 45 4C 09 57 49 50 00   BP1.BP0.WEL.WIP.
0F90- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
0FA0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0FB0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0FC0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
0FD0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
0FE0- 20 20 20 20 20 20 20 20 57 50 53 45 4C 09 45 46           WPSEL.EF
0FF0- 41 49 4C 09 50 46 41 49 4C 09 43 50 5F 4D 4F 44   AIL.PFAIL.CP_MOD
1000- 45 09 2D 09 2D 09 4C 44 53 4F 09 53 4F 54 50 00   E.-.-.LDSO.SOTP.
1010- 4D 58 32 35 4C 31 32 38 33 35 45 00 20 20 20 20   MX25L12835E.    
1020- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1030- 20 20 20 20 20 20 20 20 13 30 EF 00 00 00 08 00           .0......
1040- 00 00 00 00 D5 DF 05 00 BC 00 00 00 BC 00 00 00   ................
1050- 00 00 00 00 53 52 50 09 2D 09 54 42 09 42 50 32   ....SRP.-.TB.BP2
1060- 09 42 50 31 09 42 50 30 09 57 45 4C 09 42 55 53   .BP1.BP0.WEL.BUS
1070- 59 00 20 20 20 20 20 20 20 20 20 20 00 20 20 20   Y.          .   
1080- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1090- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
10A0- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
10B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
10C0- 20 20 20 20 20 20 20 20 20 20 20 20 00 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 20 20 20 20 20 20 20 20 20 20 20 20                   
10F0- 20 20 20 20 57 32 35 58 34 30 00 20 20 20 20 20       W25X40.     
1100- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1110- 20 20 20 20 20 20 20 20 20 20 20 20 17 30 EF 00               .0..
1120- 00 00 80 00 00 00 00 00 D5 DF 07 00 BC 00 00 00   ................
1130- BC 00 00 00 00 00 00 00 53 52 50 09 2D 09 54 42   ........SRP.-.TB
1140- 09 42 50 32 09 42 50 31 09 42 50 30 09 57 45 4C   .BP2.BP1.BP0.WEL
1150- 09 42 55 53 59 00 20 20 20 20 20 20 20 20 20 20   .BUSY.          
1160- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
1170- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1180- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
1190- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11A0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11B0- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
11C0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11D0- 20 20 20 20 20 20 20 20 57 32 35 58 36 34 00 20           W25X64. 
11E0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
11F0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1200- 16 40 EF 00 00 00 40 00 33 00 00 00 FD DE 07 00   .@....@.3.......
1210- FC 7B E4 00 FC 7B E4 00 00 38 00 00 53 52 50 09   .{...{...8..SRP.
1220- 53 45 43 09 54 42 09 42 50 32 09 42 50 31 09 42   SEC.TB.BP2.BP1.B
1230- 50 30 09 57 45 4C 09 42 55 53 59 00 20 20 20 20   P0.WEL.BUSY.    
1240- 20 20 20 20 53 55 53 09 43 4D 50 09 4C 42 33 09       SUS.CMP.LB3.
1250- 4C 42 32 09 4C 42 31 09 2D 09 51 45 09 53 52 50   LB2.LB1.-.QE.SRP
1260- 31 00 20 20 20 20 20 20 20 20 20 20 48 4C 44 2F   1.          HLD/
1270- 52 53 54 09 44 52 56 31 09 44 52 56 30 09 2D 09   RST.DRV1.DRV0.-.
1280- 2D 09 57 50 53 09 2D 09 2D 00 20 20 20 20 20 20   -.WPS.-.-.      
1290- 20 20 20 20 00 20 20 20 20 20 20 20 20 20 20 20       .           
12A0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12B0- 20 20 20 20 20 20 20 20 20 20 20 20 57 32 35 51               W25Q
12C0- 33 32 46 56 00 20 20 20 20 20 20 20 20 20 20 20   32FV.           
12D0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
12E0- 20 20 20 20 17 40 EF 00 00 00 80 00 30 00 00 00       .@......0...
12F0- FD DE 07 00 FC 7B 00 00 FC 7B 00 00 00 38 00 00   .....{...{...8..
1300- 53 52 50 30 09 53 45 43 09 54 42 09 42 50 32 09   SRP0.SEC.TB.BP2.
1310- 42 50 31 09 42 50 30 09 57 45 4C 09 42 55 53 59   BP1.BP0.WEL.BUSY
1320- 00 20 20 20 20 20 20 20 53 55 53 09 43 4D 50 09   .       SUS.CMP.
1330- 4C 42 33 09 4C 42 32 09 4C 42 31 09 2D 09 51 45   LB3.LB2.LB1.-.QE
1340- 09 53 52 50 31 00 20 20 20 20 20 20 20 20 20 20   .SRP1.          
1350- 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .               
1360- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1370- 20 20 20 20 20 20 20 20 00 20 20 20 20 20 20 20           .       
1380- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
1390- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
13A0- 57 32 35 51 36 34 46 56 00 20 20 20 20 20 20 20   W25Q64FV.       
13B0- 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                   
13C0- 20 20 20 20 20 20 20 20 32 00 64 38 05 05 07 0A           2.d8....
13D0- 05 38 60 61 04 0F 00 64 38 06 05 07 0A 05 38 C7   .8`a...d8.....8.
13E0- 61 04 02 34 61 32 38 11 08 0D 64 00 60 05 06 FC   a..4a28...d.`...
13F0- 0A 01 32 62 2E 09 73 32 66 2E 64 38 11 FC 0A 02   ..2b..s2f.d8....
1400- 35 65 64 61 32 66 3E 66 90 35 F9 0A 05 38 11 36   5eda2f>f.5...8.6
1410- ED 65 64 61 32 C7 5C 64 38 E4 F4 35 EC EC C0 61   .eda2.\d8..5...a
1420- 32 35 61 68 37 04 F9 0A 0E 00 64 35 05 11 68 F3   25ah7.....d5..h.
1430- E8 0A 02 34 33 04 10 37 24 6A 48 00 64 36 05 11   ...43..7$jH.d6..
1440- 68 F3 E8 0A 02 34 33 32 35 69 C7 5C 64 38 E4 F4   h....4325i.\d8..
1450- 37 03 EC 68 EC 90 62 4A 35 37 21 6A 02 6C 35 62   7..h..bJ57!j.l5b
1460- 5C 32 C7 5C 64 38 E4 F4 38 14 EC 68 EC 90 61 32   \2.\d8..8..h..a2
1470- C7 5C 64 38 E4 F4 38 18 EC 68 EC 90 61 32 C7 5C   .\d8..8..h..a2.\
1480- 64 38 E4 F4 37 01 EC EC C0 61 32 C7 5C 64 38 E4   d8..7....a2.\d8.
1490- F4 37 03 EC 68 EC 90 61 32 C7 5C 64 38 E4 F4 EC   .7..h..a2.\d8...
14A0- 38 1C EC 68 38 28 F4 EC 61 32 C7 5C 64 38 E4 F4   8..h8(..a2.\d8..
14B0- EC 38 BC EC 61 32 00 64 37 22 05 07 0A 0A 00 64   .8..a2.d7".....d
14C0- 05 0B 37 07 F6 61 04 02 34 61 32 00 64 05 0B 36   ..7..a..4a2.d..6
14D0- ED 69 68 37 07 F9 0A 04 36 6D 04 19 68 37 0F F9   .ih7....6m..h7..
14E0- 0A 05 37 00 6D 04 0E 68 37 17 F9 0A 05 37 21 6D   ..7.m..h7....7!m
14F0- 04 03 37 01 6D 6C 37 21 E3 61 32 39 10 D4 68 35   ..7.ml7!.a29..h5
1500- 0D 0D C7 5C 64 38 E4 F4 37 02 EC EC C0 61 0C C7   ...\d8..7....a..
1510- 5C 64 38 E4 F4 38 0C EC EC C0 61 0C 32 00 00 00   \d8..8....a.2...
1520- 24 00 04 00 10 00 00 00 11 00 00 00 1C 00 00 00   $...............
1530- 32 64 37 24 FA 64 37 26 F9 F0 61 32 64 38 0D FC   2d7$.d7&..a2d8..
1540- 61 32 00 00 0C 00 02 00 08 00 00 00 32 00 00 00   a2..........2...
1550- 27 57 49 50 43 48 45 43 4B 5F 50 4F 4C 4C 49 4E   'WIPCHECK_POLLIN
1560- 47 10 00 00 00 00 57 49 50 43 48 45 43 4B 5F 54   G.....WIPCHECK_T
1570- 49 4D 45 4F 55 54 10 01 00 00 00 4D 4F 44 45 5F   IMEOUT.....MODE_
1580- 53 50 49 5F 30 10 00 00 00 00 4D 4F 44 45 5F 53   SPI_0.....MODE_S
1590- 50 49 5F 33 10 01 00 00 00 4D 4F 44 45 5F 53 50   PI_3.....MODE_SP
15A0- 49 5F 4F 46 46 5F 4E 4F 52 4D 41 4C 10 00 00 00   I_OFF_NORMAL....
15B0- 00 4D 4F 44 45 5F 53 50 49 5F 4F 46 46 5F 46 4F   .MODE_SPI_OFF_FO
15C0- 52 43 45 10 01 00 00 00 4D 4F 44 45 5F 53 50 49   RCE.....MODE_SPI
15D0- 5F 4F 46 46 5F 50 4F 57 45 52 10 02 00 00 00 4D   _OFF_POWER.....M
15E0- 4F 44 45 5F 53 50 49 10 01 00 00 00 50 4F 57 45   ODE_SPI.....POWE
15F0- 52 55 50 5F 53 50 49 10 1E 00 00 00 50 4F 57 45   RUP_SPI.....POWE
1600- 52 55 50 5F 53 50 49 4C 49 4E 45 53 10 19 00 00   RUP_SPILINES....
1610- 00 50 4F 57 45 52 55 50 5F 4F 46 46 54 49 4D 45   .POWERUP_OFFTIME
1620- 10 64 00 00 00 50 4F 57 45 52 55 50 5F 45 58 54   .d...POWERUP_EXT
1630- 52 41 10 02 00 00 00 53 52 57 44 10 80 00 00 00   RA.....SRWD.....
1640- 43 50 4D 10 40 00 00 00 42 50 33 10 20 00 00 00   CPM.@...BP3. ...
1650- 42 50 32 10 10 00 00 00 42 50 31 10 08 00 00 00   BP2.....BP1.....
1660- 42 50 30 10 04 00 00 00 57 45 4C 10 02 00 00 00   BP0.....WEL.....
1670- 57 49 50 10 01 00 00 00 53 4F 54 50 49 10 01 00   WIP.....SOTPI...
1680- 00 00 4C 44 53 4F 10 02 00 00 00 54 5F 52 57 10   ..LDSO.....T_RW.
1690- 0A 00 00 00 54 5F 50 50 10 88 13 00 00 4B 53 52   ....T_PP.....KSR
16A0- 5F 42 50 10 04 00 00 00 4B 53 4C 5F 57 10 04 00   _BP.....KSL_W...
16B0- 00 00 4B 53 52 5F 54 10 06 00 00 00 53 45 54 5F   ..KSR_T.....SET_
16C0- 52 45 43 4F 52 44 01 53 50 49 5F 49 4E 49 54 00   RECORD.SPI_INIT.
16D0- 53 50 49 5F 4F 4E 00 54 4F 47 47 4C 45 5F 42 55   SPI_ON.TOGGLE_BU
16E0- 53 50 4F 57 45 52 00 47 45 54 5F 42 55 53 50 4F   SPOWER.GET_BUSPO
16F0- 57 45 52 00 53 50 49 5F 4F 46 46 01 43 48 49 50   WER.SPI_OFF.CHIP
1700- 5F 4F 4E 00 43 48 49 50 5F 4F 46 46 00 57 50 4E   _ON.CHIP_OFF.WPN
1710- 5F 4C 4F 57 00 57 50 4E 5F 48 49 47 48 00 43 4C   _LOW.WPN_HIGH.CL
1720- 4F 43 4B 5F 48 49 47 48 00 43 4C 4F 43 4B 5F 4C   OCK_HIGH.CLOCK_L
1730- 4F 57 00 53 4F 5F 48 49 47 48 00 53 4F 5F 4C 4F   OW.SO_HIGH.SO_LO
1740- 57 00 48 4F 4C 44 4E 5F 48 49 47 48 00 48 4F 4C   W.HOLDN_HIGH.HOL
1750- 44 4E 5F 4C 4F 57 00 4F 55 54 42 49 54 53 02 49   DN_LOW.OUTBITS.I
1760- 4E 42 59 54 45 00 43 4D 44 03 43 4D 44 5F 44 50   NBYTE.CMD.CMD_DP
1770- 00 43 4D 44 5F 52 44 49 44 5F 4A 45 44 45 43 00   .CMD_RDID_JEDEC.
1780- 43 50 4D 5F 50 4F 4C 4C 49 4E 47 00 57 49 50 5F   CPM_POLLING.WIP_
1790- 50 4F 4C 4C 49 4E 47 01 57 49 50 5F 43 48 45 43   POLLING.WIP_CHEC
17A0- 4B 02 57 49 50 5F 54 49 4D 45 4F 55 54 01 43 4D   K.WIP_TIMEOUT.CM
17B0- 44 5F 57 52 45 4E 00 43 4D 44 5F 57 52 44 49 00   D_WREN.CMD_WRDI.
17C0- 43 4D 44 5F 57 52 53 52 02 43 4D 44 5F 52 44 53   CMD_WRSR.CMD_RDS
17D0- 52 01                                             R.

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

Copyright (C) 2021  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  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:  1363 Longs
Variable: 1 Longs

OBJ block:

CON block:
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 : 

        Initialize SPI bus; activate hardware write protection.

        Initialise Propeller pins attached to SPI lines:
        - Activate pnp mosfet and power chip on.
        - Activate hardware write protection.
        - PIN_MISO is always tristate, for it is used as input.
        - Setup clock level according to @ref spimode.
        - Activate selected clock pins.

____________________
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  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 ***