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


Breakpoint Limit

Hi

I’m working with SW4STM32 for more than a year now, and I really appreciate this tool. At the moment, I’m struggling with a easy problem: If I want to use more than 3 Breakpoints, Eclipse is complaining, that the 5th breakpoint can’t be inserted. (I use 4, and eclipse want to create one more at the programm start point.)

Error Message:
‘’Launching ProjectXY has encountered a problem. Error in final launch sequence”

‘’Error in final launch sequence”
Failed to execute MI command:
continue

Error message from debugger back end:
Warning:\nCannot insert hardware breakpoint 3.\nCould not insert hardware breakpoints:\nYou may have requested too many hardware breakpoints/watchpoints.\n’’

I know, i could disable the breakpoint which is created by the debugger, and in the most cases, i can work with 3 breakpoints. But I’m just interested to know the reason for this limit:
Is this a hardware limit given by the controller (STM32F072RBT), by the STLink, or by Eclipse? Is there a way to get more than 3 breakpoints, or is this given?

Thank you for your replies.

best regards
Matthias

France

Hi Matthias,

The limit is due to the microcontroller and can’t be overcome efficiently for flashed code.

Bernard (Ac6)


 

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