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. Import an existing example in SW4STM32 IDE[edit source]
- Open System Workbench for STM32 IDE
File:SW4STM32 workspace.png
SW4STM32 workspace
- 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
3. 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
4. Execute the example[edit source]
5. Modify the example[edit source]
6. Rebuild and reload the example[edit source]
![]() |
![]() |
![]() |