Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-device support? #105

Open
DatanoiseTV opened this issue Oct 25, 2023 · 1 comment
Open

Multi-device support? #105

DatanoiseTV opened this issue Oct 25, 2023 · 1 comment

Comments

@DatanoiseTV
Copy link

Is there any chance to add a multi device programming option? I am currently designing a board
with 4 RP2040 on it and just placing another rp2040 on board as picoprobe and as debug interface would be great.

@JustAnother1
Copy link

I don't think that that would be something that picoprobe needs to deal with.

You probably have to change the instance is of the 4 RP2040 to avoid collisions. Default ids are:
Core 0: 0x01002927
Core 1: 0x11002927
Rescue DP: 0xf1002927

But these can also be used:
0x21002927, 0x31002927, 0x41002927, 0x51002927, 0x61002927, 0x71002927
0x81002927, 0x91002927, 0xa1002927, 0xb1002927, 0xc1002927, 0xd1002927,
0xe1002927

Details on how to change them is in the RP2040 datasheet.

Then it is only an issue with OpenOCD or whatever GDBServer you are using to use the correct id.

Alternatively you can "somehow" switch the SWDIO Line to the chip you want to debug.

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

No branches or pull requests

2 participants