SECU-3 firmware
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sources
.gitignore
Makefile_gcc
Makefile_iar
binaries.7z
configure.bat
configure.sh
do_crc.bat
doxyconf
doxygen.bat
license
readme.txt
todo.txt

readme.txt

    SECU-3 Firmware (Application). Distributed under GPL license

    Designed by Alexey A. Shabelnikov 2007. Ukraine, Kiev.
    Microprocessor systems - design & programming.
    http://secu-3.org e-mail: shabelnikov@secu-3.org


    HOW TO COMPILE THE PROJECT
    Êàê êîìïèëèðîâàòü ïðîåêò

    You can compile the project using either IAR(MS Windows) or GCC(Linux, MS
    Windows). Project compiles for ATMega644/ATMega644P
    Under MS Windows: Run configure.bat with corresponding options (type of MCU
                      and type of compiler),it will create Makefile and start
                      building.
    Under Linux:      Run configure.sh with option - type of MCU and type of
                      compiler, it will create Makefile and start building.

    Âû ìîæåòå êîìïèëèðîâàòü ïðîåêò èñïîëüçóÿ IAR èëè GCC. Çàïóñòèòå configure.bat
c ñîîòâåòñòâóþùèìè îïöèÿìè (òèï ìèêðîêîíòðîëëåðà è òèï êîìïèëÿòîðà), áóäåò ñîçäàí
Makefile è íà÷íåòñÿ ñáîðêà ïðîåêòà. Ïðîåêò ñîáèðàåòñÿ äëÿ ATMega644/ATMega644P.
Íèæå ïðåäñòàâëåí ñïèñîê âîçìîæíûõ îïöèé êîìïèëÿöèè. Èñêëþ÷åíèå íåíóæíûõ îïöèé
ïîçâîëèò âàì ýêîíîìèòü ïàìÿòü è ðåñóðñû ÌÊ.

    LIST OF SYMBOLS WHICH AFFECT COMPILATION:
    Ñïèñîê ñèìâîëîâ óïðàâëÿþùèõ êîìïèëÿöèåé:

    DWELL_CONTROL        For direct controlling of dwell
                         äëÿ ïðÿìîãî óïðàâëåíèÿ íàêîïëåíèåì ýíåðãèè â êàòóøêàõ
                         çàæèãàíèÿ


    COOLINGFAN_PWM       Use PWM for controlling of electric cooling fan
                         èñïîëüçîâàòü èëè íåò ØÈÌ äëÿ óïðàâëåíèÿ îáîðîòàìè
                         âåíòèëÿòîðà

    REALTIME_TABLES      Allow editing of tables in realtime (use RAM)
                         ðàçðåøèòü ðåäàêòèðîâàíèå òàáëèö â ðåàëüíîì âðåìåíè

    DEBUG_VARIABLES      For watching and editing of some firmware variables
                         (used for debug by developers)
                         ðàçðåøèòü ðåæèì îòëàäêè ïîçâîëÿþùèé îòñëåæèâàòü è
                         ìåíÿòü íåêîòîðûå ïåðåìåííûå ïðîøèâêè

    PHASE_SENSOR         Use of phase (cam) sensor
                         (ðàçðåøèòü èñïîëüçîâàíèå äàò÷èêà ôàç)


    PHASED_IGNITION      Use phased ignition. PHASE_SENSOR must be also used.
                         (ðàçðåøèòü ôàçèðîâàííîå çàæèãàíèå)

    FUEL_PUMP            Electric fuel pump control
                         (Óïðàâëåíèå ýëåêòðîáåíçîíàñîñîì)


    THERMISTOR_CS        Use a resistive temperature sensor
                         (Èñïîëüçóåòñÿ äàò÷èê òåìïåðàòóðû îõëàæäàþùåé æèäêîñòè
                         ðåçèñòèâíîãî òèïà)

    REV9_BOARD           Build for SECU-3T boards of revision 9 and greater.
                         (Ñáîðêà äëÿ ïëàò SECU-3T ðåâèçèè 9 è âûøå)

    DIAGNOSTICS          Include hardware diagnostics functionality
                         (Âêëþ÷èòü ïîääåðæêó äèàãíîñòèêè àïïàðàòíîé ÷àñòè)

    HALL_OUTPUT          Include Hall sensor emulation functionality. Separate
                         output will be used.
                         (Âêëþ÷èòü ïîääåðæêó ýìóëÿöèè ñèãíàëà ñ Äàò÷èêà Õîëëà)

    STROBOSCOPE          Include stroboscope functionality
                         (Âêëþ÷èòü ïîääåðæêó ñòðîáîñêîïà)

    SM_CONTROL           Enable stepper motor and choke control functionality
                         (Âêëþ÷èòü ôóíêöèîíàëüíîñòü ïî óïðàâëåíèþ øàãîâûì
                         äâèãàòåëåì è âîçäóøíîé çàñëîíêîé)

    VREF_5V              Use 5V ADC reference voltage. In this case divider
                         bottom resistors are not necessary. So, input impedance
                         will be high.
                         (Èñïîëüçîâàòü îïîðíîå íàïðÿæåíèå äëÿ ÀÖÏ 5Â)

    HALL_SYNC            Use synchronization from Hall sensor (connected to PS
                         input) instead of CKP sensor
                         Èñïîëüçîâàòü ñèíõðîíèçàöèþ îò ÄÕ âìåñòî ÄÏÊÂ

    CKPS_2CHIGN          Build firmware for use 2 channel igniters (driven by
                         both edges)
                         Ñîáðàòü ïðîøèâêó ñ ïîääåðæêîé 2-õ êàíàëüíûõ
                         êîììóòàòîðîâ (óïðàâëÿþòñÿ 2-ìÿ ôðîíòàìè)

    UART_BINARY          Use binary mode for UART instead of ASCII
                         Èñïîëüçîâàòü áèíàðíûé ðåæèì ïðè ïåðåäà÷å äàííûõ ÷åðåç
                         UART âìåñòî ASCII

    FUEL_INJECT          Include support of fuel injection
                         Âêëþ÷èòü ïîääåðæêó óïðàâëåíèÿ âïðûñêîì òîïëèâà

    GD_CONTROL           Enable stepper motor control for gas dose control
                         (Âêëþ÷èòü ôóíêöèîíàëüíîñòü ïî óïðàâëåíèþ øàãîâûì
                         äâèãàòåëåì äëÿ äîçàòîðà ãàçà)

    CARB_AFR             Enable control of AFR on carburetor by means of
                         electronic actuators (valves driven by PWM)
                         (Âêëþ÷èòü ïîääåðæêó óïðàâëåíèÿ ñîñòàâîì ñìåñè íà
                          êàðáþðàòîðå ïðè ïîìîùè ýëåêòðîííûõ àêòþàòîðîâ)

    CKPS_NPLUS1          Synchronization from N+1 crankshaft wheel (e.g. 2+1
                         used in kawasaki ZX6R)
                         Ñèíõðîíèçàöèÿ îò çàäàþùåãî äèñêà N+1, íàïðèìåð 2+1

    BL_BAUD_RATE   *     Baud rate for boot loader. Can be set to 9600, 14400,
                         19200, 28800, 38400, 57600. Note! Will not take effect
                         without reprogramming using ISP programmator.
                         (Ñêîðîñòü ïåðåäà÷è äàííûõ äëÿ çàãðóç÷èêà)

    SPEED_SENSOR   *     Include speed sensor support
                         Âêëþ÷èòü ïîääåðæêó äàò÷èêà ñêîðîñòè

    INTK_HEATING   *     Include support of intake manifold heating control
                         Âêëþ÷èòü ïîääåðæêó óïðàâëåíèÿ ïîäîãðåâîì âïóñêíîãî
                         êîëëåêòîðà

    AIRTEMP_SENS   *     Include support of intake air temperature sensor
                         Âêëþ÷èòü ïîääåðæêó äàò÷èêà òåìïåðàòóðû âîçäóõà

    BLUETOOTH_SUPP *     Include functionality for working with Bluetooth
                         Âêëþ÷èòü ïîääåðæêó ðàáîòû ñ Bluetooth

    IMMOBILIZER    *     Include immobilizer and iButton functionality
                         Âêëþ÷èòü ïîääåðæêó èììîáèëàéçåðà è iButton

    UNI_OUTPUT     *     Include support of an universal programmable output
                         Âêëþ÷èòü ïîääåðæêó óíèâåðñàëüíîãî ïðîãðàììèðóåìîãî
                         âûõîäà

    PA4_INP_IGNTIM *     Use PA4 as analog input for manual correction of
                         ignition timing

    SEND_INST_VAL *      Send instant values (RPM, voltage) instead of averaged

* means that option is internal and not displayed in the list of options in the
  SECU-3 Manager
  îçíà÷àåò ÷òî îïöèÿ ÿâëÿåòñÿ âíóòðåííåé è íå îòîáðàæàåòñÿ â ñïèñêå îïöèé â
  SECU-3 Manager

Necessary symbols you can define in the preprocessor's options of the compiler
(edit corresponding Makefile).
Íóæíûå âàì ñèìâîëû âû ìîæåòå îïðåäåëèòü â îïöèÿõ ïðåïðîöåññîðà êîìïèëÿòîðà 
(ðåäàêòèðóéòå ñîîòâåòñòâóþùèé Makefile).