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


JTAG Error at Inconsistant Locations in Code

I have removed the JTAG assignments from the STM32CubeMX project file, and instead assigned them the Reset_State. I then regenerated the code and found this code in fhe function MX_GPIO_Init():

GPIO_InitStruct.Pin = GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);

I also see similar code for GPIOB pins GPIO_PIN_3 and GPIO_PIN_4

After either of this code is executed I get an ST-Link V2 communication failure. I do not want to have to comment out this code or delete it whenever I regenerate code in STM32CubeMX. Is there a way to prevent STM32CubeMX including pin configuration for these three pins?