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


STM32Cube programmer / ST Flash work with the default UART2 on the USB/ST-Link of the L053 Nucleo but not on actual UART pins

I am trying to flash a STM32L053 Nucleo using UART pins and so far,

I pull boot 0 high by adding a jumper across boot 0 and VDD

I power the controller with E5V optin and connecting an external poer supply to the E5v and GND

If I connect the USB to the Nucleo, both the STFlash utility and STM32Cube programmer (I select UART) work fine with the COM port associated with the USB to the default USB port of the Nucleo.

But when I connect them through an FTDI to the UART pins (I have tried both PA9, Pa10 (UART1) for tx, rx and PA2 and PA3 (UART2) for tx, rx along with GND), neither the STFlash or STM32Cube Programmer work (they get no response and timeout).



I have checked the FTDI and UART pins on a general program that receives and prints on UART ports (both UART1 and UART2) on a main program and they work complete;y fine and receive and print data.



So the boot configuration seems correct as it works fine witht the USB connected UART2

and the UART connections through FTDI seem fine as well,

But I end up getting a timeout error and am asked to check the boot configurations and the UART configurations if I try to do both at the same time,

I am very confused, could somebody explain me a solution?

 

Newest Forum Posts

  1. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  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. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs