Modify, rebuild and reload a firmware

Revision as of 14:48, 8 February 2019 by Registered User

Template:ArticleMainWriter Template:ArticleProposedVersion


STM32MP157X-DK2.png
Develop on Arm® Cortex®-M4 What's next
Step category in.png Install the IDE Step.png Install STM32Cube MP1 package Step.png Modify, rebuild and reload a firmware Step category out.png

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)
  • 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]


Back button.png Overview button.png Next button.png