Skip to content

gdb server command failing with "no attribute '_pack_file'" #1894

@ghost

Description

When trying to launch the command
pyocd gdbserver --target=ATSAMC21J18A --pack=C:\\Users\\Username\\.mchp_packs\\Microchip\\SAMC21_DFP\\3.9.248
it fails with the error
C Error: 'CmsisPack' object has no attribute '_pack_file'

It works when I pass a path to the .pack file instead of the unzipped directory. However, looking at CmsisPack in .\target\pack\cmsis_pack.py it should work with the unzipped directory as well.

Link to the pack I used:
https://packs.download.microchip.com/Microchip.SAMC21_DFP.3.9.248.atpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions