Template:ArticleMainWriter Template:ArticleProposedVersion
![]() | ||||||
Develop on Arm® Cortex®-M4 | What's next | |||||
![]() |
Install the IDE | ![]() |
Install STM32Cube MP1 package | ![]() |
Modify, rebuild and reload a firmware | ![]() |
1. Overview[edit source]
This stage will explain you how to modify, rebuild and reload a STM32MP1 Arm® Cortex®-M4 coprocessor firmware.
2. Open SW4STM32 IDE[edit source]
- Open System Workbench for STM32 IDE
File:SW4STM32 workspace.png
SW4STM32 workspace
3. Disconnect the built in SW4STM32 serial device[edit source]
- For convenience and as you already have a Linux console connected to the board using minicom, please disconnect the console serial device embedded inside System Workbench for STM32.
File:SW4STM32 workspace serial disconnect 1.png
SW4STM32 disconnect the serial device by clicking this item
File:SW4STM32 workspace serial disconnect 2.png
SW4STM32 disconnect the serial device by clicking this item
4. Import an existing example in SW4STM32 IDE[edit source]
- Open the import screen File > Import... and select Existing Project into Workspace
File:SW4STM32 import.png
SW4STM32 import screen
- Browse and select OpenAMP_TTY_echo application example
$HOME/STM32MPU_workspace/STM32MP15-Ecosystem-v1.0.0/Developer-Package/STM32Cube_FW_MP1_V1.0.0/Projects/STM32MP157C-DK2/Applications/OpenAMP/OpenAMP_TTY_echo - Click finish
- The OpenAMP_TTY_echo project is open and you can browse inside using the left pan
File:SW4STM32 workspace project open.png
SW4STM32 workspace with project open
5. Build the example[edit source]
- Click the build button (the little hammer in the toolbar)
File:SW4STM32 workspace project build.png
SW4STM32 build the project
- If the following screen appear, click OK
File:SW4STM32 workspace project warning.png
SW4STM32 Warning: This board already exists
- Build is finished with no error
File:SW4STM32 workspace project build finished.png
SW4STM32 build finished with no error
6. Execute the example[edit source]
7. Modify the example[edit source]
8. Rebuild and reload the example[edit source]
![]() |
![]() |
![]() |