Documentation for “Zerocat Chipflasher” as of Tue, 03 Dec 2024 13:38:25 +0100
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v2.0.2
Branch: flashrom-interface
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor. Version 1.00.78 Compiling... ../../firmware2/src/txline_SREC.spin |-ASCII.spin |-linespec.spin |-blocksizes.spin Done. Program size is 856 bytes TYPE: 43 VALUE: 00000041 (00000000) NAME: ACASE TYPE: 43 VALUE: 0000FF00 (00000000) NAME: S_ID TYPE: 43 VALUE: 00000007 (00000000) NAME: S_ADDRLEN TYPE: 43 VALUE: 00000007 (00000000) NAME: STACKSIZE TYPE: 53 VALUE: 00000001 (00000004) NAME: START TYPE: 53 VALUE: 00000602 (00000004) NAME: PRINT TYPE: 53 VALUE: 00000003 (00000004) NAME: STOP TYPE: 4F VALUE: 00000004 (00000000) NAME: ASC TYPE: 4F VALUE: 00000105 (00000000) NAME: LINESPEC 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: 51 VALUE: 00000002 (00000000) NAME: ARRAY_LINESPEC^B TYPE: 51 VALUE: 0000000C (00000000) NAME: BYTES_PER_LINESPEC_RECORD^B TYPE: 51 VALUE: 00000000 (00000000) NAME: LINESPEC_PAYLOAD^B TYPE: 51 VALUE: 00000001 (00000000) NAME: LINESPEC_TYPE^B TYPE: 51 VALUE: 00000002 (00000000) NAME: LINESPEC_MODE0XFF^B TYPE: 51 VALUE: 00000003 (00000000) NAME: LINESPEC_TYPENAME^B TYPE: 51 VALUE: 00000000 (00000000) NAME: TYPE_SREC^B TYPE: 51 VALUE: 00000001 (00000000) NAME: TYPE_HEXD^B TYPE: 51 VALUE: 00000080 (00000000) NAME: MODE_SPLIT^B TYPE: 51 VALUE: 00000040 (00000000) NAME: MODE_STRIP^B TYPE: 51 VALUE: 0000003F (00000000) NAME: MODE_INLINE^B TYPE: 51 VALUE: 00000000 (00000000) NAME: MODE_HEXD^B TYPE: 51 VALUE: 000000D0 (00000000) NAME: MODE_SREC^B TYPE: 51 VALUE: 00000208 (00000000) NAME: BUFSIZE_LINE^B TYPE: 51 VALUE: 00000100 (00000000) NAME: BUFSIZE_PAYLOAD^B TYPE: 51 VALUE: 0000000F (00000000) NAME: FRAMESIZE_HEADLINE^B TYPE: 51 VALUE: 00000010 (00000000) NAME: FRAMESIZE_SREC^B TYPE: 51 VALUE: 0000000E (00000000) NAME: FRAMESIZE_HEXD^B TYPE: 51 VALUE: 000001F9 (00000000) NAME: SIZE_HEADSTRING^B TYPE: 51 VALUE: 00000010 (00000000) NAME: BASESIZE_PAYLOAD^B TYPE: 51 VALUE: 00000010 (00000000) NAME: MAXSIZE_PAYLOAD_HEXD^B TYPE: 51 VALUE: 00000010 (00000000) NAME: DEFAULT_PAYLOAD_HEXD^B TYPE: 51 VALUE: 000000FC (00000000) NAME: MAXSIZE_PAYLOAD_SREC^B TYPE: 51 VALUE: 00000040 (00000000) NAME: DEFAULT_PAYLOAD_SREC^B TYPE: 50 VALUE: 00000001 (00000000) NAME: INIT^B TYPE: 50 VALUE: 00000002 (00000000) NAME: TOGGLE_INDEX^B TYPE: 50 VALUE: 00000003 (00000000) NAME: GET_TYPE^B TYPE: 50 VALUE: 00000004 (00000000) NAME: GET_MODE0XFF^B TYPE: 50 VALUE: 00000105 (00000000) NAME: SET_MODE0XFF^B TYPE: 50 VALUE: 00000206 (00000000) NAME: TRIM_PAYLOAD_MOTS^B TYPE: 50 VALUE: 00000107 (00000000) NAME: GET_PAYLOAD^B TYPE: 50 VALUE: 00000008 (00000000) NAME: GETPTR_TYPENAME^B TYPE: 50 VALUE: 00000009 (00000000) NAME: INC_PAYLOAD^B TYPE: 50 VALUE: 0000000A (00000000) NAME: GETPTR_HEADSTR_PREFIX^B TYPE: 43 VALUE: 00000204 (00000000) NAME: BUFSIZE_LINE TYPE: 43 VALUE: 000001FF (00000000) NAME: IMASK TYPE: 47 VALUE: 00000000 (00000000) NAME: STACK TYPE: 45 VALUE: 00000000 (00000000) NAME: COG TYPE: 4A VALUE: 00000018 (00000000) NAME: LINESREC TYPE: 4A VALUE: 0000001C (00000004) NAME: STARTLINE TYPE: 4A VALUE: 00000020 (00000008) NAME: WAIT^C^A^A^A TYPE: 4A VALUE: 0000002C (00000014) NAME: GETPARAM TYPE: 4A VALUE: 0000005C (00000044) NAME: CLEAR TYPE: 4A VALUE: 00000064 (0000004c) NAME: RECORD_S TYPE: 4A VALUE: 00000074 (0000005c) NAME: RECORD_TYPE TYPE: 4A VALUE: 0000008C (00000074) NAME: RECORD_LENGTH TYPE: 4A VALUE: 000000AC (00000094) NAME: RECORD_ADDRESS TYPE: 4A VALUE: 000000D0 (000000b8) NAME: LOOP ^A^A^A TYPE: 4A VALUE: 000000E4 (000000cc) NAME: PAYLOAD_CUT TYPE: 4A VALUE: 000000F0 (000000d8) NAME: LOOP ^A^A^A TYPE: 4A VALUE: 00000114 (000000fc) NAME: PRINT_CHECKSUM TYPE: 4A VALUE: 00000128 (00000110) NAME: PRINT_LE TYPE: 4A VALUE: 00000140 (00000128) NAME: LENGHT TYPE: 4A VALUE: 00000148 (00000130) NAME: JMP_TO_START TYPE: 4A VALUE: 0000014C (00000134) NAME: CLRBUF TYPE: 4A VALUE: 00000154 (0000013c) NAME: LOOP^O^A^A^A TYPE: 4A VALUE: 00000160 (00000148) NAME: CLRBUF_RET TYPE: 4A VALUE: 00000164 (0000014c) NAME: PRINTHEX TYPE: 4A VALUE: 00000174 (0000015c) NAME: LOOP^Q^A^A^A TYPE: 4A VALUE: 00000198 (00000180) NAME: PRINTHEX_RET TYPE: 4A VALUE: 0000019C (00000184) NAME: _S_ID TYPE: 4A VALUE: 000001A0 (00000188) NAME: _S_ADDRLEN TYPE: 4A VALUE: 000001A4 (0000018c) NAME: _LINE TYPE: 4A VALUE: 000001A8 (00000190) NAME: _TRUE TYPE: 4B VALUE: 000001AC (00000194) NAME: _STACKADDR TYPE: 4B VALUE: 000001AC (00000198) NAME: _PDEST TYPE: 4B VALUE: 000001AC (0000019c) NAME: _PSRC TYPE: 4B VALUE: 000001AC (000001a0) NAME: _INDEX TYPE: 4B VALUE: 000001AC (000001a4) NAME: _STARTADDR TYPE: 4B VALUE: 000001AC (000001a8) NAME: _CUT TYPE: 4B VALUE: 000001AC (000001ac) NAME: _SINFO TYPE: 4B VALUE: 000001AC (000001b0) NAME: _P TYPE: 4B VALUE: 000001AC (000001b4) NAME: _Q TYPE: 4B VALUE: 000001AC (000001b8) NAME: _X TYPE: 4B VALUE: 000001AC (000001bc) NAME: _C TYPE: 4B VALUE: 000001AC (000001c0) NAME: _N TYPE: 4B VALUE: 000001AC (000001c4) NAME: _DIGITS TYPE: 4B VALUE: 000001AC (000001c8) NAME: _VALUE TYPE: 4B VALUE: 000001AC (000001cc) NAME: _CHECKSUM TYPE: 4E VALUE: 00000004 (00000000) NAME: PDEST TYPE: 4E VALUE: 00000008 (00000000) NAME: PSRC TYPE: 4E VALUE: 0000000C (00000000) NAME: INDEX TYPE: 4E VALUE: 00000010 (00000000) NAME: STARTADDR TYPE: 4E VALUE: 00000014 (00000000) NAME: CUT TYPE: 4E VALUE: 00000018 (00000000) NAME: SINFO TYPE: 4E VALUE: 00000000 (00000000) NAME: R Distilled longs: 0 OBJ bytes: 936 _CLKMODE: 00 _CLKFREQ: 00B71B00 0000- 24 00 48 03 DC 01 04 02 AC 01 00 00 C0 01 00 00 $.H............. 0010- D1 01 00 00 DC 01 20 00 FC 01 20 00 F0 CB BC A0 ...... ... ..... 0020- 65 D8 BC A0 6C DE BC 08 64 DE 3C C2 02 00 54 5C e...l...d.<...T\ 0030- 04 D8 FC 80 6C CC BC 08 04 D8 FC 80 6C CE BC 08 ....l.......l... 0040- 04 D8 FC 80 6C D0 BC 08 04 D8 FC 80 6C D2 BC 08 ....l.......l... 0050- 04 D8 FC 80 6C D4 BC 08 04 D8 FC 80 6C D6 BC 08 ....l.......l... 0060- 66 D8 BC A0 4D A4 FC 5C 66 D8 BC A0 53 DE FC A0 f...M..\f...S... 0070- 6C DE 3C 00 01 D8 FC 80 6B DE BC A0 61 DE BC 60 l.<.....k...a..` 0080- 08 DE FC 28 30 DE FC 80 6C DE 3C 00 01 D8 FC 80 ...(0...l.<..... 0090- 6B DC BC A0 62 DC BC 60 6E E6 BC A0 6A E6 BC 80 k...b..`n...j... 00A0- 01 E6 FC 80 73 E4 BC A0 02 E2 FC A0 53 C0 FC 5C ....s.......S..\ 00B0- 6E E2 BC A0 01 E2 FC 2C 69 E4 BC A0 53 C0 FC 5C n......,i...S..\ 00C0- 6E E0 BC A0 03 E0 FC 2C 20 DE FC A0 70 DE BC 84 n......, ...p... 00D0- 6F D2 BC 24 08 D2 FC 24 69 DE BC A0 FF DE FC 60 o..$...$i......` 00E0- 6F E6 BC 80 2E DC FC E4 00 D4 7C 86 3F 00 68 5C o.........|.?.h\ 00F0- 6A DC BC A0 68 DA BC A0 FF DB FC 60 67 DA BC 80 j...h......`g... 0100- 01 D0 FC 80 6D DE BC 00 6C DE 3C 00 01 D8 FC 80 ....m...l.<..... 0110- 6F E6 BC 80 36 DC FC E4 73 E4 BC A0 FF E4 FC 6C o...6...s......l 0120- FF E4 FC 60 02 E2 FC A0 53 C0 FC 5C 0D DE FC A0 ...`....S..\.... 0130- 6C DE 3C 00 01 D8 FC 80 0A DE FC A0 6C DE 3C 00 l.<.........l.<. 0140- 01 D8 FC 80 66 D8 BC 84 65 D8 3C 08 01 00 7C 5C ....f...e.<...|\ 0150- 63 DC BC A0 20 DE FC A0 6C DE 3C 00 01 D8 FC 80 c... ...l.<..... 0160- 4F DC FC E4 00 00 7C 5C 08 DE FC A0 71 DE BC 84 O.....|\....q... 0170- 02 DE FC 2C 6F E4 BC 24 04 E4 FC 24 72 DE BC A0 ...,o..$...$r... 0180- 0F DE FC 60 0A DE 7C 85 30 DE F0 80 37 DE CC 80 ...`..|.0...7... 0190- 6C DE 3C 00 01 D8 FC 80 57 E2 FC E4 00 00 7C 5C l.<.....W.....|\ 01A0- 00 FF 00 00 07 00 00 00 04 02 00 00 FF FF FF FF ................ 01B0- 43 35 37 22 1A 34 C7 18 43 28 36 EC 89 1C 88 1C C57".4..C(6..... 01C0- FF 0B 72 32 36 DB 00 67 38 06 1E 34 41 40 34 FC ..r26..g8..4A@4. 01D0- 0B 7B 40 61 32 88 1C 0A 06 8A 1C 98 36 ED 21 32 .{@a2.......6.!2 01E0- 20 00 03 00 0C 00 00 00 17 00 00 00 64 37 24 FA ...........d7$. 01F0- 64 37 26 F9 F0 61 32 64 38 0D FC 61 32 00 00 00 d7&..a2d8..a2... 0200- 40 01 0C 01 7C 00 00 00 80 00 00 00 85 00 00 00 @...|........... 0210- 92 00 00 00 A0 00 00 00 AE 00 00 00 C9 00 00 00 ................ 0220- DC 00 00 00 E9 00 04 00 2E 01 00 00 32 01 00 00 ............2... 0230- 40 01 04 00 5A 65 72 6F 63 61 74 20 43 68 69 70 @...Zerocat Chip 0240- 66 6C 61 73 68 65 72 20 28 68 74 74 70 3A 2F 2F flasher (http:// 0250- 77 77 77 2E 7A 65 72 6F 63 61 74 2E 6F 72 67 29 www.zerocat.org) 0260- 20 7C 20 00 40 00 D0 53 2D 52 65 63 6F 72 64 00 | .@..S-Record. 0270- 10 01 00 48 65 78 2D 44 75 6D 70 00 35 89 00 32 ...Hex-Dump.5..2 0280- 36 8A 00 4B 32 87 64 88 00 38 0C F4 EC 36 EC 80 6..K2.d..8...6.. 0290- 61 32 87 64 88 00 38 0C F4 EC 37 00 EC 80 61 32 a2.d..8...7...a2 02A0- 64 87 64 88 00 38 0C F4 EC 37 00 EC 81 32 64 61 d.d..8...7...2da 02B0- 68 37 77 E8 0A 06 38 FA 62 45 04 0C 68 3A FF 00 h7w...8.bE..h:.. 02C0- 00 E8 0A 04 38 FB 62 45 32 87 64 88 00 38 0C F4 ....8.bE2.d..8.. 02D0- EC 35 EC 80 61 00 60 64 05 06 61 32 87 64 88 00 .5..a.`d..a2.d.. 02E0- 38 0C F4 EC 37 21 EC 61 32 00 35 05 07 65 39 01 8...7!.a2.5..e9. 02F0- 2D 00 05 03 35 0D 04 36 0D 1A 0C 39 01 13 64 38 -...5..6...9..d8 0300- FC 0D 0A 01 64 36 E3 38 FC E5 05 0B 0C 01 37 03 ....d6.8......7. 0310- 05 0B 0C 0C 39 01 2C 64 37 03 0D 0A 01 64 36 E3 ....9.,d7....d6. 0320- 37 03 E5 05 0B 0C 01 37 03 05 0B 0C 0C 32 87 34 7......7.....2.4 0330- 61 32 64 87 64 88 00 38 0C F4 EC 35 EC 81 32 00 a2d.d..8...5..2. 0340- 0C 00 02 00 08 00 00 00 32 00 00 00 6D 41 43 41 ........2...mACA 0350- 53 45 10 41 00 00 00 53 5F 49 44 10 00 FF 00 00 SE.A...S_ID..... 0360- 53 5F 41 44 44 52 4C 45 4E 10 07 00 00 00 53 54 S_ADDRLEN.....ST 0370- 41 43 4B 53 49 5A 45 10 07 00 00 00 53 54 41 52 ACKSIZE.....STAR 0380- 54 00 50 52 49 4E 54 06 53 54 4F 50 00 42 55 46 T.PRINT.STOP.BUF 0390- 53 49 5A 45 5F 4C 49 4E 45 10 04 02 00 00 49 4D SIZE_LINE.....IM 03A0- 41 53 4B 10 FF 01 00 00 ASK..... ______________________________________________________________________________ ********************************************************* File starts here *** Zerocat Chipflasher --- Flash free firmware, kick the Management Engine. Copyright (C) 2020, 2021, 2022 Kai Mertens File txline_SREC.spin --- PASM code. Print Srecord Line to buffer. This file is part of Zerocat Chipflasher. See end of file for terms of use. ****************************************************************************** Object "../../firmware2/src/txline_SREC" Interface: PUB start PUB print(pdest, psrc, index, startaddr, cut, sinfo) : PUB stop Program: 210 Longs Variable: 9 Longs __________ PUB start Launch PASM code in new cog. ________________________________________________________ PUB print(pdest, psrc, index, startaddr, cut, sinfo) : Print one Motorola-S (Binary Payload) Line into buffer. Line Ending is: CR, LF Returns number of bytes that have been written to pdest. _________ PUB stop Stop cog by ID. ****************************************************************************** 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 ***