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


Do not reset the program in Debug mode

Hello,

I working with this programming environment and I colided everytime to the folowing problem: when I try to debug my firmware, which contains mistakes, if it jams in an open loop or hardware fault or in everywhere I don’t reset the program counter with a button. Therefore everytime must stop the debug mode and run it again. This operation lost a lot of time. Please create a button or an option which reset the program counter like in the Keil environment or any other programming environment.

Sincerelly,
Szabolcs

this is requedted for a while
in the meantime if you have a board with a physical reset button
give a run and press the reset h/w button that will reset everything and debugger shall hit the main brakepoint again.

alternatively you can add a function in your project that call NVIC_SystemReset()
when you need to reset while stoped in debugger head up to this fucntion code
right clijck at use “move to line” thsi will set pc here, let’s run it will reset the mcu
that may not alway wok as not all system is reset

Thank You diabolo38 for Your rapid answer and advice. These are fine but if I didn’t want to design a push button to my applicatation not really good. Any application that We designed the reset button is unnecessary. The NVIC_SystemReset() function is viable but a little bit uncomfortable. In every moment when the program jam I have to search this function between the program lines. So You told me that the reset feature don’t want You implement in the future? I think that this feature would be very useful not just for me, for all of the users whose work with it. Please if it is possible implement it.

Sincerelly,
Szabolcs



 

Newest Forum Posts

  1. Можно ли установить камин на балконе или лоджии? by Grand3kpdErorb, 03:38
  2. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  3. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  5. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  6. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  7. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  8. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  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