cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging the OpenAMP_TTY_echo fail due to gdb/openOCD error

Hi,

I'm trying to test the openAMP_TTY_echo from STM32Cube_FW_MP1_V1.0.1.

It compiles ok. I try the installation from : https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4/Modify,_rebuild_and_reload_a_firmware#

but I fail to get the info from the "debugger" in [Upload and start the firmware].

It wants "OpenOCD Setup" but there is no info on the wiki about that.

So it loads the firmware ok but then failed with gdb/OpenOCD...

My openAMP_TTY.cfg is empty!

Thanks

Anthony Harivel

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @anthony.harivel.emtrion.GmbH​ 

It seems you did not properly create the Debug configuration :

1 - Select the project in Project browser

2 - Right click -> Debug As .. -> Debug Configuration

3- Select "ST's STM32 MPU Debugging" - Right Click -> new

4- You should get a new Debug Target named "OpenAMP_TTY_echo Debug" containing correct information

Hope it help

Thanks to let me know

BR,

Olivier

Olivier GALLIEN
In order 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.

View solution in original post

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @anthony.harivel.emtrion.GmbH​ 

It seems you did not properly create the Debug configuration :

1 - Select the project in Project browser

2 - Right click -> Debug As .. -> Debug Configuration

3- Select "ST's STM32 MPU Debugging" - Right Click -> new

4- You should get a new Debug Target named "OpenAMP_TTY_echo Debug" containing correct information

Hope it help

Thanks to let me know

BR,

Olivier

Olivier GALLIEN
In order 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.

ok thanks !

I had also another issue regarding the driver of the "ST link USB dongle", but now it works !