Skip to main content
Visitor II
March 7, 2020
Question

I can't connect consol using ssh by STM32CUBEIDE

  • March 7, 2020
  • 3 replies
  • 1965 views

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.

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    March 9, 2020

    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

    ST Employee
    March 11, 2020

    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.

    ST Employee
    March 17, 2020

    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.