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


How to export debug variables in eclipse

Hi there,

we are currently programming the STM32F746 MCU with SW4STM32 as Eclipse Plug-in on Windows. We are debugging with the ST-Link2-1 via USB. We need to analyse an image buffer while debugging. Is it possible to store/export those arrays in debugging mode to analyse them with another software?
The only thing I have found is to copy the variables but this gives me just one value of my 160x30 array. In case there is no option in Eclipse do you have any other ideas to transfer this array to my PC easily? Maybe UART?

Thanks in advance!

Best regards

Kevin Lehzen

I don’t know of any way to easily export values shown in the expressions view or memory dump view in the eclipse debugger to a file. It may be possible, but if so, I don’t know how to do it.

I’d recommend using a USART to output the contents of your array.


Hi there again,

somebody told me how to do this. For your interest:

In debug-modus -> Window -> Show View -> Memory

There you have to add a Memory Monitor with the ‘plus’ symbol. You just type your variable name in there when its already declared in the current debug session. After that you can see it in the monitor view and can export it to a raw binary file for example.

Cheers,

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