servo/controller/fw/embed
2025-03-22 22:21:21 +03:00
..
bootloader Добавлена адресация к бутлоадеру 2025-03-22 13:56:28 +03:00
include With bootloader 2025-03-17 15:43:34 +03:00
knowledges Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
lib Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
src With bootloader 2025-03-17 15:43:34 +03:00
test Добавлена адресация к бутлоадеру 2025-03-22 13:56:28 +03:00
.clang-tidy Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
.clangd Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
.gitignore Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
check_gcc_version.py Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
cubemx_config.ioc Removed unnecessary fillets, surfaces, and construction elements from each part; Eliminated duplicate parts; Restructured file and folder organization. 2025-01-13 15:09:31 +00:00
gen_compile_commands.py Configure clang tools and update build settings 2025-01-18 18:27:28 +03:00
platformio.ini Fix CAN 2025-03-11 17:49:50 +03:00
README.md Инструкция к прошивке 2025-03-22 22:21:21 +03:00

Встроенное ПО для сервипривода на STM32F446RE

Для разработки

pip install -U platformio
platformio run --environment robotroller_reborn
platformio run --target upload --environment robotroller_reborn 
platformio device monitor

Чтобы отправить прошивку по can нужно:

  1. сместить в линкере прошивки её адрес. Иoите файл с .ld и меняете область FLASH на 0x08008000 и соотвественно занимаемая память = 480K пример: MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K FLASH (rx) : ORIGIN = 0x8008000, LENGTH = 480K }

меняем и в FLASH.ld и в RAM.ld 2) скомплиировать в hex формате 3) в терминале прописать: python3 boot_test.py /адрес на hex файл/ /адрес устройства/ 4) прошивка после чего микроконтроллер автоматически перезагрузится и будет уже запускаться с вашей прошивки, минуя бутлоадер