Documentation for “Zerocat Chipflasher” as of Wed, 27 Jul 2022 12:09:29 +0200
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v0.6.9-632-7d693973
Branch: flashrom-interface

../../firmware2/src/serprog-com.spin.txt.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/serprog-com.spin
|-pins.spin
|-ASCII.spin
|-time.spin
|-ledstat.spin
  |-pins.spin
  |-time.spin
|-FullDuplexSerial.spin
Done.
Program size is 1532 bytes
TYPE: 43   VALUE: 00000000 (00000000)   NAME: FDS_MODE
TYPE: 43   VALUE: 0000E100 (00000000)   NAME: PC_BAUDRATE
TYPE: 43   VALUE: 00000014 (00000000)   NAME: STACKSIZE
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: 00000208 (00000004)   NAME: HEX
TYPE: 53   VALUE: 00000109 (00000004)   NAME: STR
TYPE: 4F   VALUE: 0000000A (00000000)   NAME: PINS
TYPE: 4F   VALUE: 0000010B (00000000)   NAME: ASC
TYPE: 4F   VALUE: 0000020C (00000000)   NAME: TIME
TYPE: 4F   VALUE: 0000030D (00000000)   NAME: LEDSTAT
TYPE: 4F   VALUE: 0000040E (00000000)   NAME: FDS
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: 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: 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: 0000017D (00000000)   NAME: SPIN_OVERHEAD^C
TYPE: 51   VALUE: 00000032 (00000000)   NAME: FDS_STOP^C
TYPE: 51   VALUE: 00000064 (00000000)   NAME: TCOOL_LINE^C
TYPE: 51   VALUE: 000004B0 (00000000)   NAME: TCOOL_BLOCK^C
TYPE: 50   VALUE: 00000101 (00000000)   NAME: SLEEP^C
TYPE: 50   VALUE: 00000102 (00000000)   NAME: SLEEP_MS^C
TYPE: 50   VALUE: 00000203 (00000000)   NAME: WAIT^C
TYPE: 50   VALUE: 00000204 (00000000)   NAME: WAIT_MS^C
TYPE: 51   VALUE: FFFFFFFF (00000000)   NAME: P_ON^D
TYPE: 51   VALUE: 00000000 (00000000)   NAME: P_OFF^D
TYPE: 51   VALUE: 00000001 (00000000)   NAME: P_1^D
TYPE: 51   VALUE: 00000002 (00000000)   NAME: P_2^D
TYPE: 51   VALUE: 00000003 (00000000)   NAME: P_3^D
TYPE: 51   VALUE: 00000004 (00000000)   NAME: P_4^D
TYPE: 51   VALUE: 00000005 (00000000)   NAME: P_5^D
TYPE: 51   VALUE: 00000006 (00000000)   NAME: P_MAX^D
TYPE: 51   VALUE: 000F4240 (00000000)   NAME: CYCLE_TIME^D
TYPE: 51   VALUE: 000003E8 (00000000)   NAME: LOOP_TIME^D
TYPE: 51   VALUE: 00000053 (00000000)   NAME: PHASE_INIT^D
TYPE: 51   VALUE: 000003E4 (00000000)   NAME: CYCLE_INIT^D
TYPE: 51   VALUE: 00000000 (00000000)   NAME: TSTAMPERROR^D
TYPE: 50   VALUE: 00000001 (00000000)   NAME: START^D
TYPE: 50   VALUE: 00000002 (00000000)   NAME: STOP^D
TYPE: 50   VALUE: 00000103 (00000000)   NAME: CHECK^D
TYPE: 50   VALUE: 00000104 (00000000)   NAME: SET_D1^D
TYPE: 50   VALUE: 00000105 (00000000)   NAME: SET_D2^D
TYPE: 50   VALUE: 00000106 (00000000)   NAME: SET_D3^D
TYPE: 50   VALUE: 00000007 (00000000)   NAME: SET^D
TYPE: 50   VALUE: 00000008 (00000000)   NAME: CLR^D
TYPE: 50   VALUE: 00000009 (00000000)   NAME: GET_D1^D
TYPE: 50   VALUE: 0000000A (00000000)   NAME: GET_D2^D
TYPE: 50   VALUE: 0000000B (00000000)   NAME: GET_D3^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: STACK
TYPE: 45   VALUE: 00000000 (00000000)   NAME: COG1
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: B
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: DIGITS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: STRPTR
TYPE: 4E   VALUE: 00000000 (00000000)   NAME: R

Distilled longs: 26

OBJ bytes: 1643

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- E8 00 EC 05 C0 00 0A 05 3C 00 00 00 58 00 00 00   ........<...X...
0010- 6B 00 00 00 70 00 00 00 76 00 00 00 7D 00 00 00   k...p...v...}...
0020- 8D 00 00 00 9D 00 00 00 AE 00 00 00 B0 02 54 00   ..............T.
0030- C0 00 54 00 D0 02 54 00 E0 00 54 00 18 03 A4 00   ..T...T...T.....
0040- 00 37 24 38 1E 35 39 E1 00 06 0E 01 36 EC 8A 50   .7$8.59.....6..P
0050- 80 35 FA 0B 02 04 69 01 06 0E 03 32 88 50 0A 0E   .5....i....2.P..
0060- 01 38 32 3F 91 06 0C 04 8A 50 98 36 ED 21 32 01   .82?.....P.6.!2.
0070- 06 0E 03 32 00 06 0E 06 61 32 00 64 06 0E 05 61   ...2....a2.d...a
0080- 32 01 34 06 0D 06 01 64 06 0E 07 01 35 06 0D 06   2.4....d....5...
0090- 32 01 34 06 0D 06 01 64 06 0E 0A 01 35 06 0D 06   2.4....d....5...
00A0- 32 01 34 06 0D 06 01 64 68 06 0E 0B 01 35 06 0D   2.4....dh....5..
00B0- 06 32 01 34 06 0D 06 00 64 06 0E 08 61 01 35 06   .2.4....d...a.5.
00C0- 0D 06 32 00 20 00 03 00 0C 00 00 00 17 00 00 00   ..2. ...........
00D0- 64 37 24 FA 64 37 26 F9 F0 61 32 64 38 0D FC 61   d7$.d7&..a2d8..a
00E0- 32 00 00 00 D0 01 11 02 50 00 04 00 63 00 00 00   2.......P...c...
00F0- 74 00 00 00 82 00 00 00 88 00 00 00 8E 00 00 00   t...............
0100- 94 00 00 00 A1 00 00 00 AE 00 00 00 B5 00 00 00   ................
0110- BC 00 00 00 C3 00 00 00 D2 00 00 00 DA 00 00 00   ................
0120- E2 00 00 00 EA 00 24 00 D0 01 50 00 F0 01 50 00   ......$...P...P.
0130- 00 00 00 00 01 05 02 37 03 43 15 28 36 EC 87 4C   .......7.C.(6..L
0140- 35 92 80 35 FA 65 32 87 4C 35 90 35 FA 0A 08 87   5..5.e2.L5.5....
0150- 4C 35 92 98 36 ED 21 32 01 05 07 01 64 3F 91 06   L5..6.!2....d?..
0160- 12 04 01 05 08 32 64 87 4D 35 91 32 64 87 4E 35   .....2d.M5.2d.N5
0170- 91 32 64 87 4F 35 91 32 01 34 05 04 01 34 05 05   .2d.O5.2.4...4..
0180- 01 34 05 06 32 01 35 05 04 01 35 05 05 01 35 05   .4..2.5...5...5.
0190- 06 32 87 4D 35 92 90 61 32 87 4E 35 92 90 61 32   .2.M5..a2.N5..a2
01A0- 87 4F 35 92 90 61 32 37 23 38 0D 3E D4 18 37 23   .O5..a27#8.>..7#
01B0- 38 0D 3E D6 1C 32 64 35 FB 37 23 3D B4 32 64 35   8.>..2d5.7#=.2d5
01C0- FB 38 0E 3D B4 32 64 35 FB 38 0D 3D B4 32 01 05   .8.=.2d5.8.=.2..
01D0- 0C 35 CD 24 35 69 3F 91 65 87 4D 35 92 90 6D 87   .5.$5i?.e.M5..m.
01E0- 4E 35 92 90 71 87 4F 35 92 90 75 6C 35 FA 7A 48   N5..q.O5..ul5.zH
01F0- 70 35 FA 7E 48 74 35 FA CE 20 48 68 35 FC 0A 34   p5.~Ht5.. Hh5..4
0200- 38 53 69 CC 24 35 FC 0A 1A 39 03 E4 CD 24 6C 36   8Si.$5...9...$l6
0210- E3 36 ED 79 70 36 E3 36 ED 7D 74 36 E3 36 ED CD   .6.yp6.6.}t6.6..
0220- 20 04 11 78 35 FA 7A 4C 7C 35 FA 7E 4C CC 20 35    ..x5.zL|5.~L. 5
0230- FA CE 20 4C 39 01 6D 6C 34 0D 0A 36 38 06 0E 0A   .. L9.ml4..68...
0240- 01 35 05 0D 0C 01 34 05 0D 0C 01 78 36 E8 05 0D   .5....4....x6...
0250- 0C 39 01 8A 70 34 0D 0A 36 38 06 0E 0A 01 35 05   .9..p4..68....5.
0260- 0E 0C 01 34 05 0E 0C 01 7C 36 E8 05 0E 0C 39 01   ...4....|6....9.
0270- B4 74 34 0D 0E 37 60 0D 0F 36 38 06 0E 12 01 35   .t4..7`..68....5
0280- 05 0F 0C 01 34 05 0F 0C 01 38 09 3D 92 05 0F 0C   ....4....8.=....
0290- 01 CC 20 36 E8 05 0F 0C 6A 3E CE 24 3E 64 35 ED   .. 6....j>.$>d5.
02A0- 35 C0 3A 0F 42 40 F6 39 03 E8 F4 EC 23 04 FF 26   5.:.B@.9....#..&
02B0- 32 00 00 00 20 00 03 00 0C 00 00 00 15 00 00 00   2... ...........
02C0- 64 3D D4 1C 64 3D D6 1C 32 64 3D D4 18 64 3D D6   d=..d=..2d=..d=.
02D0- 1C 32 00 00 48 00 05 00 14 00 00 00 21 00 00 00   .2..H.......!...
02E0- 32 00 00 00 3A 00 00 00 35 C0 64 F4 39 01 7D E4   2...:...5.d.9.}.
02F0- 3F 91 EC 23 32 35 C0 39 03 E8 F6 64 F4 39 01 7D   ?..#25.9...d.9.}
0300- E4 3F 91 EC 23 32 35 C0 64 F4 68 EC 23 32 35 C0   .?..#25.d.h.#25.
0310- 39 03 E8 F6 64 F4 68 EC 23 32 00 00 D4 02 0D 00   9...d.h.#2......
0320- 88 01 00 00 AD 01 00 00 C3 01 00 00 CD 01 00 00   ................
0330- E0 01 04 00 FD 01 00 00 09 02 00 00 2A 02 00 00   ............*...
0340- 39 02 00 00 49 02 08 00 95 02 00 00 BD 02 00 00   9...I...........
0350- F0 AB BC A0 10 AA FC 80 55 AC BC 08 01 B4 FC A0   ........U.......
0360- 56 B4 BC 2C 04 AA FC 80 55 AC BC 08 01 C0 FC A0   V..,....U.......
0370- 56 C0 BC 2C 04 AA FC 80 55 B0 BC 08 04 AA FC 80   V..,....U.......
0380- 55 B2 BC 08 04 AA FC 80 55 B6 BC 08 5B C2 BC A0   U.......U...[...
0390- 10 C2 FC 80 04 B0 7C 62 02 B0 7C 61 60 E8 9B 68   ......|b..|a`..h
03A0- 60 EC AB 68 33 CA FC A0 65 BE BC 5C 01 B0 7C 62   `..h3...e..\..|b
03B0- F2 B5 3C 61 16 00 64 5C 09 BA FC A0 59 BC BC A0   ..<a..d\....Y...
03C0- 01 BC FC 28 F1 BD BC 80 59 BC BC 80 65 BE BC 5C   ...(....Y...e..\
03D0- 5E AA BC A0 F1 AB BC 84 00 AA 7C C1 1F 00 4C 5C   ^.........|...L\
03E0- F2 B5 3C 61 01 B8 FC 30 1E BA FC E4 17 B8 FC 28   ..<a...0.......(
03F0- FF B8 FC 60 01 B0 7C 62 FF B8 D4 6C F0 AD BC 08   ...`..|b...l....
0400- 5B AC BC 80 56 B8 3C 00 5B AC BC 84 01 AC FC 80   [...V.<.[.......
0410- 0F AC FC 60 F0 AD 3C 08 16 00 7C 5C 5F CA BC 5C   ...`..<...|\_..\
0420- F0 AB BC A0 08 AA FC 80 55 AC BC 08 04 AA FC 80   ........U.......
0430- 55 AE BC 08 57 AC 3C 86 33 00 68 5C 61 AE BC 80   U...W.<.3.h\a...
0440- 57 C4 BC 00 61 AE BC 84 01 AE FC 80 0F AE FC 60   W...a..........`
0450- 55 AE 3C 08 00 C5 FC 68 02 C4 FC 2C 01 C4 FC 68   U.<....h...,...h
0460- 0B C6 FC A0 F1 C9 BC A0 04 B0 7C 62 02 B0 7C 61   ..........|b..|a
0470- 01 C4 E0 6C 01 C4 FC 29 60 E8 AB 70 60 EC 97 74   ...l...)`..p`..t
0480- 59 C8 BC 80 5F CA BC 5C 64 AA BC A0 F1 AB BC 84   Y..._..\d.......
0490- 00 AA 7C C1 4D 00 4C 5C 46 C6 FC E4 33 00 7C 5C   ..|.M.L\F...3.|\
04A0- 00 00 00 00 01 05 02 43 35 37 01 1A 53 67 37 21   .......C57..Sg7!
04B0- 1E 35 C0 70 F6 5D 8B 24 C9 20 34 C7 34 43 28 36   .5.p.].$. 4.4C(6
04C0- EC 87 81 84 35 92 80 61 32 87 81 84 35 90 0A 09   ....5..a2...5...
04D0- 87 81 84 35 92 98 36 ED 21 43 35 38 09 1A 32 00   ...5..6.!C58..2.
04E0- 05 04 35 FE 0A 02 04 77 32 62 3E 44 40 FB 0A 0B   ..5....w2b>D@...
04F0- 44 98 24 61 44 36 EC 37 23 E8 45 32 3F 91 69 00   D.$aD6.7#.E2?.i.
0500- 05 04 62 80 35 FE 3F 91 68 ED 35 C0 39 03 E8 F6   ..b.5.?.h.5.9...
0510- F6 64 FA F2 0B 02 04 67 32 00 05 04 62 80 35 F9   .d.....g2...b.5.
0520- 0A 02 04 75 32 4C 48 36 EC 37 23 E8 FB 0B 02 04   ...u2LH6.7#.....
0530- 74 64 48 99 34 48 36 EC 37 23 E8 49 58 37 02 E8   tdH.4H6.7#.IX7..
0540- 0A 03 01 05 06 32 64 16 61 60 08 08 01 66 AE 80   .....2d.a`...f..
0550- 05 07 09 78 32 66 AE A0 61 60 08 08 01 66 A6 80   ...x2f..a`...f..
0560- 05 07 09 78 32 64 37 1E FC 6D 64 35 F9 0A 0A 64   ...x2d7..md5...d
0570- 6C EC E9 65 01 38 2D 05 07 3B 3B 9A CA 00 69 38   l..e.8-..;;...i8
0580- 0A 08 2D 64 68 FE 0A 16 01 64 68 F6 38 30 EC 6C   ..-dh....dh.80.l
0590- 68 36 FC F4 EC 05 07 68 66 57 62 1C 04 0C 60 68   h6.....hfWb...`h
05A0- 36 FC F2 0A 05 01 38 30 05 07 38 0A 6A 56 09 53   6.....80..8.jV.S
05B0- 32 37 02 68 ED 37 00 E3 66 43 68 08 1B 01 35 39   27.h.7..fCh...59
05C0- 02 B8 37 01 66 C1 37 23 E8 38 30 38 39 12 38 41   ..7.f.7#.8089.8A
05D0- 38 46 12 0F 05 07 09 65 32 37 04 68 ED 66 43 68   8F.....e27.h.fCh
05E0- 08 0D 01 36 66 C1 36 E8 38 30 EC 05 07 09 73 32   ...6f.6.80....s2
05F0- 14 46 44 53 5F 4D 4F 44 45 10 00 00 00 00 50 43   .FDS_MODE.....PC
0600- 5F 42 41 55 44 52 41 54 45 10 00 E1 00 00 53 54   _BAUDRATE.....ST
0610- 41 43 4B 53 49 5A 45 10 14 00 00 00 53 54 41 52   ACKSIZE.....STAR
0620- 54 00 53 54 4F 50 00 52 58 46 4C 55 53 48 00 52   T.STOP.RXFLUSH.R
0630- 58 00 52 58 54 49 4D 45 01 54 58 01 44 45 43 01   X.RXTIME.TX.DEC.
0640- 48 45 58 02 53 54 52 01 50 49 4E 5F 54 58 10 1E   HEX.STR.PIN_TX..
0650- 00 00 00 50 49 4E 5F 52 58 10 1F 00 00 00 46 44   ...PIN_RX.....FD
0660- 53 5F 53 54 4F 50 10 32 00 00 00                  S_STOP.2...

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

Copyright (C) 2020, 2021, 2022  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 Configuration (set via Makefile)

Tell us which baudrate to use:

* 38400baud
* 57600baud (default)
* 115200baud (too fast for write operation)


# Object Summary

Object "../../firmware2/src/serprog-com" Interface:

PUB  start
PUB  stop
PUB  rxflush
PUB  rx : 
PUB  rxtime(timeout) : 
PUB  tx(b)
PUB  dec(b)
PUB  hex(b, digits)
PUB  str(strptr) : 

Program:  379 Longs
Variable: 58 Longs


# Objects

Load pin configuration.
Load ASCII character set.
Load time object.
Load ledstat object.
Load serial driver.


# Constants

Transmit and Receive Pins

FDS Timing

FDS Mode

PC Baudrate

Size of Stack


# Variables

Provide some stack space: stack[]
Store cog ID.


# Functions

__________
PUB  start

Get started, launch full duplex serial driver in a new cog.
Clear receive buffer.

_________
PUB  stop

Stop cog, which is running the serial driver.

____________
PUB  rxflush

Launch serial driver function.

__________
PUB  rx : 

Launch serial driver function.

_______________________
PUB  rxtime(timeout) : 

Launch serial driver function.

__________
PUB  tx(b)

Launch serial driver function.
Frame action with LED D3 activity.

___________
PUB  dec(b)

Launch serial driver function.
Frame action with LED D3 activity.

___________________
PUB  hex(b, digits)

Launch serial driver function.
Frame action with LED D3 activity.

___________________
PUB  str(strptr) : 

Launch serial driver function.
Frame action with LED D3 activity.


# PASM/Data



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