Documentation for “Zerocat Chipflasher” as of Wed, 01 Jan 2025 22:07:36 +0100
Repository:
Version: v2.1.0-0-850cd7bce
Branch: master
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor. Version 1.00.78 Compiling... ../../firmware2/src/menu.spin |-pins.spin |-time.spin |-ASCII.spin |-error.spin |-pins.spin |-time.spin |-JEDEC.spin |-connect.spin |-ASCII.spin |-linespec.spin |-blocksizes.spin |-chipspec.spin |-ASCII.spin |-blocksizes.spin |-JEDEC.spin |-SPI-flags.spin |-SPI-commands.spin |-SPI-flags.spin |-blocksizes.spin |-SPI-commands.spin |-txline_HEXD.spin |-ASCII.spin |-linespec.spin |-blocksizes.spin |-txline_SREC.spin |-ASCII.spin |-linespec.spin |-blocksizes.spin |-ADC-monitor.spin |-pins.spin |-FullDuplexSerial.spin Done. Program size is 21116 bytes ______________________________________________________________________________ ********************************************************* File starts here *** Zerocat Chipflasher --- Flash free firmware, kick the Management Engine. Copyright (C) 2020, 2021, 2022, 2024 Kai Mertens File menu.spin --- provide a basic menu This file is part of Zerocat Chipflasher. See end of file for terms of use. ****************************************************************************** # Interface Description Object "../../firmware2/src/menu" Interface: PUB RS232_handshake(baudrate, timeout_ms) : PUB start(vboard, baudrate, cfg, mode) : Program: 5275 Longs Variable: 572 Longs # Loaded Objects * pins * time * ASCII * error * JEDEC * connect * linespec * chipspec * SPI-flags * blocksizes * SPI-commands * txline_HEXD * txline_SREC * ADC-monitor * FullDuplexSerial by Parallax # Constants * Size of KEYMSG Records * Size of PROMPT Records * Menu Settings * ASCII Characters * CLIM Characters Might be changed for debugging purposes * Parallax Terminal Exit Characters * Status Register Bits, most common, but names vary. * Security Register on some Macronix Types * Index Mask for doubled buffer size * Keyreg Initial Value * Line Types * Modes $FF * Patterns * Flags * SINFO_by_id(), SINFO_by_name() * Timeout Factors * Key Catch * Power Up Timings in Milliseconds * FDS Stop Timing (in milliseconds) * Cooling Durations (in milliseconds) * ENUM REGISTER_type * ENUM ERRCODE_type * ENUM JOBCODE_type * ENUM JOBLEVEL_type * ENUM MODE_type * ENUM REPLY_type * ENUM KEYID_type * ENUM BUSPOWER_type * ENUM WIPCHECK_type * ENUM MODE_SPIPWR_type * ENUM ADDR_type * ENUM CASE_type * ENUM PAYLOAD_type (Motorola Line Data Mode) * ENUM RX_type * ENUM RXHEXD_type * ENUM RXSREC_type * ENUM CMD_type * ENUM X_type * ENUM TXMODE_type * Pins * FDS Mode * Size of stack for RS232 service routine # Globals # Functions _____________________________________________ PUB RS232_handshake(baudrate, timeout_ms) : Handshake with connect. __________________________________________ PUB start(vboard, baudrate, cfg, mode) : Start the menu. It is stopped by user input: `q' # Data * Strings * Menu Key Messages ****************************************************************************** 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 ***