Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Stm32mp1 Ethernet-over-USB connection

STM32WB version 2.9.1.2019050314
Linux version 4.15.0.72 64b
Eclipse version Neon.3 release 4.6.3
Java version 11.0.5 2019-10-15
Distro Linux Mint 19.2 Tina


I am using the discovery stm32mp1-157 and trying to follow the wiki tutorial. I have been able to build the is and load it and reboot. I have been successful in creating the gtk hello world, loading it to the board and running it. Now I am trying to do the OpenAMP_TTY_echo project. It compiles fine but when I try to start the debugger the connection fails indicating “Ethernet over usb0 connection” error. The target widget in the lower right corner cycles through Status:idle, Device: /dev/ttyACM0, Addr: 192.168.7.2, check host usb0 cfg!.

Has anyone else run into this?

I have tried to fix it by adding group permissions for dial out and try to user name but no change.
I suspect a permissions problem but cannot figure it out.
I also checked the board side using the serial connection in SWB4STM and verified That the eth address for the board is 192.168.7.2.
The serial connection is not active while trying to use the debugger.

I have tried both the newer LMint 19 and Ubuntu 18.x LTS releases and neither have a usb0 device. How is anybody using this?
Do we have to down grade to Ubuntu 16 to get it to work?


Hi,
Can you try to ping at 192.168.7.2 ? If it is alive, try to connect with ssh. I’m not sure but i suspect the ssh server is not running on the stm32mp157c discovery. Can you also attached screenshot of the debug configuration startup page (Run > Debug Configurations... > ST’s STM32 MPU Debugging > $configuration_name > Startup tab )?

Regards,
Kevin


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs