mandag den 15. januar 2024 kl. 22.05.18 UTC+1 skrev john larkin:
The Raspberry Pi pico has its 3-pin SWD debug port. I'd like to
connect it to the 40-pin header on the back of the Pi400, to use the
400 as the dev/debug platform for some RP2040-based boxes.
Has anyone done this? What Pi400 pins connect to the SWD port?
Googling doesn't help. I have the RP400 Beginners Guide book and it
doesn't mention doing this.
Anybody have links about doing this?
https://www.electronicshub.org/programming-raspberry-pi-pico-with-swd/
The Raspberry Pi pico has its 3-pin SWD debug port. I'd like to
connect it to the 40-pin header on the back of the Pi400, to use the
400 as the dev/debug platform for some RP2040-based boxes.
On 2024-01-15, john larkin <jl@650pot.com> wrote:
The Raspberry Pi pico has its 3-pin SWD debug port. I'd like to
connect it to the 40-pin header on the back of the Pi400, to use the
400 as the dev/debug platform for some RP2040-based boxes.
What debug software are you planning to use? OpenOCD?
The pinout seems to be quite flexible - look at >interface/raspberrypi-gpio-connector.cfg in the OpenOCD sources / >distribution.
If you want something nice with level translation that handles power >sequencing between Pi and Target board, the JTAG Hat should do what you
want:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat
I think this should also work an a pi400.
cu
Michael
If you want something nice with level translation that handles power >>sequencing between Pi and Target board, the JTAG Hat should do what you >>want:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat
I think this should also work an a pi400.
Is there a schematic somewhere?
On 2024-01-16, John Larkin <jl@997PotHill.com> wrote:
If you want something nice with level translation that handles power >>>sequencing between Pi and Target board, the JTAG Hat should do what you >>>want:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat
I think this should also work an a pi400.
Is there a schematic somewhere?
It is linked in the description:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat/pcb_ms_v3/Doc
It's basically a bunch of 74LVC2T45 (which handle the "one side powered
down" as well as the level-shifting), plus open-drain drivers for the reset >signals. Note that you need to switch direction for the SWDIO signal, the >rest is unidirectional.
cu
Michael
On 2024-01-16, John Larkin <jl@997PotHill.com> wrote:
If you want something nice with level translation that handles power >>>sequencing between Pi and Target board, the JTAG Hat should do what you >>>want:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat
I think this should also work an a pi400.
Is there a schematic somewhere?
It is linked in the description:
https://github.com/mschwingen/hardware/tree/master/JTAG_hat/pcb_ms_v3/Doc
It's basically a bunch of 74LVC2T45 (which handle the "one side powered
down" as well as the level-shifting), plus open-drain drivers for the reset >signals. Note that you need to switch direction for the SWDIO signal, the >rest is unidirectional.
cu
Michael
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 36:57:03 |
Calls: | 7,932 |
Calls today: | 2 |
Files: | 12,998 |
Messages: | 5,805,537 |