====== Stm32CommandDispatcher ====== [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:module | Module]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:microcontroller:microcontroller | MicroController]] ===== Abstract ===== * STM32F103C8T6 heisst hier STM32 * Template für alle Arduino-MicroController: * eventuell Controller-spezifische Anpassung der Define-Datei notwendig * Analyse der über die Uart-Schnittstelle eintreffenden Daten-Commands * Ausführung der analysierten Commands * Erstes "Thema" zur Publizierung auf der WebSite "OHSWde" * Commands-Immediate und Commands-Processing (über FSM) * zu jedem Command (@ vom Host erhält dieser einen Response (:) * Events: ! * Events: Asynchrone periodische Ausgabe mit CompilerDirective: * #define SYSTEMEVENT : ... !SYS * #undef SYSTEMEVENT : keine !SYS-Events * Periode ist in MilliSekunden einstellbar! ===== ToDo ===== --- ===== Done ===== ==== 221206 ==== * Einbau periodischer System-Event "!SYS ..." durch Compiler-Direktive im Sekundentakt * Vorteil: aktueller Zustand des MicroControllers wird ohne Abfrage dem PC mitgeteilt * ... * Download : {{:module:microcontroller:stm32commanddispatcher:2212061849_stm32commanddispatcher_01v01.zip | 2212061849_Stm32CommandDispatcher_01V01.zip}} ==== 221203 ==== * Events: ! * Events: Asynchrone periodische Ausgabe mit CompilerDirective: * #define SYSTEMEVENT : ... !SYS * #undef SYSTEMEVENT : keine !SYS-Events Terminal-Protocol mit "#define SYSTEMEVENT" (und "LSO"-Command): ************************** * Stm32CommandDispatcher * ************************** * Version: 00V07 * * Date...: 221203 * * Time...: 1349 * * Author.: OMdevelop * ************************** # Help : System # H - This Help # RST - Reset # Help : LedSystem # LSO - SetOn # LSF - SetOff # LSI - Invert # LSB - Blink ount Timen[ms] TimeOf[ms] !SYS 363 0 !SYS 1364 0 !SYS 2365 0 !SYS 3366 0 !SYS 4367 0 !SYS 5368 0 !SYS 6369 0 !SYS 7370 0 ... SYS 61424 0 lso !SYS 63426 0 !LSO :LSO !SYS 64427 1 !SYS 65428 1 !SYS 66429 1 !SYS 67430 1 !SYS 68431 1 !SYS 69432 1 !SYS 70433 1 !SYS 71434 1 !SYS 72435 1 ==== 221203 ==== * X FSM LedSystemBlink einbauen * X Events LedSystemBlink !LSOn, !LSOff einbauen * X FSM einbauen * X HLP-List einbauen * Download : {{:module:microcontroller:stm32commanddispatcher:2212031356_stm32commanddispatcher_00v07.zip |2212031356_Stm32CommandDispatcher_00V07.zip}} Uart-Terminal-Protocol: ************************** * Stm32CommandDispatcher * ************************** * Version: 00V07 * * Date...: 221203 * * Time...: 1349 * * Author.: OMdevelop * ************************** # Help : System # H - This Help # RST - Reset # Help : LedSystem # LSO - SetOn # LSF - SetOff # LSI - Invert # LSB - Blink ount Timen[ms] TimeOf[ms] lsb 3 100 100 :LSB 3 100 100 !LSO !LSF !LSO !LSF !LSO !LSF h :H # Help : System # H - This Help # RST - Reset # Help : LedSystem # LSO - SetOn # LSF - SetOff # LSI - Invert # LSB - Blink ount Timen[ms] TimeOf[ms] rst :RST !LSF ************************** * Stm32CommandDispatcher * ************************** * Version: 00V07 * * Date...: 221203 * * Time...: 1349 * * Author.: OMdevelop * ************************** # Help : System # H - This Help # RST - Reset # Help : LedSystem # LSO - SetOn # LSF - SetOff # LSI - Invert # LSB - Blink ount Timen[ms] TimeOf[ms] ==== 221203 ==== * X Umbenennung auf Stm32CommandDispatcher * X Command Reset 'RST' einbauen, delay 1000ms * Download : {{:module:microcontroller:stm32commanddispatcher:2212031152_stm32commanddispatcher_00v05.zip | 2212031152_Stm32CommandDispatcher_00V05.zip}} ==== 221202 ==== * Download : {{:module:microcontroller:stm32commanddispatcher:2212021858_stm32aigo_00v04.zip | 2212021858_Stm32AIgo_00V04.zip}} ==== 221201 ==== * Download : {{:module:microcontroller:stm32commanddispatcher:2212011845_stm32aigo_00v02.zip | 2212011845_Stm32AIgo_00V02.zip}} * Download : {{:module:microcontroller:stm32commanddispatcher:2212012045_stm32aigo_00v03.zip | 2212012045_Stm32AIgo_00V03.zip}} ==== 221201 ==== * Download : {{:module:microcontroller:stm32commanddispatcher:2212011216_stm32aigo_00v01.zip | 2212011216_Stm32AIgo_00V01.zip}} -------------- [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:module | Module]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:microcontroller:microcontroller | MicroController]]