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


Cannot see I/O Registers in Debug mode

Hi,

I have a problem with a proper debugging. When i switch into I/O Registers mode I can’t see nothing. There is only an error message “No CMSIS-SVD schema for this target”

My configuration:
+ board with STM32F103C8T6
+ debugger: JTAG_lock_pick Tiny 2.0.0, ST-link V2 (same situation for both)


OpenOCD board config file:

source find interface/ftdi/jtag-lock-pick_tiny_2.cfg
source find target/stm32f1x.cfg

reset_config trst_and_srst


Trials:

1)
+ found file STM32F103xx.svd in
SystemWorkbench\plugins\fr.ac6.mcu.ide_1.0.0.201412041732\resources\cmsis \STMicroelectronics_CMSIS_SVD
+ there is a “STM32F103C8” listed in Contents.txt

2)
+ reinstalling software - the same situation

3)
+ created new empty project with only STM std libraries and endless loop - the same situation

Hello,

Could you try the following :
- make sure you have the latest version of the plugins (Help -> Check for updates).
- refresh the I/O Register view by clicking on the refresh icon at the right (this should reload the SVD file).

If this does not help, could you :
- send us a screenshot of the C/C++ perspective with the project explorer view showing the project tree
- send us a screenshot of the debug perspective

Kind regards,

Pascale


Hello,

I had the same problem at the beginning, but according to Pascale advise - I/O register refreshing was the solution

Kind Regards

Axelig


I had same situation with st-link v2 and STM32F103C8. So, situation resolved by:
1. Select device STM32F103C8 in MAIN_MENU/Project/Properties -> C/C++Build -> Settings -> Devices;
2. Rename file STM32F103xx.svd to STM32F103C8.svd and copy last to project directory (/home/my_username_dir/workspace/project_directory/STM32F103C8.svd).