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


Newest OpenOCD fails with STM32L0

Tunisia

Hi Przemyslaw ,

the log you provided does not contain any error information. and you haven’t described the unexpected behavior.
Could you please give more accurate problem description ?

The only hint that I can give you based on this log, is that your MCU is booting from system memory (bootloader) :

target halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x1ff00288 msp: 0x200007a8

So maybe you need to check the boot pins / option bytes.
And if you have a flash programming issue, please provide a complete log with the error message.

Note: the latest version of System Workbench is already one year old, so please consider using a new fresh IDE like STM32CubeIDE

Kindly
Tarek

Hi Tarek,
thank you for fast reply. After printing line:

Info : STM32L flash size is 16kb, base address is 0x8000000

there is a long delay (maybe 1 min?) and after that only two lines appear in console:

Error: failed erasing sectors 0 to 0
Error: flash_erase returned -5

and “Terminate faliled” as well as:

Error in final launch sequence
Failed to execute MI command:
load /media/DATA/ARMworkspace/temp_test/Debug/temp_test.elf

Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet

alerts are open.

I’ve checked BOOT0 pin - it’s ok (0V).
Also I’ve already installed newest CubeIDE - no change.

Regards,
Przemek


 

Newest Forum Posts

  1. New installations is now uploaded ! by karushifa, 2025-12-25 00:53
  2. Analog servomotors with nucleo f334r8 by SkelePaw, 2025-11-01 05:57
  3. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  6. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  7. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  8. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05

Last-Modified Blogs