OpenOCD on Raspberry Pi: Better with SWD on SPI

Sneaky tricks to align stray bits into proper bytesThe setup that we see above… Debugging nRF52 with a Raspberry Pi running VSCode and OpenOCD… Was impossible just a week ago!OpenOCD connects to nRF52 for flashing and debugging by running Arm’s SWD protocol over GPIO Bit Banging. OpenOCD was sending data to nRF52 one bit at a time… Works fine when OpenOCD is the only task running, not when it’s sharing the CPU with VSCode and other interactive tasks!That’s because multitasking skews the precise ...

Internet of Things SPI Sandbox IDCODE nRF52 Pi SWD SWD Raspberry Pi OpenOCD

Ranking Name Answers
1 Remy 11
2 Li Zhuo 9
3 Paul H 9
4 Kemio 6
5 PCBWay Support 5
6 Gorge 4
7 Andrew 4
8 Joson 4
9 HomeKid 3
10 Carl 2
Back to top