![]() ![]() The main purpose of RTOS used in Prusa 32 Bit Firmware is to provide multithreading/multitasking functionality. HAL is initially configured by STM CUBEXM (see below). Internal structure of the HAL should be obviously hidden for the functional programmers. In case of a HW change only HAL code has to be redesigned. HALL has to be always used by Arduino layer (like middleware) when approaching GIO resources. HAL is internally sometimes more complicated, so it has to be used carefully. Each function name consists of a HAL prefix plus and abbreviation pointing logically to the set of functions like SPI, USB, UART, I2C, etc. for interrupt handling, timer manipulation, GPIs) available for programmers. ![]() For each part of the physical layer within HAL there is a separate function (e.g. It will receive a specific structure and parameters which will be transferred to corresponding registers. Hardware Abstraction Layer contains a set of functions unifying the hardware for the programmers, where the use of logical naming conventions is implemented instead of using physical registry numbers and PIN numbers which could be different for different HW variations.īasic function of the HAL is to configure and set up an initial configuration peripherals or registers. Main purpose of the physical layer is the peripherals, processor registries and ports management on the physical layer, interfacing with stepper motor drivers etc. The general requirements lead to the below architecture layers: The most of the above requirements are covered by STM CUBE firmware, which will be explained further. Multithread/multitasking OS for applications and for shared resources management.UART for TMC 2209 (with automatic Baud rate detection 115 200 Kbit/s chosen).External SPI /42 MHz 1MB for logging and recovery.USB Host FAT 32 (for Marlin SD emulation).32 Bit Firmware chip architecture – STM32F407VG/1MB.Prusa 32 Bit Firmware architecture is based on the historical experience with previous printers and general requirements for the new Prusa Printers firmware as follows: List of Reference documents which are source of basic theoretical parts of this document.Firmware source code documents with appropriate comments.Software documentation produced by Doxygen analysis application providing structural and graphical output (annex 2.Generic Configuration document of the Firmware represented by the configuration report from STM CUBE IDE application (annex 1 of this document).This document as an overview of all parts of the Prusa 32 bit Firmware documentation.Prusa 32-bit Firmware documentation consists of 5 basic parts they will form the overall picture of the product.Make Prusa PrintersFirmware more understandable for GITHUB and users’ community.Extend |Original Prusa Printers Firmware development documentation. ![]() The main goals set at the initiation of this document was to reach the following targets: ![]()
0 Comments
Leave a Reply. |