Skip to content

Export registers only writes current register values after expanding node #97

@jreineckearm

Description

@jreineckearm

Type: Bug Report

Describe the bug

  • OS and Version: Microsoft Windows 11 Enterprise
  • VS Code Version: 1.111.0
  • Extension Version: 1.8.1
  • Target Device: NXP FRDM-MCXN947 Board (expect similar with other devices)
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a project with SVD file and that makes use of the Systick. Ensure all nodes were collapsed during last connection to this target.
  2. Run for a bit
  3. Export all registers
  4. Find and expand Systick0 node
  5. Export all registers to another file

The first export should mostly show zeros. While the second export shows the actual data in the registers. In particular SYST_RVR>RELOAD and SYST_CVR>CURRENT should show something different from zero if the Systick is in use.

Expected behavior

"Export" functionality writes current data also if a node wasn't expanded yet.

Code sample and logs

  • Code sample
  • launch.json

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions