Skip to main content
PGeuc.2036
Associate
December 5, 2019
Solved

I would like to know, if it is possible to debug the STM32MP157C-DK2 without the Serial Port (MPU Serial (/dev/ttyACM0)). I'm using the board in an mobile application and it would be very nice if I could debug the M4 like the A7 (only a GDBserver).

  • December 5, 2019
  • 2 replies
  • 1299 views

Using the :STM32MP157C-DK2

STM32CubeIDE

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

Hi @PGeuc.2036​ 

Yes , you can avoid using UART by using what we call "attach" mode.

This mean you have to manage to load and start the M4 on target by your own. ( copy on target and use remoteproc command line)

Then in CubeIDE you untick "Download" option for your .elf in Debug Configuration / Startup pane / Load Image and Symbols ( double click on elf line to get access to download option in popup)

Hope it help,

Olivier

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
December 5, 2019

Hi @PGeuc.2036​ 

Yes , you can avoid using UART by using what we call "attach" mode.

This mean you have to manage to load and start the M4 on target by your own. ( copy on target and use remoteproc command line)

Then in CubeIDE you untick "Download" option for your .elf in Debug Configuration / Startup pane / Load Image and Symbols ( double click on elf line to get access to download option in popup)

Hope it help,

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.
PGeuc.2036
Associate
December 12, 2019

Thank you @Community member​