Sujet : RP400 40-pin connector
De : jjlarkin (at) *nospam* highlandtechnology.com (John Larkin)
Groupes : sci.electronics.design comp.sys.raspberry-piDate : 11. Aug 2024, 19:53:20
Autres entêtes
Organisation : highland technology
Message-ID : <d21ibjdvt6odqium3ado62ob1e7sa6n9hc@4ax.com>
User-Agent : Forte Agent 3.1/32.783
I want to use an Raspberry Pi 400 (the keyboard thing) as the
dev/debug system for an RP2040 based product.
https://www.amazon.com/Raspberry-Computer-Keyboard-Layout-Kabel/dp/B08QCQVWH2It has a 40-pin connector on the back. Various sources say that pins 1
3 and 5 are either GPIO ports 8 9 and 7 or maybe 2 3 and 4.
Sometimes the pins are labeled WPI and BCM. Wot's that?
https://www.amazon.com/Coolwell-Waveshare-Raspberry-Adapter-Expansion/dp/B08RZCR7S8I can fix most mistakes there in software, just by reassigning port
names. But two pins are critical, the SWDIO and SWCLK debug lines out
to a Pi Pico or to the 2040 chip.
I suspect that on the Pi 400 pin 18 is GPIO5 = SWDIO and pin 22 is
GPIO6 = SWCLK.
Is that right? Does that actually work?
I also note that some people also connect the UART tx/rx between the
Pi400 and a Pico for debugging. Should I do that too? Does it help
software development?
Thanks!