2026-04-08 10:55 PM
Hi Support
I have experience in STM32 with Zephyr but I am trying out AMP for the first time.
So I am trying out OpenAMP example from STM32CubeIDE. I can compile the example but cannot flash the same.
I have the following error
The ST-Link device is present as shown below
I have tried other boards like NUCLEO-G431RE with some simple UART example and work well.
I have problems only with AMP board, I am not able to flash M4 and M7 core.
My dev environment
Ubuntu 22.04 and STM32CubeIDE ver1.1.8.1
Could anyone please help me understand the same?
Solved! Go to Solution.
2026-04-09 3:43 AM
You need to ensure the connection step with CubeProgrammer.
You need to ensure the connection to each of the Cores CM4 and CM7:
To connect to CM7, you need to set the access port to 0:
To connect to CM4, you need to set the access port to 3:
Ensure also all the jumpers are set correctly especially JP6: it should be set to ST-LINK option.
If you succeed to connect with CubeProgrammer, try to update the ST-LINK firmware with CubeProgrammer:
Then,
2026-04-09 2:02 AM
Hello,
@jo512 wrote:
Ubuntu 22.04 and STM32CubeIDE ver1.1.8.1
You mean 1.18.1?
Did you test another simple project apart from OpenAMP? Try the GPIO example.
2026-04-09 2:04 AM
None of the example works for this particular board. I cannot flash into M4 or M7
2026-04-09 2:05 AM
Yes i meant 1.18.1
2026-04-09 2:05 AM
What part of the project you cannot flash? CM4 or CM7?
2026-04-09 2:13 AM
Hi
For example I am choosing another example
I can build both the projects generated here
But i am not able to program them into the board
2026-04-09 2:18 AM
You didn't answer my question. Which part of project is not uploaded? CM4? CM7 or both?
You have two projects inside the example.
2026-04-09 2:20 AM
I cannot upload both
2026-04-09 2:22 AM
Ok did you try to connect to the board with the CubeProgrammer?
Try this please ..
2026-04-09 2:38 AM
@jo512 wrote:The ST-Link device is present as shown below
So the problem is the connection between the ST-Link and the Target.
Has this board ever worked?
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.