eclipse-cdt-cloud / eclipse-cdt-cloud/vscode-peripheral-inspector

Export registers only writes current register values after expanding node

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
17
Avg merge
4d 12h
Merged PRs (30d)
5

Description

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**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.