-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Type: Bug Report
Describe the bug
- OS and Version: Ubuntu 20.04
- VS Code Version: 1.74.3
- Extension Version: v0.6.2
- Target Device: CY8C624ABZI-S2D44:Cortex-M4
When using the embedded-debug.flash command, the extension is loading a list of flash algorithms from the cmsisPack. As an example, the following flash algorithms are loaded for the Infineon::PSoC6_DFP@1.4.0 device family pack:
However, this is the entire list of available flash algorithms for this cmsisPack. For working correctly, only the default flash algorithms should be used. These are marked as "default=1" inside the pdsc file (e.g. https://github.com/Infineon/cmsis-packs/blob/master/PSoC6_DFP/Infineon.PSoC6_DFP.pdsc, DsubFamily="CY8C62xA").
As reference for the correct/expected behavior, Keil uVision is only using the default flash algorithms as listed here for the same cmsisPack:

Expected behavior
Only the default flash algorithms are used by the embedded-debug.flash command.
