Skip to main content
anthony.harivel.emtrion.GmbH
Associate III
April 29, 2019
Solved

Debugging the OpenAMP_TTY_echo fail due to gdb/openOCD error

  • April 29, 2019
  • 2 replies
  • 1541 views

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

This topic has been closed for replies.
Best answer by Olivier GALLIEN

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

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
April 29, 2019

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.
anthony.harivel.emtrion.GmbH
Associate III
April 30, 2019

ok thanks !

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