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/connect.spin.txt.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/connect.spin
|-ASCII.spin
Done.
Program size is 68 bytes
TYPE: 43   VALUE: 00000020 (00000000)   NAME: CHIP_TO_FILE
TYPE: 43   VALUE: 00000021 (00000000)   NAME: CHIP_TO_FILE_NOSCREEN
TYPE: 43   VALUE: 00000022 (00000000)   NAME: FILE_TO_CHIP
TYPE: 43   VALUE: 00000023 (00000000)   NAME: FILE_TO_CHIP_NOSCREEN
TYPE: 43   VALUE: 00000000 (00000000)   NAME: ERRC__SUCCESS
TYPE: 43   VALUE: 00000001 (00000000)   NAME: ERRC__NO_SREC
TYPE: 43   VALUE: 00000002 (00000000)   NAME: ERRC__NO_HEX_DIGIT
TYPE: 43   VALUE: 00000003 (00000000)   NAME: ERRC__LINE_ENDING_ERROR
TYPE: 43   VALUE: 00000004 (00000000)   NAME: ERRC__LINE_COUNT_MISMATCH
TYPE: 43   VALUE: 00000005 (00000000)   NAME: ERRC__LINE_TOO_LONG
TYPE: 43   VALUE: 00000006 (00000000)   NAME: ERRC__BUFFER_OVERRUN
TYPE: 43   VALUE: 00000007 (00000000)   NAME: ERRC__HEXD_PARSE_ERROR
TYPE: 43   VALUE: 00000008 (00000000)   NAME: ERRC__NO_SUCH_FILE
TYPE: 43   VALUE: 00000009 (00000000)   NAME: ERRC__JOB_CANCELLATION
TYPE: 43   VALUE: 0000000A (00000000)   NAME: ERRC__PORT_OPEN_FAILURE
TYPE: 43   VALUE: 0000000B (00000000)   NAME: ERRC__INVALID_ADDRESS
TYPE: 43   VALUE: 0000000C (00000000)   NAME: ERRC__DEBUG
TYPE: 43   VALUE: 0000000D (00000000)   NAME: ERRC__CHECKSUM_MISMATCH
TYPE: 43   VALUE: 0000000E (00000000)   NAME: ERRC__LINE_LENGTH_MISMATCH
TYPE: 43   VALUE: 0000000F (00000000)   NAME: ERRC__WRONG_CHARACTER
TYPE: 43   VALUE: 00000010 (00000000)   NAME: ERRC__LINE_TIMEOUT
TYPE: 53   VALUE: 00000001 (00000004)   NAME: START
TYPE: 4F   VALUE: 00000002 (00000000)   NAME: ASC
TYPE: 51   VALUE: 00000000 (00000000)   NAME: NUL^A
TYPE: 51   VALUE: 00000001 (00000000)   NAME: SOH^A
TYPE: 51   VALUE: 00000002 (00000000)   NAME: STX^A
TYPE: 51   VALUE: 00000003 (00000000)   NAME: ETX^A
TYPE: 51   VALUE: 00000004 (00000000)   NAME: EOT^A
TYPE: 51   VALUE: 00000005 (00000000)   NAME: ENQ^A
TYPE: 51   VALUE: 00000006 (00000000)   NAME: ACK^A
TYPE: 51   VALUE: 00000008 (00000000)   NAME: BS^A
TYPE: 51   VALUE: 00000009 (00000000)   NAME: HT^A
TYPE: 51   VALUE: 0000000A (00000000)   NAME: LF^A
TYPE: 51   VALUE: 0000000A (00000000)   NAME: NL^A
TYPE: 51   VALUE: 0000000A (00000000)   NAME: NEW_LINE^A
TYPE: 51   VALUE: 0000000D (00000000)   NAME: CR^A
TYPE: 51   VALUE: 0000000D (00000000)   NAME: CARR_RET^A
TYPE: 51   VALUE: 00000015 (00000000)   NAME: NAK^A
TYPE: 51   VALUE: 00000016 (00000000)   NAME: SYN^A
TYPE: 51   VALUE: 00000017 (00000000)   NAME: ETB^A
TYPE: 51   VALUE: 00000018 (00000000)   NAME: CAN^A
TYPE: 51   VALUE: 00000019 (00000000)   NAME: EM^A
TYPE: 51   VALUE: 0000001A (00000000)   NAME: SUBST^A
TYPE: 51   VALUE: 0000001B (00000000)   NAME: ESC^A
TYPE: 51   VALUE: 0000001C (00000000)   NAME: FS^A
TYPE: 51   VALUE: 0000001D (00000000)   NAME: GS^A
TYPE: 51   VALUE: 0000001E (00000000)   NAME: RS^A
TYPE: 51   VALUE: 0000001F (00000000)   NAME: US^A
TYPE: 51   VALUE: 00000020 (00000000)   NAME: SPACE^A
TYPE: 51   VALUE: 00000022 (00000000)   NAME: QUOTE^A
TYPE: 51   VALUE: 0000002F (00000000)   NAME: SLASH^A
TYPE: 51   VALUE: 0000003D (00000000)   NAME: EQUAL^A
TYPE: 50   VALUE: 00000001 (00000000)   NAME: INIT^A
TYPE: 50   VALUE: 00000102 (00000000)   NAME: ISPRINT^A
TYPE: 50   VALUE: 00000103 (00000000)   NAME: ISCR^A
TYPE: 43   VALUE: 00000001 (00000000)   NAME: SOH
TYPE: 43   VALUE: 00000004 (00000000)   NAME: EOT
TYPE: 43   VALUE: 00000005 (00000000)   NAME: ENQ
TYPE: 43   VALUE: 00000006 (00000000)   NAME: ACK
TYPE: 43   VALUE: 00000015 (00000000)   NAME: NAK
TYPE: 43   VALUE: 00000018 (00000000)   NAME: CAN
TYPE: 43   VALUE: 00000002 (00000000)   NAME: STX
TYPE: 43   VALUE: 00000003 (00000000)   NAME: ETX
TYPE: 43   VALUE: 0000000D (00000000)   NAME: CR
TYPE: 43   VALUE: 0000000A (00000000)   NAME: LF
TYPE: 43   VALUE: 0000001E (00000000)   NAME: INPUT_START
TYPE: 43   VALUE: 0000001F (00000000)   NAME: INPUT_STOP

Distilled longs: 0

OBJ bytes: 679

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- 00 00 34 00 10 00 02 01 0C 00 00 00 10 00 00 00   ..4.............
0010- 32 00 00 00 24 00 04 00 10 00 00 00 11 00 00 00   2...$...........
0020- 1C 00 00 00 32 64 37 24 FA 64 37 26 F9 F0 61 32   ....2d7$.d7&..a2
0030- 64 38 0D FC 61 32 00 00 57 43 48 49 50 5F 54 4F   d8..a2..WCHIP_TO
0040- 5F 46 49 4C 45 10 20 00 00 00 43 48 49 50 5F 54   _FILE. ...CHIP_T
0050- 4F 5F 46 49 4C 45 5F 4E 4F 53 43 52 45 45 4E 10   O_FILE_NOSCREEN.
0060- 21 00 00 00 46 49 4C 45 5F 54 4F 5F 43 48 49 50   !...FILE_TO_CHIP
0070- 10 22 00 00 00 46 49 4C 45 5F 54 4F 5F 43 48 49   ."...FILE_TO_CHI
0080- 50 5F 4E 4F 53 43 52 45 45 4E 10 23 00 00 00 45   P_NOSCREEN.#...E
0090- 52 52 43 5F 5F 53 55 43 43 45 53 53 10 00 00 00   RRC__SUCCESS....
00A0- 00 45 52 52 43 5F 5F 4E 4F 5F 53 52 45 43 10 01   .ERRC__NO_SREC..
00B0- 00 00 00 45 52 52 43 5F 5F 4E 4F 5F 48 45 58 5F   ...ERRC__NO_HEX_
00C0- 44 49 47 49 54 10 02 00 00 00 45 52 52 43 5F 5F   DIGIT.....ERRC__
00D0- 4C 49 4E 45 5F 45 4E 44 49 4E 47 5F 45 52 52 4F   LINE_ENDING_ERRO
00E0- 52 10 03 00 00 00 45 52 52 43 5F 5F 4C 49 4E 45   R.....ERRC__LINE
00F0- 5F 43 4F 55 4E 54 5F 4D 49 53 4D 41 54 43 48 10   _COUNT_MISMATCH.
0100- 04 00 00 00 45 52 52 43 5F 5F 4C 49 4E 45 5F 54   ....ERRC__LINE_T
0110- 4F 4F 5F 4C 4F 4E 47 10 05 00 00 00 45 52 52 43   OO_LONG.....ERRC
0120- 5F 5F 42 55 46 46 45 52 5F 4F 56 45 52 52 55 4E   __BUFFER_OVERRUN
0130- 10 06 00 00 00 45 52 52 43 5F 5F 48 45 58 44 5F   .....ERRC__HEXD_
0140- 50 41 52 53 45 5F 45 52 52 4F 52 10 07 00 00 00   PARSE_ERROR.....
0150- 45 52 52 43 5F 5F 4E 4F 5F 53 55 43 48 5F 46 49   ERRC__NO_SUCH_FI
0160- 4C 45 10 08 00 00 00 45 52 52 43 5F 5F 4A 4F 42   LE.....ERRC__JOB
0170- 5F 43 41 4E 43 45 4C 4C 41 54 49 4F 4E 10 09 00   _CANCELLATION...
0180- 00 00 45 52 52 43 5F 5F 50 4F 52 54 5F 4F 50 45   ..ERRC__PORT_OPE
0190- 4E 5F 46 41 49 4C 55 52 45 10 0A 00 00 00 45 52   N_FAILURE.....ER
01A0- 52 43 5F 5F 49 4E 56 41 4C 49 44 5F 41 44 44 52   RC__INVALID_ADDR
01B0- 45 53 53 10 0B 00 00 00 45 52 52 43 5F 5F 44 45   ESS.....ERRC__DE
01C0- 42 55 47 10 0C 00 00 00 45 52 52 43 5F 5F 43 48   BUG.....ERRC__CH
01D0- 45 43 4B 53 55 4D 5F 4D 49 53 4D 41 54 43 48 10   ECKSUM_MISMATCH.
01E0- 0D 00 00 00 45 52 52 43 5F 5F 4C 49 4E 45 5F 4C   ....ERRC__LINE_L
01F0- 45 4E 47 54 48 5F 4D 49 53 4D 41 54 43 48 10 0E   ENGTH_MISMATCH..
0200- 00 00 00 45 52 52 43 5F 5F 57 52 4F 4E 47 5F 43   ...ERRC__WRONG_C
0210- 48 41 52 41 43 54 45 52 10 0F 00 00 00 45 52 52   HARACTER.....ERR
0220- 43 5F 5F 4C 49 4E 45 5F 54 49 4D 45 4F 55 54 10   C__LINE_TIMEOUT.
0230- 10 00 00 00 53 54 41 52 54 00 53 4F 48 10 01 00   ....START.SOH...
0240- 00 00 45 4F 54 10 04 00 00 00 45 4E 51 10 05 00   ..EOT.....ENQ...
0250- 00 00 41 43 4B 10 06 00 00 00 4E 41 4B 10 15 00   ..ACK.....NAK...
0260- 00 00 43 41 4E 10 18 00 00 00 53 54 58 10 02 00   ..CAN.....STX...
0270- 00 00 45 54 58 10 03 00 00 00 43 52 10 0D 00 00   ..ETX.....CR....
0280- 00 4C 46 10 0A 00 00 00 49 4E 50 55 54 5F 53 54   .LF.....INPUT_ST
0290- 41 52 54 10 1E 00 00 00 49 4E 50 55 54 5F 53 54   ART.....INPUT_ST
02A0- 4F 50 10 1F 00 00 00                              OP.....

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

Copyright (C) 2020  Kai Mertens 

File connect.spin --- serial communication with the `connect` utility

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

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

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

PUB  start

Program:  13 Longs
Variable: 0 Longs

CON Block:
  to match with firmware/src/libcommon/serial-codes.h
Transmission Control
ENUM CHIP_TO_type
ENUM FILE_TO_type
ENUM ERRC__type

__________
PUB  start

Do nothing yet.

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