Documentation for “Zerocat Chipflasher” as of Sat, 07 Dec 2024 11:41:07 +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/txline_HEXD.spin |-ASCII.spin |-linespec.spin |-blocksizes.spin Done. Program size is 776 bytes TYPE: 43 VALUE: 00000041 (00000000) NAME: ACASE TYPE: 43 VALUE: 00000006 (00000000) NAME: STACKSIZE TYPE: 53 VALUE: 00000001 (00000004) NAME: START TYPE: 53 VALUE: 00000502 (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: 00000010 (00000000) NAME: PAYLOAD TYPE: 43 VALUE: 0000004E (00000000) NAME: BUFSIZE_LINE TYPE: 43 VALUE: 000001FF (00000000) NAME: IMASK TYPE: 43 VALUE: 0000004E (00000000) NAME: LINE TYPE: 47 VALUE: 00000000 (00000000) NAME: STACK TYPE: 45 VALUE: 00000000 (00000000) NAME: COG TYPE: 4A VALUE: 00000018 (00000000) NAME: LINEHEXD 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: 00000054 (0000003c) NAME: CLEAR TYPE: 4A VALUE: 0000005C (00000044) NAME: ADDRESS TYPE: 4A VALUE: 0000006C (00000054) NAME: DELIM1 TYPE: 4A VALUE: 00000078 (00000060) NAME: DELIM2 TYPE: 4A VALUE: 0000008C (00000074) NAME: PAYLOAD_CUT TYPE: 4A VALUE: 00000090 (00000078) NAME: LOOP ^A^A^A TYPE: 4A VALUE: 000000C0 (000000a8) NAME: DOT ^A^A^A TYPE: 4A VALUE: 000000C4 (000000ac) NAME: STORE ^A^A^A TYPE: 4A VALUE: 000000DC (000000c4) NAME: ASCII_FILLUP TYPE: 4A VALUE: 000000E4 (000000cc) NAME: LE TYPE: 4A VALUE: 000000FC (000000e4) NAME: LENGHT TYPE: 4A VALUE: 00000104 (000000ec) NAME: JMP_TO_START TYPE: 4A VALUE: 00000108 (000000f0) NAME: CLRBUF TYPE: 4A VALUE: 00000110 (000000f8) NAME: LOOP^N^A^A^A TYPE: 4A VALUE: 0000011C (00000104) NAME: CLRBUF_RET TYPE: 4A VALUE: 00000120 (00000108) NAME: PRINTHEX TYPE: 4A VALUE: 00000130 (00000118) NAME: LOOP^P^A^A^A TYPE: 4A VALUE: 00000154 (0000013c) NAME: PRINTHEX_RET TYPE: 4A VALUE: 00000158 (00000140) NAME: _TRUE TYPE: 4B VALUE: 0000015C (00000144) NAME: _STACKADDR TYPE: 4B VALUE: 0000015C (00000148) NAME: _PDEST TYPE: 4B VALUE: 0000015C (0000014c) NAME: _PSRC TYPE: 4B VALUE: 0000015C (00000150) NAME: _INDEX TYPE: 4B VALUE: 0000015C (00000154) NAME: _STARTADDR TYPE: 4B VALUE: 0000015C (00000158) NAME: _CUT TYPE: 4B VALUE: 0000015C (0000015c) NAME: _P TYPE: 4B VALUE: 0000015C (00000160) NAME: _PASC TYPE: 4B VALUE: 0000015C (00000164) NAME: _Q TYPE: 4B VALUE: 0000015C (00000168) NAME: _X TYPE: 4B VALUE: 0000015C (0000016c) NAME: _C TYPE: 4B VALUE: 0000015C (00000170) NAME: _N TYPE: 4B VALUE: 0000015C (00000174) NAME: _FILLUP TYPE: 4B VALUE: 0000015C (00000178) NAME: _DIGITS TYPE: 4B VALUE: 0000015C (0000017c) NAME: _VALUE 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: 00000000 (00000000) NAME: R Distilled longs: 0 OBJ bytes: 854 _CLKMODE: 00 _CLKFREQ: 00B71B00 0000- 20 00 F8 02 8C 01 04 02 5C 01 00 00 70 01 00 00 .......\...p... 0010- 81 01 00 00 8C 01 1C 00 AC 01 1C 00 F0 A3 BC A0 ................ 0020- 51 AE BC A0 57 B6 BC 08 50 B6 3C C2 02 00 54 5C Q...W...P.<...T\ 0030- 04 AE FC 80 57 A4 BC 08 04 AE FC 80 57 A6 BC 08 ....W.......W... 0040- 04 AE FC 80 57 A8 BC 08 04 AE FC 80 57 AA BC 08 ....W.......W... 0050- 04 AE FC 80 57 AC BC 08 52 AE BC A0 3C 82 FC 5C ....W...R...<..\ 0060- 52 AE BC A0 08 BC FC A0 55 BE BC A0 42 9E FC 5C R.......U...B..\ 0070- 3A B6 FC A0 57 B6 3C 00 02 AE FC 80 57 B0 BC A0 :...W.<.....W... 0080- 31 B0 FC 80 23 B6 FC A0 58 B6 3C 00 01 B0 FC 80 1...#...X.<..... 0090- 56 B8 BC A0 54 B2 BC A0 FF B3 FC 60 53 B2 BC 80 V...T......`S... 00A0- 01 A8 FC 80 59 BE BC 00 5F B6 BC A0 7F B6 FC 60 ....Y..._......` 00B0- 20 B6 7C 85 2A 00 70 5C 7F B6 7C 85 2A 00 4C 5C .|.*.p\..|.*.L\ 00C0- 2B 00 7C 5C 2E B6 FC A0 58 B6 3C 00 01 B0 FC 80 +.|\....X.<..... 00D0- 02 BC FC A0 42 9E FC 5C 01 AE FC 80 1E B8 FC E4 ....B..\........ 00E0- 10 B0 FC 80 56 B0 BC 84 0D B6 FC A0 58 B6 3C 00 ....V.......X.<. 00F0- 01 B0 FC 80 0A B6 FC A0 58 B6 3C 00 01 B0 FC 80 ........X.<..... 0100- 52 B0 BC 84 51 B0 3C 08 01 00 7C 5C 4E B4 FC A0 R...Q.<...|\N... 0110- 20 B6 FC A0 57 B6 3C 00 01 AE FC 80 3E B4 FC E4 ...W.<.....>... 0120- 00 00 7C 5C 08 B6 FC A0 5E B6 BC 84 02 B6 FC 2C ..|\....^......, 0130- 5B BE BC 24 04 BE FC 24 5F B6 BC A0 0F B6 FC 60 [..$...$_......` 0140- 0A B6 7C 85 30 B6 F0 80 37 B6 CC 80 57 B6 3C 00 ..|.0...7...W.<. 0150- 01 AE FC 80 46 BC FC E4 00 00 7C 5C FF FF FF FF ....F.....|\.... 0160- 43 35 38 06 1A 34 C7 18 43 28 36 EC 89 18 88 18 C58..4..C(6..... 0170- FF 0B 72 32 36 DB 00 67 38 05 1E 34 41 40 34 FC ..r26..g8..4A@4. 0180- 0B 7B 40 61 32 88 18 0A 06 8A 18 98 36 ED 21 32 .{@a2.......6.!2 0190- 20 00 03 00 0C 00 00 00 17 00 00 00 64 37 24 FA ...........d7$. 01A0- 64 37 26 F9 F0 61 32 64 38 0D FC 61 32 00 00 00 d7&..a2d8..a2... 01B0- 40 01 0C 01 7C 00 00 00 80 00 00 00 85 00 00 00 @...|........... 01C0- 92 00 00 00 A0 00 00 00 AE 00 00 00 C9 00 00 00 ................ 01D0- DC 00 00 00 E9 00 04 00 2E 01 00 00 32 01 00 00 ............2... 01E0- 40 01 04 00 5A 65 72 6F 63 61 74 20 43 68 69 70 @...Zerocat Chip 01F0- 66 6C 61 73 68 65 72 20 28 68 74 74 70 3A 2F 2F flasher (http:// 0200- 77 77 77 2E 7A 65 72 6F 63 61 74 2E 6F 72 67 29 www.zerocat.org) 0210- 20 7C 20 00 40 00 D0 53 2D 52 65 63 6F 72 64 00 | .@..S-Record. 0220- 10 01 00 48 65 78 2D 44 75 6D 70 00 35 89 00 32 ...Hex-Dump.5..2 0230- 36 8A 00 4B 32 87 64 88 00 38 0C F4 EC 36 EC 80 6..K2.d..8...6.. 0240- 61 32 87 64 88 00 38 0C F4 EC 37 00 EC 80 61 32 a2.d..8...7...a2 0250- 64 87 64 88 00 38 0C F4 EC 37 00 EC 81 32 64 61 d.d..8...7...2da 0260- 68 37 77 E8 0A 06 38 FA 62 45 04 0C 68 3A FF 00 h7w...8.bE..h:.. 0270- 00 E8 0A 04 38 FB 62 45 32 87 64 88 00 38 0C F4 ....8.bE2.d..8.. 0280- EC 35 EC 80 61 00 60 64 05 06 61 32 87 64 88 00 .5..a.`d..a2.d.. 0290- 38 0C F4 EC 37 21 EC 61 32 00 35 05 07 65 39 01 8...7!.a2.5..e9. 02A0- 2D 00 05 03 35 0D 04 36 0D 1A 0C 39 01 13 64 38 -...5..6...9..d8 02B0- FC 0D 0A 01 64 36 E3 38 FC E5 05 0B 0C 01 37 03 ....d6.8......7. 02C0- 05 0B 0C 0C 39 01 2C 64 37 03 0D 0A 01 64 36 E3 ....9.,d7....d6. 02D0- 37 03 E5 05 0B 0C 01 37 03 05 0B 0C 0C 32 87 34 7......7.....2.4 02E0- 61 32 64 87 64 88 00 38 0C F4 EC 35 EC 81 32 00 a2d.d..8...5..2. 02F0- 0C 00 02 00 08 00 00 00 32 00 00 00 29 41 43 41 ........2...)ACA 0300- 53 45 10 41 00 00 00 53 54 41 43 4B 53 49 5A 45 SE.A...STACKSIZE 0310- 10 06 00 00 00 53 54 41 52 54 00 50 52 49 4E 54 .....START.PRINT 0320- 05 53 54 4F 50 00 50 41 59 4C 4F 41 44 10 10 00 .STOP.PAYLOAD... 0330- 00 00 42 55 46 53 49 5A 45 5F 4C 49 4E 45 10 4E ..BUFSIZE_LINE.N 0340- 00 00 00 49 4D 41 53 4B 10 FF 01 00 00 4C 49 4E ...IMASK.....LIN 0350- 45 10 4E 00 00 00 E.N... ______________________________________________________________________________ ********************************************************* File starts here *** Zerocat Chipflasher --- Flash free firmware, kick the Management Engine. Copyright (C) 2020, 2021, 2022 Kai Mertens File txline_HEXD.spin --- PASM code. Print HEXDUMP Line to buffer. This file is part of Zerocat Chipflasher. See end of file for terms of use. ****************************************************************************** Object "../../firmware2/src/txline_HEXD" Interface: PUB start PUB print(pdest, psrc, index, startaddr, cut) : PUB stop Program: 190 Longs Variable: 8 Longs __________ PUB start Launch PASM code in new cog. _________________________________________________ PUB print(pdest, psrc, index, startaddr, cut) : Print one Hex-Dump Line into buffer. Address field is fixed to 8 digits. Payload is fixed to 16 bytes. 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 ***