2021-07-13 01:18 AM
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?
2021-07-13 01:38 AM
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
2021-07-13 01:43 AM
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)
Note that connection using SSH could be done using either:
Regards,
2021-07-14 03:41 AM
Thank you so much @PatrickF and @LudovicR , Will take a look on all strategies and get back