Skip to content

Conversation

xoriath
Copy link

@xoriath xoriath commented Aug 20, 2025

When trying to map the pname of the processor , don't fail if the process is not described in the pdsc file.

This fixes #1800, #1678, #1637

…ails, just don't set it

For devices that have 'hidden' cores, there will not be
a <processor /> correctly describing the AP entry.

So, if we cannot find the processor, just let it go
nameless.

This fixes pyocd#1800, pyocd#1678, pyocd#1637
@xoriath
Copy link
Author

xoriath commented Aug 20, 2025

With this change, I have control of both cores;

Connected to PIC32CK2051SG01144 [Halted]: 020057703RYN000336
pyocd> core
Core 0 (Cortex-M33) is selected
pyocd> status
Core 0 (Cortex-M33):  Halted [Secure]
Core 1 (None):  Running
pyocd> core 1
Selected core 1 (None) (AHB-AP#1)
pyocd> halt
0159996 D halting core 1 [cortex_m]
Successfully halted device
pyocd> status
Core 0 (Cortex-M33):  Halted [Secure]
Core 1 (None):  Halted

I guess in stead of (None), we could call the node by the architecture?

Connected to PIC32CK2051SG01144 [Halted]: 020057703RYN000336
pyocd> status
Core 0 (Cortex-M33):  Halted [Secure]
Core 1 (ARMv6M):  Halted

Thoughts?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant