Skip to content

CMSIS Debugger Debug Settings from dbgconf are not taken into account #267

Closed
@FerdinandEn

Description

@FerdinandEn

Type: Bug Report

Describe the bug

  • OS and Version: Win 11
  • VS Code Version: 1.101.0
  • Extension Version: Arm CMSIS Solution 1.54.0 / 2.10.0
  • Extension Version: Arm CMSIS Debugger 0.3.1
  • Target Device: STM32F746ZGTx

To Reproduce
Steps to reproduce the behavior:

  1. Change .cmsis/CubeMX+STM32F746ZGTx.dbgconf
  2. Select Debug MCU APB1 freeze register (DBGMCU_APB1_FZ) -> DBG_TIM6_STOP
  3. New value-> DbgMCU_APB1_Fz = 0x00000010;
  4. Error: In file CubeMX+STM32F746ZGTx.cbuild-run.yml Debug-Var value is unchanged __var DbgMCU_APB1_Fz = 0x00000000;

Expected behavior
Value should be __var DbgMCU_APB1_Fz = 0x00000010;

I have changed the variable content in CubeMX+STM32F746ZGTx.cbuild-run.yml to __var DbgMCU_APB1_Fz = 0x00000010;

After starting the debugger, the DbgMCU_APB1_Fz register still has the value 0.

Code sample and logs

0000622 I Target type is stm32f746zgtx [board]
0000837 I DP IDR = 0x5ba02477 (v2 rev5) [dap]
0000840 I debugvar 'DbgMCU_APB1_Fz' = 0x10 (16) [cbuild_run]
0000840 I debugvar 'DbgMCU_APB2_Fz' = 0x0 (0) [cbuild_run]
0000840 I debugvar 'DbgMCU_CR' = 0x7 (7) [cbuild_run]

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions