cancel
Showing results for 
Search instead for 
Did you mean: 

SSH Connection to STM32CUBEIDE

NPal.2
Senior

Hi,

How can I connect to STM32MPU via SSH from inside STM32CUBEIDE.??

Is there a way we can do that?

This really helps in live debug of things.

Alternatively is there a way I can live debug an application running on A7?

3 REPLIES 3
LudovicR
ST Employee

Hello @NPal.2​ 

Please have a look to https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE to get global view.

In order to manage connection to STM32MPU you have Target Status https://wiki.st.com/stm32mpu/wiki/How_to_use_the_Target_Status_widget_in_STM32CubeIDE

from where you can open a Linux console.

You can also open an SSH connection via the Remote System Explorer (RSE) perspective https://wiki.st.com/stm32mpu/wiki/How_to_use_the_RSE_Perspective_with_STM32CubeIDE.

Note that this support is no more recommended, and preferred one is to open connection via:

Window > Show View > Other... > Connections > Connections

From this view you should get "MPU SSH" created by Target Status, from where you can "Open Command Shell".

Hope this help, let me know.

Best Regards,

Ludovic

PatrickF
ST Employee

Hi,

SSH is used to download M4 FW within CubeIDE with debugging FW in 'production mode'

see https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Production_mode

SSH is also used by CubeIDE to debug Linux user space (not available on W10 CubeIDE)

see https://wiki.st.com/stm32mpu/wiki/How_to_debug_a_user_space_application_with_STM32CubeIDE/User_space_project

Note that connection using SSH could be done using either:

  • Ethernet RJ45
  • WLAN (https://wiki.st.com/stm32mpu/wiki/How_to_setup_wifi_connection)
  • USB (Ethernet Over USB, which is enabled by default in Starter Package).

Regards,

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.
NPal.2
Senior

Thank you so much @PatrickF​ and @LudovicR​ , Will take a look on all strategies and get back