cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747I-DISCO unable to flash in Ubuntu 22.04.5 LTS

jo512
Associate III

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

jo512_0-1775713970923.png

The ST-Link device is present as shown below

 

jo512_2-1775714007951.png

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?

 

 

14 REPLIES 14
mƎALLEm
ST Employee

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.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

None of the example works for this particular board. I cannot flash into M4 or M7

Yes i meant 1.18.1

What part of the project you cannot flash? CM4 or CM7?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hi 

For example I am choosing another example

jo512_0-1775725825794.png

I can build both the projects generated here

jo512_1-1775725931716.png

But i am not able to program them into the board

mƎALLEm
ST Employee

You didn't answer my question. Which part of project is not uploaded? CM4? CM7 or both?

You have two projects inside the example.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I cannot upload both

Ok did you try to connect to the board with the CubeProgrammer?

Try this please ..

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

@jo512 wrote:

The ST-Link device is present as shown below

jo512_2-1775714007951.png


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

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.