This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
ci-v_mqtt_stepper [2020/12/10 20:58] ok1hra [Secure remote manage] |
ci-v_mqtt_stepper [2022/01/04 18:28] ok1hra [Firmware source] |
||
---|---|---|---|
Line 83: | Line 83: | ||
==== Firmware ==== | ==== Firmware ==== | ||
- | For upload firmware you have two possibilities | + | For upload firmware you have two possibilities |
- | # Download ''' | + | - Ordered List ItemDownload **source** from [[https:// |
- | ## Install [EEPROM library|https:// | + | |
- | # Download | + | |
- | ## for example [avrdude|http:// | + | |
- | !! Firmware source | + | ==== Firmware source |
- | contains some settings which does not available from CLI | + | contains some settings which does not available from CLI \\ |
- | * You can enter ''' | + | * You can enter **frequency and uStep directly in to firmware** without CLI wizard. How to |
- | **Disable preset coment line{{//#define RestoreMemoryFromEeprom}} | + | * Disable preset coment line < |
- | **Write frequency and uSteps i to array{{unsigned long StorageFreqToStep[112][2] = { | + | * Write frequency and uSteps i to array \\ |
- | {7000000, 0}, | + | < |
- | {7010000, 500}, | + | unsigned long StorageFreqToStep[112][2] = { |
- | {7020000, 1000}, | + | {7000000, 0}, |
- | {7030000, 1500}, | + | {7010000, 500}, |
- | {7040000, 2000}, | + | {7020000, 1000}, |
- | ..}} | + | {7030000, 1500}, |
- | ** Upload firmware | + | {7040000, 2000}, |
- | ** Select BCD input to bank-0 (must be, because only bank-0 saved also frequency, higest bank saved uStep only) | + | ..}}</ |
- | ** Save frequency/ | + | * Upload firmware |
- | ** Replay edit table, upload and save for any higher bank | + | * Select BCD input to bank-0 (must be, because only bank-0 saved also frequency, higest bank saved uStep only) |
- | ** After fill EEPROM to your liking, enable command in source file {{#define RestoreMemoryFromEeprom}} | + | * Save frequency/ |
- | ** After upload frequency/ | + | * Replay edit table, upload and save for any higher bank |
- | * Time (second number in ms) after which reduce stepper current and save last position to eeprom, if disable endstop{{long CurrentRunTimeout[2] = {0,1000};}} | + | * After fill EEPROM to your liking, enable command in source file < |
- | * Enable serial debug if uncoment this line{{#define SERIAL_debug}} | + | * After upload frequency/ |
- | * CLI baudrate, default is 115200{{const int BAUDRATE0 = 115200;}} | + | * Time (second number in ms) after which reduce stepper current and save last position to eeprom, if disable endstop |
- | + | * Enable serial debug if uncoment this line < | |
- | !MQTT variant | + | * CLI baudrate, default is 115200 |
- | * need install wiznet ethernet module | + | ==== MQTT variant |
- | * use another firmware [GitHub|https:// | + | * need install wiznet ethernet module |
- | * for setup and control see source code header | + | * use another firmware [GitHub|https:// |
+ | * for setup and control see source code header |