Documentation for “Zerocat Chipflasher” as of Sat, 07 Dec 2024 11:40:56 +0100
Repository:
Version: v2.0.5-18-05a6c4fe7
Branch: master
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 64 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: 00000060 (00000000) NAME: QUOTESL^A TYPE: 51 VALUE: 00000027 (00000000) NAME: QUOTESR^A TYPE: 51 VALUE: 0000002F (00000000) NAME: SLASH^A TYPE: 51 VALUE: 0000003D (00000000) NAME: EQUAL^A TYPE: 50 VALUE: 00000101 (00000000) NAME: ISPRINT^A TYPE: 50 VALUE: 00000102 (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: 675 _CLKMODE: 00 _CLKFREQ: 00B71B00 0000- 00 00 30 00 10 00 02 01 0C 00 00 00 10 00 00 00 ..0............. 0010- 32 00 00 00 20 00 03 00 0C 00 00 00 17 00 00 00 2... ........... 0020- 64 37 24 FA 64 37 26 F9 F0 61 32 64 38 0D FC 61 d7$.d7&..a2d8..a 0030- 32 00 00 00 AC 43 48 49 50 5F 54 4F 5F 46 49 4C 2....CHIP_TO_FIL 0040- 45 10 20 00 00 00 43 48 49 50 5F 54 4F 5F 46 49 E. ...CHIP_TO_FI 0050- 4C 45 5F 4E 4F 53 43 52 45 45 4E 10 21 00 00 00 LE_NOSCREEN.!... 0060- 46 49 4C 45 5F 54 4F 5F 43 48 49 50 10 22 00 00 FILE_TO_CHIP.".. 0070- 00 46 49 4C 45 5F 54 4F 5F 43 48 49 50 5F 4E 4F .FILE_TO_CHIP_NO 0080- 53 43 52 45 45 4E 10 23 00 00 00 45 52 52 43 5F SCREEN.#...ERRC_ 0090- 5F 53 55 43 43 45 53 53 10 00 00 00 00 45 52 52 _SUCCESS.....ERR 00A0- 43 5F 5F 4E 4F 5F 53 52 45 43 10 01 00 00 00 45 C__NO_SREC.....E 00B0- 52 52 43 5F 5F 4E 4F 5F 48 45 58 5F 44 49 47 49 RRC__NO_HEX_DIGI 00C0- 54 10 02 00 00 00 45 52 52 43 5F 5F 4C 49 4E 45 T.....ERRC__LINE 00D0- 5F 45 4E 44 49 4E 47 5F 45 52 52 4F 52 10 03 00 _ENDING_ERROR... 00E0- 00 00 45 52 52 43 5F 5F 4C 49 4E 45 5F 43 4F 55 ..ERRC__LINE_COU 00F0- 4E 54 5F 4D 49 53 4D 41 54 43 48 10 04 00 00 00 NT_MISMATCH..... 0100- 45 52 52 43 5F 5F 4C 49 4E 45 5F 54 4F 4F 5F 4C ERRC__LINE_TOO_L 0110- 4F 4E 47 10 05 00 00 00 45 52 52 43 5F 5F 42 55 ONG.....ERRC__BU 0120- 46 46 45 52 5F 4F 56 45 52 52 55 4E 10 06 00 00 FFER_OVERRUN.... 0130- 00 45 52 52 43 5F 5F 48 45 58 44 5F 50 41 52 53 .ERRC__HEXD_PARS 0140- 45 5F 45 52 52 4F 52 10 07 00 00 00 45 52 52 43 E_ERROR.....ERRC 0150- 5F 5F 4E 4F 5F 53 55 43 48 5F 46 49 4C 45 10 08 __NO_SUCH_FILE.. 0160- 00 00 00 45 52 52 43 5F 5F 4A 4F 42 5F 43 41 4E ...ERRC__JOB_CAN 0170- 43 45 4C 4C 41 54 49 4F 4E 10 09 00 00 00 45 52 CELLATION.....ER 0180- 52 43 5F 5F 50 4F 52 54 5F 4F 50 45 4E 5F 46 41 RC__PORT_OPEN_FA 0190- 49 4C 55 52 45 10 0A 00 00 00 45 52 52 43 5F 5F ILURE.....ERRC__ 01A0- 49 4E 56 41 4C 49 44 5F 41 44 44 52 45 53 53 10 INVALID_ADDRESS. 01B0- 0B 00 00 00 45 52 52 43 5F 5F 44 45 42 55 47 10 ....ERRC__DEBUG. 01C0- 0C 00 00 00 45 52 52 43 5F 5F 43 48 45 43 4B 53 ....ERRC__CHECKS 01D0- 55 4D 5F 4D 49 53 4D 41 54 43 48 10 0D 00 00 00 UM_MISMATCH..... 01E0- 45 52 52 43 5F 5F 4C 49 4E 45 5F 4C 45 4E 47 54 ERRC__LINE_LENGT 01F0- 48 5F 4D 49 53 4D 41 54 43 48 10 0E 00 00 00 45 H_MISMATCH.....E 0200- 52 52 43 5F 5F 57 52 4F 4E 47 5F 43 48 41 52 41 RRC__WRONG_CHARA 0210- 43 54 45 52 10 0F 00 00 00 45 52 52 43 5F 5F 4C CTER.....ERRC__L 0220- 49 4E 45 5F 54 49 4D 45 4F 55 54 10 10 00 00 00 INE_TIMEOUT..... 0230- 53 54 41 52 54 00 53 4F 48 10 01 00 00 00 45 4F START.SOH.....EO 0240- 54 10 04 00 00 00 45 4E 51 10 05 00 00 00 41 43 T.....ENQ.....AC 0250- 4B 10 06 00 00 00 4E 41 4B 10 15 00 00 00 43 41 K.....NAK.....CA 0260- 4E 10 18 00 00 00 53 54 58 10 02 00 00 00 45 54 N.....STX.....ET 0270- 58 10 03 00 00 00 43 52 10 0D 00 00 00 4C 46 10 X.....CR.....LF. 0280- 0A 00 00 00 49 4E 50 55 54 5F 53 54 41 52 54 10 ....INPUT_START. 0290- 1E 00 00 00 49 4E 50 55 54 5F 53 54 4F 50 10 1F ....INPUT_STOP.. 02A0- 00 00 00 ... ______________________________________________________________________________ ********************************************************* File starts here *** Zerocat Chipflasher --- Flash free firmware, kick the Management Engine. Copyright (C) 2020, 2021, 2022 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: 12 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 ***