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

../../firmware2/src/pccom.spin.connect.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/pccom.spin
|-pins.spin
|-ASCII.spin
|-connect.spin
  |-ASCII.spin
|-time.spin
|-FullDuplexSerial.spin
Done.
Program size is 1808 bytes
TYPE: 43   VALUE: 00000000 (00000000)   NAME: FDS_MODE
TYPE: 43   VALUE: 0000000A (00000000)   NAME: RX_TIMEOUT
TYPE: 43   VALUE: 0001C200 (00000000)   NAME: PC_BAUDRATE
TYPE: 43   VALUE: 00000014 (00000000)   NAME: STACKSIZE
TYPE: 43   VALUE: 00000000 (00000000)   NAME: TXMODE_START
TYPE: 43   VALUE: 00000001 (00000000)   NAME: TXMODE_CONTINUE
TYPE: 43   VALUE: 00000002 (00000000)   NAME: TXMODE_STOP
TYPE: 53   VALUE: 00000001 (00000004)   NAME: START
TYPE: 53   VALUE: 00000002 (00000004)   NAME: STOP
TYPE: 53   VALUE: 00000003 (00000004)   NAME: RXFLUSH
TYPE: 53   VALUE: 00000004 (00000004)   NAME: RX
TYPE: 53   VALUE: 00000105 (00000004)   NAME: RXTIME
TYPE: 53   VALUE: 00000106 (00000004)   NAME: TX
TYPE: 53   VALUE: 00000107 (00000004)   NAME: DEC
TYPE: 53   VALUE: 00000308 (00000004)   NAME: PDECX
TYPE: 53   VALUE: 00000209 (00000004)   NAME: HEX
TYPE: 53   VALUE: 0000020A (00000004)   NAME: PHEX
TYPE: 53   VALUE: 0000010B (00000004)   NAME: STR
TYPE: 53   VALUE: 0000020C (00000004)   NAME: TXBUF
TYPE: 53   VALUE: 0000000D (00000004)   NAME: HELLO
TYPE: 53   VALUE: 0000000E (00000004)   NAME: ABOUT
TYPE: 53   VALUE: 0000000F (00000004)   NAME: CONNECTION
TYPE: 53   VALUE: 00000010 (00000004)   NAME: NEWLINE
TYPE: 53   VALUE: 00000111 (00000004)   NAME: CLEARLINE
TYPE: 53   VALUE: 00000012 (00000005)   NAME: INIT
TYPE: 53   VALUE: 00000013 (00000005)   NAME: COMM
TYPE: 4F   VALUE: 00000014 (00000000)   NAME: PINS
TYPE: 4F   VALUE: 00000115 (00000000)   NAME: ASC
TYPE: 4F   VALUE: 00000216 (00000000)   NAME: CONNECT
TYPE: 4F   VALUE: 00000317 (00000000)   NAME: TIME
TYPE: 4F   VALUE: 00000418 (00000000)   NAME: FDS
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: 00000000 (00000000)   NAME: NUL^B
TYPE: 51   VALUE: 00000001 (00000000)   NAME: SOH^B
TYPE: 51   VALUE: 00000002 (00000000)   NAME: STX^B
TYPE: 51   VALUE: 00000003 (00000000)   NAME: ETX^B
TYPE: 51   VALUE: 00000004 (00000000)   NAME: EOT^B
TYPE: 51   VALUE: 00000005 (00000000)   NAME: ENQ^B
TYPE: 51   VALUE: 00000006 (00000000)   NAME: ACK^B
TYPE: 51   VALUE: 00000008 (00000000)   NAME: BS^B
TYPE: 51   VALUE: 00000009 (00000000)   NAME: HT^B
TYPE: 51   VALUE: 0000000A (00000000)   NAME: LF^B
TYPE: 51   VALUE: 0000000A (00000000)   NAME: NL^B
TYPE: 51   VALUE: 0000000A (00000000)   NAME: NEW_LINE^B
TYPE: 51   VALUE: 0000000D (00000000)   NAME: CR^B
TYPE: 51   VALUE: 0000000D (00000000)   NAME: CARR_RET^B
TYPE: 51   VALUE: 00000015 (00000000)   NAME: NAK^B
TYPE: 51   VALUE: 00000016 (00000000)   NAME: SYN^B
TYPE: 51   VALUE: 00000017 (00000000)   NAME: ETB^B
TYPE: 51   VALUE: 00000018 (00000000)   NAME: CAN^B
TYPE: 51   VALUE: 00000019 (00000000)   NAME: EM^B
TYPE: 51   VALUE: 0000001A (00000000)   NAME: SUBST^B
TYPE: 51   VALUE: 0000001B (00000000)   NAME: ESC^B
TYPE: 51   VALUE: 0000001C (00000000)   NAME: FS^B
TYPE: 51   VALUE: 0000001D (00000000)   NAME: GS^B
TYPE: 51   VALUE: 0000001E (00000000)   NAME: RS^B
TYPE: 51   VALUE: 0000001F (00000000)   NAME: US^B
TYPE: 51   VALUE: 00000020 (00000000)   NAME: SPACE^B
TYPE: 51   VALUE: 00000022 (00000000)   NAME: QUOTE^B
TYPE: 51   VALUE: 00000060 (00000000)   NAME: QUOTESL^B
TYPE: 51   VALUE: 00000027 (00000000)   NAME: QUOTESR^B
TYPE: 51   VALUE: 0000002F (00000000)   NAME: SLASH^B
TYPE: 51   VALUE: 0000003D (00000000)   NAME: EQUAL^B
TYPE: 50   VALUE: 00000101 (00000000)   NAME: ISPRINT^B
TYPE: 50   VALUE: 00000102 (00000000)   NAME: ISCR^B
TYPE: 51   VALUE: 00000020 (00000000)   NAME: CHIP_TO_FILE^C
TYPE: 51   VALUE: 00000021 (00000000)   NAME: CHIP_TO_FILE_NOSCREEN^C
TYPE: 51   VALUE: 00000022 (00000000)   NAME: FILE_TO_CHIP^C
TYPE: 51   VALUE: 00000023 (00000000)   NAME: FILE_TO_CHIP_NOSCREEN^C
TYPE: 51   VALUE: 00000000 (00000000)   NAME: ERRC__SUCCESS^C
TYPE: 51   VALUE: 00000001 (00000000)   NAME: ERRC__NO_SREC^C
TYPE: 51   VALUE: 00000002 (00000000)   NAME: ERRC__NO_HEX_DIGIT^C
TYPE: 51   VALUE: 00000003 (00000000)   NAME: ERRC__LINE_ENDING_ERROR^C
TYPE: 51   VALUE: 00000004 (00000000)   NAME: ERRC__LINE_COUNT_MISMATCH^C
TYPE: 51   VALUE: 00000005 (00000000)   NAME: ERRC__LINE_TOO_LONG^C
TYPE: 51   VALUE: 00000006 (00000000)   NAME: ERRC__BUFFER_OVERRUN^C
TYPE: 51   VALUE: 00000007 (00000000)   NAME: ERRC__HEXD_PARSE_ERROR^C
TYPE: 51   VALUE: 00000008 (00000000)   NAME: ERRC__NO_SUCH_FILE^C
TYPE: 51   VALUE: 00000009 (00000000)   NAME: ERRC__JOB_CANCELLATION^C
TYPE: 51   VALUE: 0000000A (00000000)   NAME: ERRC__PORT_OPEN_FAILURE^C
TYPE: 51   VALUE: 0000000B (00000000)   NAME: ERRC__INVALID_ADDRESS^C
TYPE: 51   VALUE: 0000000C (00000000)   NAME: ERRC__DEBUG^C
TYPE: 51   VALUE: 0000000D (00000000)   NAME: ERRC__CHECKSUM_MISMATCH^C
TYPE: 51   VALUE: 0000000E (00000000)   NAME: ERRC__LINE_LENGTH_MISMATCH^C
TYPE: 51   VALUE: 0000000F (00000000)   NAME: ERRC__WRONG_CHARACTER^C
TYPE: 51   VALUE: 00000010 (00000000)   NAME: ERRC__LINE_TIMEOUT^C
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^C
TYPE: 51   VALUE: 00000001 (00000000)   NAME: SOH^C
TYPE: 51   VALUE: 00000004 (00000000)   NAME: EOT^C
TYPE: 51   VALUE: 00000005 (00000000)   NAME: ENQ^C
TYPE: 51   VALUE: 00000006 (00000000)   NAME: ACK^C
TYPE: 51   VALUE: 00000015 (00000000)   NAME: NAK^C
TYPE: 51   VALUE: 00000018 (00000000)   NAME: CAN^C
TYPE: 51   VALUE: 00000002 (00000000)   NAME: STX^C
TYPE: 51   VALUE: 00000003 (00000000)   NAME: ETX^C
TYPE: 51   VALUE: 0000000D (00000000)   NAME: CR^C
TYPE: 51   VALUE: 0000000A (00000000)   NAME: LF^C
TYPE: 51   VALUE: 0000001E (00000000)   NAME: INPUT_START^C
TYPE: 51   VALUE: 0000001F (00000000)   NAME: INPUT_STOP^C
TYPE: 51   VALUE: 0000017D (00000000)   NAME: SPIN_OVERHEAD^D
TYPE: 51   VALUE: 00000032 (00000000)   NAME: FDS_STOP^D
TYPE: 51   VALUE: 00000064 (00000000)   NAME: TCOOL_LINE^D
TYPE: 51   VALUE: 000004B0 (00000000)   NAME: TCOOL_BLOCK^D
TYPE: 50   VALUE: 00000101 (00000000)   NAME: SLEEP^D
TYPE: 50   VALUE: 00000102 (00000000)   NAME: SLEEP_MS^D
TYPE: 50   VALUE: 00000203 (00000000)   NAME: WAIT^D
TYPE: 50   VALUE: 00000204 (00000000)   NAME: WAIT_MS^D
TYPE: 50   VALUE: 00000401 (00000000)   NAME: START^E
TYPE: 50   VALUE: 00000002 (00000000)   NAME: STOP^E
TYPE: 50   VALUE: 00000003 (00000000)   NAME: RXFLUSH^E
TYPE: 50   VALUE: 00000004 (00000000)   NAME: RXCHECK^E
TYPE: 50   VALUE: 00000105 (00000000)   NAME: RXTIME^E
TYPE: 50   VALUE: 00000006 (00000000)   NAME: RX^E
TYPE: 50   VALUE: 00000107 (00000000)   NAME: TX^E
TYPE: 50   VALUE: 00000108 (00000000)   NAME: STR^E
TYPE: 50   VALUE: 00000109 (00000000)   NAME: WBUF^E
TYPE: 50   VALUE: 0000010A (00000000)   NAME: DEC^E
TYPE: 50   VALUE: 0000020B (00000000)   NAME: HEX^E
TYPE: 50   VALUE: 0000020C (00000000)   NAME: BIN^E
TYPE: 43   VALUE: 0000001E (00000000)   NAME: PIN_TX
TYPE: 43   VALUE: 0000001F (00000000)   NAME: PIN_RX
TYPE: 43   VALUE: 00000032 (00000000)   NAME: FDS_STOP
TYPE: 47   VALUE: 00000000 (00000000)   NAME: BUFTXPTR
TYPE: 47   VALUE: 00000004 (00000000)   NAME: STACK
TYPE: 45   VALUE: 00000000 (00000000)   NAME: COG2
TYPE: 45   VALUE: 00000001 (00000000)   NAME: BUFTX_CONTAINS_DATA
TYPE: 45   VALUE: 00000002 (00000000)   NAME: LOCK_TXLINE
TYPE: 45   VALUE: 00000003 (00000000)   NAME: LOCK_RXLINE
TYPE: 48   VALUE: 00000064 (00000000)   NAME: CRLF
TYPE: 48   VALUE: 00000066 (00000002)   NAME: NULL
TYPE: 48   VALUE: 00000067 (00000003)   NAME: DRVID
TYPE: 48   VALUE: 0000006D (00000009)   NAME: DRVVERSION
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: TIMEOUT
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: B
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: B
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: PREFIX
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: B
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: SUFFIX
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: B
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: DIGITS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: B
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: DIGITS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: STRPTR
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: SRCPTR
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: TXMODE
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: LINELEN
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: INDEX

Distilled longs: 8

OBJ bytes: 2045

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- A0 00 00 07 98 02 14 05 74 00 00 00 B3 00 00 00   ........t.......
0010- EE 00 00 00 FE 00 00 00 0F 01 00 00 21 01 00 00   ............!...
0020- 32 01 00 00 43 01 00 00 5E 01 00 00 70 01 00 00   2...C...^...p...
0030- 88 01 00 00 9A 01 00 00 D5 01 00 00 EB 01 00 00   ................
0040- 0E 02 00 00 60 02 00 00 66 02 00 00 7B 02 00 00   ....`...f...{...
0050- 7F 02 04 00 98 02 58 00 C8 03 58 00 B8 03 58 00   ......X...X...X.
0060- E8 03 58 00 30 04 58 00 0D 0A 00 70 63 63 6F 6D   ..X.0.X....pccom
0070- 00 76 30 2E 30 2E 30 00 01 05 12 29 8A 56 80 35   .v0.0.0....).V.5
0080- FE 0B 02 04 76 29 8A 57 80 35 FE 0B 02 04 76 00   ....v).W.5....v.
0090- 37 24 38 1E 35 3A 01 C2 00 06 18 01 34 FC 0B 02   7$8.5:......4...
00A0- 04 6D 01 06 18 03 38 13 47 15 28 36 EC 8A 54 80   .m....8.G.(6..T.
00B0- 35 FA 0B 02 04 70 32 88 55 36 FC 0A 02 04 78 88   5....p2.U6....x.
00C0- 54 0A 22 88 56 2A FF 0B 02 04 78 88 57 2A FF 0B   T.".V*....x.W*..
00D0- 02 04 78 8A 54 98 36 ED 21 88 57 2F 88 56 2F 88   ..x.T.6.!.W/.V/.
00E0- 57 22 88 56 22 01 38 32 3F 91 06 17 04 01 06 18   W".V".82?.......
00F0- 02 32 88 57 2A FF 0B 02 04 78 01 06 18 03 88 57   .2.W*....x.....W
0100- 2F 32 88 57 2A FF 0B 02 04 78 00 06 18 06 61 88   /2.W*....x....a.
0110- 57 2F 32 88 57 2A FF 0B 02 04 78 00 64 06 18 05   W/2.W*....x.d...
0120- 61 88 57 2F 32 88 56 2A FF 0B 02 04 78 01 64 06   a.W/2.V*....x.d.
0130- 18 07 88 56 2F 32 88 56 2A FF 0B 02 04 78 01 64   ...V/2.V*....x.d
0140- 06 18 0A 88 56 2F 32 88 56 2A FF 0B 02 04 78 01   ....V/2.V*....x.
0150- 64 06 18 08 01 68 06 18 0A 01 6C 06 18 08 88 56   d....h....l....V
0160- 2F 32 88 56 2A FF 0B 02 04 78 01 64 68 06 18 0B   /2.V*....x.dh...
0170- 88 56 2F 32 88 56 2A FF 0B 02 04 78 01 38 24 06   .V/2.V*....x.8$.
0180- 18 07 01 64 68 06 18 0B 88 56 2F 32 88 56 2A FF   ...dh....V/2.V*.
0190- 0B 02 04 78 00 64 06 18 08 61 88 56 2F 32 38 06   ...x.d...a.V/28.
01A0- 61 68 35 FB 0A 21 00 05 04 61 60 38 05 FB 0A 02   ah5..!...a`8....
01B0- 04 0D 88 55 36 FC 0A 02 04 78 36 89 55 04 67 88   ...U6....x6.U.g.
01C0- 55 36 FC 0A 02 04 78 68 37 00 FB 0A 0B 60 38 06   U6....xh7....`8.
01D0- FC 0A 05 64 41 36 89 55 32 01 87 81 DC 05 0B 32   ...dA6.U2......2
01E0- 48 65 6C 6C 6F 20 57 6F 72 6C 64 21 0D 0A 00 01   Hello World!....
01F0- 87 82 04 05 0B 01 87 67 05 0B 01 37 04 05 06 01   .......g...7....
0200- 87 6D 05 0B 01 05 10 32 54 68 69 73 20 69 73 3A   .m.....2This is:
0210- 20 00 01 87 82 1C 3A 01 C2 00 87 82 59 05 08 32    .....:.....Y..2
0220- 46 75 6C 6C 2D 44 75 70 6C 65 78 20 53 65 72 69   Full-Duplex Seri
0230- 61 6C 20 44 72 69 76 65 72 20 76 31 2E 32 20 28   al Driver v1.2 (
0240- 50 61 72 61 6C 6C 61 78 2C 20 49 6E 63 2E 29 2C   Parallax, Inc.),
0250- 20 72 75 6E 6E 69 6E 67 20 61 74 20 00 62 61 75    running at .bau
0260- 64 0D 0A 00 01 87 64 05 0B 32 01 38 0D 05 06 64   d.....d..2.8...d
0270- 08 07 01 37 04 05 06 09 79 01 38 0D 05 06 32 35   ...7....y.8...25
0280- 89 55 32 88 55 36 FC 0A 10 88 56 2A 0A 0B 01 40   .U2.U6....V*...@
0290- 06 18 09 88 56 2F 35 89 55 04 68 32 20 01 0D 00   ....V/5.U.h2 ...
02A0- 34 00 00 00 3E 00 00 00 59 00 00 00 61 00 00 00   4...>...Y...a...
02B0- 73 00 00 00 83 00 00 00 98 00 00 00 AD 00 00 00   s...............
02C0- C9 00 00 00 DF 00 00 00 0D 01 00 00 16 01 00 00   ................
02D0- 38 09 3D 92 35 FB 61 62 47 32 38 17 38 12 3E 92   8.=.5.abG28.8.>.
02E0- E7 37 25 E8 61 37 00 62 43 38 11 37 03 3E 92 37   .7%.a7.bC8.7.>.7
02F0- 21 E8 62 4A 32 64 37 21 E8 36 EC 33 32 38 72 00   !.bJ2d7!.6.328r.
0300- 64 05 03 36 0D 04 38 0B 33 0C 37 03 33 0C 32 38   d..6..8.3.7.3.28
0310- 82 00 64 05 03 36 0D 03 34 33 0C 35 33 0C 32 38   ..d..6..43.53.28
0320- 97 00 64 05 03 36 0D 08 64 37 06 E8 35 FB 33 0C   ..d..6..d7..5.3.
0330- 34 33 0C 32 38 AC 00 64 05 03 36 0D 08 64 37 05   43.28..d..6..d7.
0340- E8 35 FB 33 0C 35 33 0C 32 38 C8 00 64 05 03 36   .5.3.53.28..d..6
0350- 0D 0E 64 37 03 E8 0A 04 35 33 04 03 37 21 33 0C   ..d7....53..7!3.
0360- 37 21 33 0C 32 38 DE 00 64 05 03 36 0D 09 64 38   7!3.28..d..6..d8
0370- 0C E8 37 00 E2 33 0C 36 33 0C 32 39 01 0C 00 64   ..7..3.63.29...d
0380- 05 03 36 0D 1D 39 01 05 64 37 04 E8 38 05 E2 35   ..6..9..d7..8..5
0390- 0D 04 36 0D 07 0C 3A 01 C2 00 33 0C 39 E1 00 33   ..6...:...3.9..3
03A0- 0C 0C 3A 01 C2 00 33 0C 32 64 3D D4 1C 64 3D D6   ..:...3.2d=..d=.
03B0- 1C 32 64 3D D4 18 64 3D D6 1C 32 00 10 00 02 01   .2d=..d=..2.....
03C0- 0C 00 00 00 10 00 00 00 32 00 00 00 20 00 03 00   ........2... ...
03D0- 0C 00 00 00 17 00 00 00 64 37 24 FA 64 37 26 F9   ........d7$.d7&.
03E0- F0 61 32 64 38 0D FC 61 32 00 00 00 48 00 05 00   .a2d8..a2...H...
03F0- 14 00 00 00 21 00 00 00 32 00 00 00 3A 00 00 00   ....!...2...:...
0400- 35 C0 64 F4 39 01 7D E4 3F 91 EC 23 32 35 C0 39   5.d.9.}.?..#25.9
0410- 03 E8 F6 64 F4 39 01 7D E4 3F 91 EC 23 32 35 C0   ...d.9.}.?..#25.
0420- 64 F4 68 EC 23 32 35 C0 39 03 E8 F6 64 F4 68 EC   d.h.#25.9...d.h.
0430- 23 32 00 00 D0 02 0D 00 84 01 00 00 AA 01 00 00   #2..............
0440- BE 01 00 00 C8 01 00 00 DB 01 04 00 F8 01 00 00   ................
0450- 04 02 00 00 25 02 00 00 34 02 00 00 44 02 08 00   ....%...4...D...
0460- 90 02 00 00 B8 02 00 00 F0 A9 BC A0 10 A8 FC 80   ................
0470- 54 AA BC 08 01 B2 FC A0 55 B2 BC 2C 04 A8 FC 80   T.......U..,....
0480- 54 AA BC 08 01 BE FC A0 55 BE BC 2C 04 A8 FC 80   T.......U..,....
0490- 54 AE BC 08 04 A8 FC 80 54 B0 BC 08 04 A8 FC 80   T.......T.......
04A0- 54 B4 BC 08 5A C0 BC A0 10 C0 FC 80 04 AE 7C 62   T...Z.........|b
04B0- 02 AE 7C 61 5F E8 9B 68 5F EC AB 68 33 C8 FC A0   ..|a_..h_..h3...
04C0- 64 BC BC 5C 01 AE 7C 62 F2 B3 3C 61 16 00 64 5C   d..\..|b..<a..d\
04D0- 09 B8 FC A0 58 BA BC A0 01 BA FC 28 F1 BB BC 80   ....X......(....
04E0- 58 BA BC 80 64 BC BC 5C 5D A8 BC A0 F1 A9 BC 84   X...d..\].......
04F0- 00 A8 7C C1 1F 00 4C 5C F2 B3 3C 61 01 B6 FC 30   ..|...L\..<a...0
0500- 1E B8 FC E4 17 B6 FC 28 FF B6 FC 60 01 AE 7C 62   .......(...`..|b
0510- FF B6 D4 6C F0 AB BC 08 5A AA BC 80 55 B6 3C 00   ...l....Z...U.<.
0520- 5A AA BC 84 01 AA FC 80 0F AA FC 60 F0 AB 3C 08   Z..........`..<.
0530- 16 00 7C 5C 5E C8 BC 5C F0 A9 BC A0 08 A8 FC 80   ..|\^..\........
0540- 54 AA BC 08 04 A8 FC 80 54 AC BC 08 56 AA 3C 86   T.......T...V.<.
0550- 33 00 68 5C 60 AC BC 80 56 C2 BC 00 60 AC BC 84   3.h\`...V...`...
0560- 01 AC FC 80 0F AC FC 60 54 AC 3C 08 00 C3 FC 68   .......`T.<....h
0570- 02 C2 FC 2C 01 C2 FC 68 0B C4 FC A0 F1 C7 BC A0   ...,...h........
0580- 04 AE 7C 62 02 AE 7C 61 01 C2 E0 6C 01 C2 FC 29   ..|b..|a...l...)
0590- 5F E8 AB 70 5F EC 97 74 58 C6 BC 80 5E C8 BC 5C   _..p_..tX...^..\
05A0- 63 A8 BC A0 F1 A9 BC 84 00 A8 7C C1 4D 00 4C 5C   c.........|.M.L\
05B0- 46 C4 FC E4 33 00 7C 5C 01 05 02 43 35 37 01 1A   F...3.|\...C57..
05C0- 53 67 37 21 1E 35 C0 70 F6 5D 8B 24 C9 20 34 C7   Sg7!.5.p.].$. 4.
05D0- 34 43 28 36 EC 8B 44 35 92 80 35 FA 61 32 8B 44   4C(6..D5..5.a2.D
05E0- 35 90 0A 08 8B 44 35 92 98 36 ED 21 43 35 38 09   5....D5..6.!C58.
05F0- 1A 32 00 05 04 35 FE 0A 02 04 77 32 62 3E 44 40   .2...5....w2b>D@
0600- FB 0A 0B 44 98 24 61 44 36 EC 37 23 E8 45 32 3F   ...D.$aD6.7#.E2?
0610- 91 69 00 05 04 62 80 35 FE 3F 91 68 ED 35 C0 39   .i...b.5.?.h.5.9
0620- 03 E8 F6 F6 64 FA F2 0B 02 04 67 32 00 05 04 62   ....d.....g2...b
0630- 80 35 F9 0A 02 04 75 32 4C 48 36 EC 37 23 E8 FB   .5....u2LH6.7#..
0640- 0B 02 04 74 64 48 99 34 48 36 EC 37 23 E8 49 58   ...tdH.4H6.7#.IX
0650- 37 02 E8 0A 03 01 05 06 32 64 16 61 60 08 08 01   7.......2d.a`...
0660- 66 AE 80 05 07 09 78 32 66 AE A0 61 60 08 08 01   f.....x2f..a`...
0670- 66 A6 80 05 07 09 78 32 64 37 1E FC 6D 64 35 F9   f.....x2d7..md5.
0680- 0A 0A 64 6C EC E9 65 01 38 2D 05 07 3B 3B 9A CA   ..dl..e.8-..;;..
0690- 00 69 38 0A 08 2D 64 68 FE 0A 16 01 64 68 F6 38   .i8..-dh....dh.8
06A0- 30 EC 6C 68 36 FC F4 EC 05 07 68 66 57 62 1C 04   0.lh6.....hfWb..
06B0- 0C 60 68 36 FC F2 0A 05 01 38 30 05 07 38 0A 6A   .`h6.....80..8.j
06C0- 56 09 53 32 37 02 68 ED 37 00 E3 66 43 68 08 1B   V.S27.h.7..fCh..
06D0- 01 35 39 02 B3 37 01 66 C1 37 23 E8 38 30 38 39   .59..7.f.7#.8089
06E0- 12 38 41 38 46 12 0F 05 07 09 65 32 37 04 68 ED   .8A8F.....e27.h.
06F0- 66 43 68 08 0D 01 36 66 C1 36 E8 38 30 EC 05 07   fCh...6f.6.80...
0700- 09 73 32 00 54 46 44 53 5F 4D 4F 44 45 10 00 00   .s2.TFDS_MODE...
0710- 00 00 52 58 5F 54 49 4D 45 4F 55 54 10 0A 00 00   ..RX_TIMEOUT....
0720- 00 50 43 5F 42 41 55 44 52 41 54 45 10 00 C2 01   .PC_BAUDRATE....
0730- 00 53 54 41 43 4B 53 49 5A 45 10 14 00 00 00 54   .STACKSIZE.....T
0740- 58 4D 4F 44 45 5F 53 54 41 52 54 10 00 00 00 00   XMODE_START.....
0750- 54 58 4D 4F 44 45 5F 43 4F 4E 54 49 4E 55 45 10   TXMODE_CONTINUE.
0760- 01 00 00 00 54 58 4D 4F 44 45 5F 53 54 4F 50 10   ....TXMODE_STOP.
0770- 02 00 00 00 53 54 41 52 54 00 53 54 4F 50 00 52   ....START.STOP.R
0780- 58 46 4C 55 53 48 00 52 58 00 52 58 54 49 4D 45   XFLUSH.RX.RXTIME
0790- 01 54 58 01 44 45 43 01 50 44 45 43 58 03 48 45   .TX.DEC.PDECX.HE
07A0- 58 02 50 48 45 58 02 53 54 52 01 54 58 42 55 46   X.PHEX.STR.TXBUF
07B0- 02 48 45 4C 4C 4F 00 41 42 4F 55 54 00 43 4F 4E   .HELLO.ABOUT.CON
07C0- 4E 45 43 54 49 4F 4E 00 4E 45 57 4C 49 4E 45 00   NECTION.NEWLINE.
07D0- 43 4C 45 41 52 4C 49 4E 45 01 50 49 4E 5F 54 58   CLEARLINE.PIN_TX
07E0- 10 1E 00 00 00 50 49 4E 5F 52 58 10 1F 00 00 00   .....PIN_RX.....
07F0- 46 44 53 5F 53 54 4F 50 10 32 00 00 00            FDS_STOP.2...

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

Copyright (C) 2020  Kai Mertens 

File pccom.spin --- communication framework for other objects

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

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

Object "../../firmware2/src/pccom" Interface:

PUB  start
PUB  stop
PUB  rxflush
PUB  rx : 
PUB  rxtime(timeout) : 
PUB  tx(b)
PUB  dec(b)
PUB  pdecx(prefix, b, suffix)
PUB  hex(b, digits)
PUB  phex(b, digits)
PUB  str(strptr) : 
PUB  txbuf(srcptr, txmode) : 
PUB  hello
PUB  about
PUB  connection
PUB  newline
PUB  clearline(linelen)

Program:  448 Longs
Variable: 40 Longs

CON Block:
Pins
FDS
FDS --- Baudrate
Stack
ENUM TXMODE_type

__________
PUB  start

Get started, launch cogs.
This method blocks until HUB lockbits were available.

_________
PUB  stop

Wait until buffered tx data has been sent,
stop cogs, clear and return lock bits.

____________
PUB  rxflush


__________
PUB  rx : 


_______________________
PUB  rxtime(timeout) : 


__________
PUB  tx(b)


___________
PUB  dec(b)


_____________________________
PUB  pdecx(prefix, b, suffix)


___________________
PUB  hex(b, digits)


____________________
PUB  phex(b, digits)


___________________
PUB  str(strptr) : 


_____________________________
PUB  txbuf(srcptr, txmode) : 


__________
PUB  hello

Send a message.

__________
PUB  about

Send Object ID and Version Number.

_______________
PUB  connection

Display serial driver and current baudrate.

____________
PUB  newline

Send @CRLF String.

_______________________
PUB  clearline(linelen)

Clear current line and jump to the left.

DAT Block:
Strings

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