Documentation for “Zerocat Chipflasher” as of Thu, 13 Apr 2023 13:22:51 +0200
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v2.0.2
Branch: flashrom-interface

../../firmware2/src/kick2.spin.nointerface.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/kick2.spin
|-pins.spin
|-ASCII.spin
|-error.spin
  |-pins.spin
  |-time.spin
Done.
Program size is 696 bytes
TYPE: 43   VALUE: 004C4B40 (00000000)   NAME: _XINFREQ
TYPE: 43   VALUE: 00000408 (00000000)   NAME: _CLKMODE
TYPE: 43   VALUE: 0000017D (00000000)   NAME: CYCL_MIN
TYPE: 43   VALUE: 00002000 (00000000)   NAME: MAX_TOTAL
TYPE: 43   VALUE: 00001000 (00000000)   NAME: MAX_STACK
TYPE: 43   VALUE: 00000B86 (00000000)   NAME: RUNTIME_RAM
TYPE: 43   VALUE: 00000B54 (00000000)   NAME: RUNTIME_STACK
TYPE: 43   VALUE: 000004AC (00000000)   NAME: _STACK
TYPE: 43   VALUE: 0000047A (00000000)   NAME: _FREE
TYPE: 53   VALUE: 00000001 (00000004)   NAME: KICK2
TYPE: 4F   VALUE: 00000002 (00000000)   NAME: PINS
TYPE: 4F   VALUE: 00000103 (00000000)   NAME: ASC
TYPE: 4F   VALUE: 00000204 (00000000)   NAME: ERROR
TYPE: 51   VALUE: 00000000 (00000000)   NAME: PIN_CEN1^A
TYPE: 51   VALUE: 00000001 (00000000)   NAME: PIN_CEN0^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: PIN_D3^A
TYPE: 51   VALUE: 0000000E (00000000)   NAME: PIN_D2^A
TYPE: 51   VALUE: 0000000F (00000000)   NAME: PIN_D1^A
TYPE: 51   VALUE: 0000001D (00000000)   NAME: PIN_TRIGGER^A
TYPE: 51   VALUE: 0000001E (00000000)   NAME: PIN_TX^A
TYPE: 51   VALUE: 0000001F (00000000)   NAME: PIN_RX^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: SWDIP_A^A
TYPE: 51   VALUE: 00000011 (00000000)   NAME: SWDIP_B^A
TYPE: 51   VALUE: 00000012 (00000000)   NAME: SWDIP_1^A
TYPE: 51   VALUE: 00000013 (00000000)   NAME: SWDIP_2^A
TYPE: 51   VALUE: 00000014 (00000000)   NAME: SWDIP_3^A
TYPE: 51   VALUE: 00000015 (00000000)   NAME: SWDIP_4^A
TYPE: 51   VALUE: 00000016 (00000000)   NAME: SWDIP_5^A
TYPE: 51   VALUE: 00000017 (00000000)   NAME: SWDIP_6^A
TYPE: 51   VALUE: 00000010 (00000000)   NAME: RST_DISABLE^A
TYPE: 51   VALUE: 00000018 (00000000)   NAME: RS232_RST^A
TYPE: 51   VALUE: 0000000B (00000000)   NAME: RST_INHIBIT^A
TYPE: 51   VALUE: 0000001B (00000000)   NAME: ADC_OUT^A
TYPE: 51   VALUE: 0000001A (00000000)   NAME: ADC_CALIBRATION^A
TYPE: 51   VALUE: 00000019 (00000000)   NAME: ADC_IN^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_ACTIVE100^A
TYPE: 51   VALUE: 000000E0 (00000000)   NAME: MASK_SCLK_ACTIVE75^A
TYPE: 51   VALUE: 000000C0 (00000000)   NAME: MASK_SCLK_ACTIVE50^A
TYPE: 51   VALUE: 00000080 (00000000)   NAME: MASK_SCLK_ACTIVE25^A
TYPE: 51   VALUE: 00000000 (00000000)   NAME: MASK_SCLK_ACTIVE0^A
TYPE: 51   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_ACTIVE^A
TYPE: 50   VALUE: 00000001 (00000000)   NAME: CHECK_CABLE^A
TYPE: 50   VALUE: 00000002 (00000000)   NAME: GET_BOARD_CONFIG^A
TYPE: 50   VALUE: 00000103 (00000000)   NAME: GET_BOARD_VERSION^A
TYPE: 50   VALUE: 00000104 (00000000)   NAME: GET_PIN_RSTINHIBIT^A
TYPE: 50   VALUE: 00000105 (00000000)   NAME: GET_MONITOR_HARDWARE^A
TYPE: 50   VALUE: 00000106 (00000000)   NAME: GET_POWERUP_TYPE^A
TYPE: 50   VALUE: 00000107 (00000000)   NAME: GET_SUSPEND_INHIBIT^A
TYPE: 50   VALUE: 00000108 (00000000)   NAME: GET_MODE_SPI^A
TYPE: 50   VALUE: 00000109 (00000000)   NAME: GET_DRIVER_STRENGTH^A
TYPE: 50   VALUE: 0000010A (00000000)   NAME: GET_BAUDRATE^A
TYPE: 50   VALUE: 0000010B (00000000)   NAME: HIGH^A
TYPE: 50   VALUE: 0000010C (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: 00000060 (00000000)   NAME: QUOTESL^B
TYPE: 51   VALUE: 00000027 (00000000)   NAME: QUOTESR^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: 00000000 (00000000)   NAME: ERR_HELLO^C
TYPE: 51   VALUE: 00000001 (00000000)   NAME: ERR_RST^C
TYPE: 51   VALUE: 00000002 (00000000)   NAME: ERR_CANCEL^C
TYPE: 51   VALUE: 00000003 (00000000)   NAME: ERR_SUCCESS^C
TYPE: 51   VALUE: 00000004 (00000000)   NAME: ERR_HANDSHAKE^C
TYPE: 51   VALUE: 00000005 (00000000)   NAME: ERR_JOB^C
TYPE: 51   VALUE: 00000006 (00000000)   NAME: ERR_TIMEOUT^C
TYPE: 51   VALUE: 00000007 (00000000)   NAME: ERR_TX^C
TYPE: 51   VALUE: 00000008 (00000000)   NAME: ERR_CODE^C
TYPE: 51   VALUE: 00000009 (00000000)   NAME: ERR_INTERFACE^C
TYPE: 51   VALUE: 0000000A (00000000)   NAME: ERR_LOWVOLTAGE^C
TYPE: 51   VALUE: 0000000B (00000000)   NAME: ERR_CABLE^C
TYPE: 51   VALUE: 0000000C (00000000)   NAME: ERR_REQUESTSUSPEND^C
TYPE: 50   VALUE: 00000101 (00000000)   NAME: DISPLAY^C
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: ERRCODE
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: RST_INHIBIT
TYPE: 4E   VALUE: 0000000C (00000000)   NAME: BOARDCFG
TYPE: 4E   VALUE: 00000010 (00000000)   NAME: VBOARD

Distilled longs: 72

OBJ bytes: 813

_CLKMODE: 6F
_CLKFREQ: 04C4B400

0000- 00 00 A8 02 94 00 02 03 14 00 10 00 40 01 00 00   ............@...
0010- 94 00 00 00 B4 00 00 00 00 06 02 02 6D 00 6C 06   ............m.l.
0020- 02 03 71 00 6C 06 02 04 69 68 3D D6 1C 37 23 38   ..q.l...ih=..7#8
0030- 0D 3E D6 1C 70 08 07 01 35 06 04 01 09 79 68 3D   .>..p...5....yh=
0040- D4 1C 36 65 70 36 FA 0A 17 36 3F BA 35 3F BC 38   ..6ep6...6?.5?.8
0050- 50 38 17 E3 35 38 09 E3 EC 38 18 35 E3 EC 3F B8   P8..58...8.5..?.
0060- 01 64 06 04 01 38 09 65 38 90 70 36 0D 17 01 64   .d...8.e8.p6...d
0070- 06 04 01 68 3D 94 0A 0A 3F 9C 36 FA 0A 04 68 3D   ...h=...?.6...h=
0080- D4 18 04 6A 0C 36 08 07 01 64 06 04 01 09 79 68   ...j.6...d....yh
0090- 3D D4 18 0C 32 00 00 00 20 00 03 00 0C 00 00 00   =...2... .......
00A0- 17 00 00 00 64 37 24 FA 64 37 26 F9 F0 61 32 64   ....d7$.d7&..a2d
00B0- 38 0D FC 61 32 00 00 00 8C 00 02 02 10 00 00 00   8..a2...........
00C0- 8C 00 00 00 AC 01 00 00 38 88 64 35 0D 3C 36 0D   ........8.d5.<6.
00D0- 80 5B 37 00 0D 80 63 38 0E 3D D4 18 01 39 01 5E   .[7...c8.=...9.^
00E0- 06 03 02 64 37 21 ED 08 19 38 0E 3D D4 1C 01 38   ...d7!...8.=...8
00F0- 32 06 03 02 38 0E 3D D4 18 01 39 01 5E 06 03 02   2...8.=...9.^...
0100- 09 67 01 39 01 5E 06 03 02 0C 01 38 64 06 03 02   .g.9.^.....8d...
0110- 37 22 37 23 38 0D 3E B4 01 39 01 2C 06 03 02 35   7"7#8.>..9.,...5
0120- 37 23 38 0D 3E B4 01 38 64 06 03 02 0C 38 0E 3D   7#8.>..8d....8.=
0130- D4 1C 01 39 01 2C 06 03 02 0C 38 0E 3D D4 18 0C   ...9.,....8.=...
0140- 32 00 00 00 20 01 0D 00 34 00 00 00 3E 00 00 00   2... ...4...>...
0150- 59 00 00 00 61 00 00 00 73 00 00 00 83 00 00 00   Y...a...s.......
0160- 98 00 00 00 AD 00 00 00 C9 00 00 00 DF 00 00 00   ................
0170- 0D 01 00 00 16 01 00 00 38 09 3D 92 35 FB 61 62   ........8.=.5.ab
0180- 47 32 38 17 38 12 3E 92 E7 37 25 E8 61 37 00 62   G28.8.>..7%.a7.b
0190- 43 38 11 37 03 3E 92 37 21 E8 62 4A 32 64 37 21   C8.7.>.7!.bJ2d7!
01A0- E8 36 EC 33 32 38 72 00 64 05 03 36 0D 04 38 0B   .6.328r.d..6..8.
01B0- 33 0C 37 03 33 0C 32 38 82 00 64 05 03 36 0D 03   3.7.3.28..d..6..
01C0- 34 33 0C 35 33 0C 32 38 97 00 64 05 03 36 0D 08   43.53.28..d..6..
01D0- 64 37 06 E8 35 FB 33 0C 34 33 0C 32 38 AC 00 64   d7..5.3.43.28..d
01E0- 05 03 36 0D 08 64 37 05 E8 35 FB 33 0C 35 33 0C   ..6..d7..5.3.53.
01F0- 32 38 C8 00 64 05 03 36 0D 0E 64 37 03 E8 0A 04   28..d..6..d7....
0200- 35 33 04 03 37 21 33 0C 37 21 33 0C 32 38 DE 00   53..7!3.7!3.28..
0210- 64 05 03 36 0D 09 64 38 0C E8 37 00 E2 33 0C 36   d..6..d8..7..3.6
0220- 33 0C 32 39 01 0C 00 64 05 03 36 0D 1D 39 01 05   3.29...d..6..9..
0230- 64 37 04 E8 38 05 E2 35 0D 04 36 0D 07 0C 3A 01   d7..8..5..6...:.
0240- C2 00 33 0C 39 E1 00 33 0C 0C 3A 01 C2 00 33 0C   ..3.9..3..:...3.
0250- 32 64 3D D4 1C 64 3D D6 1C 32 64 3D D4 18 64 3D   2d=..d=..2d=..d=
0260- D6 1C 32 00 48 00 05 00 14 00 00 00 21 00 00 00   ..2.H.......!...
0270- 32 00 00 00 3A 00 00 00 35 C0 64 F4 39 01 7D E4   2...:...5.d.9.}.
0280- 3F 91 EC 23 32 35 C0 39 03 E8 F6 64 F4 39 01 7D   ?..#25.9...d.9.}
0290- E4 3F 91 EC 23 32 35 C0 64 F4 68 EC 23 32 35 C0   .?..#25.d.h.#25.
02A0- 39 03 E8 F6 64 F4 68 EC 23 32 00 00 59 5F 58 49   9...d.h.#2..Y_XI
02B0- 4E 46 52 45 51 10 40 4B 4C 00 5F 43 4C 4B 4D 4F   NFREQ.@KL._CLKMO
02C0- 44 45 10 08 04 00 00 43 59 43 4C 5F 4D 49 4E 10   DE.....CYCL_MIN.
02D0- 7D 01 00 00 4D 41 58 5F 54 4F 54 41 4C 10 00 20   }...MAX_TOTAL.. 
02E0- 00 00 4D 41 58 5F 53 54 41 43 4B 10 00 10 00 00   ..MAX_STACK.....
02F0- 52 55 4E 54 49 4D 45 5F 52 41 4D 10 86 0B 00 00   RUNTIME_RAM.....
0300- 52 55 4E 54 49 4D 45 5F 53 54 41 43 4B 10 54 0B   RUNTIME_STACK.T.
0310- 00 00 5F 53 54 41 43 4B 10 AC 04 00 00 5F 46 52   .._STACK....._FR
0320- 45 45 10 7A 04 00 00 4B 49 43 4B 32 00            EE.z...KICK2.

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

Copyright (C) 2020, 2021, 2022  Kai Mertens 

File kick2.spin --- The top object file for this firmware2 project.

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

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


# Object Configuration (set via Makefile)

Tell us which interface to use:

* connect
* flashrom
* terminal
* none


# Object Summary

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

PUB  kick2

Program:  170 Longs
Variable: 0 Longs


# Objects

Load pin configuration object.
Load ASCII object.
Load error object.


# Constants

System Speed
  _XINFREQ  --- External Crystal Frequency of 5MHz
  _CLKMODE  --- Low Speed Crystal x 16    = 80MHz
Basic Timing
Project's Memory Usage
  MAX_TOTAL
  MAX_STACK
  RUNTIME_RAM
  RUNTIME_STACK
  _STACK
  _FREE


# Functions

__________
PUB  kick2

This is the Chipflasher's new firmware, coded in Spin/PASM.


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