Skip to content

Extension ignores "default" field of pdcs file for selection of flash algorithms #8

Description

@riestmo

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:

image

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:
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions