Documentation for “Zerocat Chipflasher” as of Wed, 01 Jan 2025 22:07:30 +0100
Repository:
Version: v2.1.0-0-850cd7bce
Branch: master

../../firmware2/src/error.spin.flashrom.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/error.spin
|-pins.spin
|-time.spin
Done.
Program size is 456 bytes

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

File error.spin --- provide error codes and exit method.

Copyright (C) 2020, 2021, 2022  Kai Mertens 

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

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


# Interface Description

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

PUB  display(errcode)

Program:  110 Longs
Variable: 0 Longs


# Loaded Objects

* Load pin configuration object.
* Load time object.


# Constants

* ENUM ERR_type
  ERR_HELLO_38400                                     -> all LEDs blink once, very slow
  ERR_HELLO_57600                                     -> all LEDs blink once, slow
  ERR_HELLO                                           -> all LEDs blink once
  ERR_RST                                             -> LED D2 on
  ERR_CANCEL      same as ERRCODE_QUIT                -> LED D2 off
  ERR_SUCCESS                                         -> LED D2 blinks once
  ERR_HANDSHAKE                                       -> LED D2 blinks twice
  ERR_JOB                                             -> LED D2 blinks three times
  ERR_TIMEOUT                                         -> LED D2 blinks 4 times
  ERR_TX          same as ERRCODE_TRANSMISSION_ERROR  -> LED D2 blinks 5 times
  ERR_CODE        same as ERRCODE_CODE                -> LED D2 blinks 6 times
  ERR_INTERFACE                                       -> LED D2 blinks 7 times
  ERR_LOWVOLTAGE                                      -> LED D2 blinks 8 times
  ERR_CABLE                                           -> LED D2 blinks 9 times
  ERR_REQUESTSUSPEND                                  --- internal flag


# Functions

_____________________
PUB  display(errcode)

 Display status codes with D1..D3.


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