cancel
Showing results for 
Search instead for 
Did you mean: 

I can't connect consol using ssh by STM32CUBEIDE

bkwak
Associate II

I made linux configuration by virtualbox.

and I did copy to board  kernel file by ssh(scp command).

now I am testing M4 firmware .

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

I can't connect consol using ssh by STM32CUBEIDE. (7.stard debug session)

157C-DK2 board's ip 192.168.0.39 (ifconfig)

my linux in vitual box ​ ip 172.19.0.1 (ifconfig)

Debug configration -> Dubugger -> Inet Address : 192.168.0.39

but it is not working.

I don't know why it's not working. beause I already used ssh when i downloaded kernal image.

let me know how to solve the issue.

thanks.

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @bkwak​ 

Could please details what you did for "copy to board kernel file by ssh(scp command)."

And if you have checked your target is sill properly booting/working afterward.

Then if ok, what's the status given by the serial target widget ( bottom right of the screen)

Thanks

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.
Julien D
ST Employee

Hi bkwak,

Did you had to configure any proxy settings in STM32CubeIDE?

If yes you have to bypass the local network on which the DK2 is connected from the Network Connections preference page.

Otherwise it tries to connect the 192.168.0.39 address through the proxy, which obviously can't work.

The progress bar is stuck at 85% and then M4 is stuck in the vector interrupt table and the firmware is not copied on the target .

Solution is that CubeIDE bypass the proxy.

For this :

1/ go in preferences In network connection settings

2/Select "manual" in Active Provide tick box

3/add board address (192.168.0.39) in byPass Proxy window.