Raspberry Pi engineers and designers released new hardware this week in the form of the plug-and-play Raspberry Pi Debug Probe, priced now at just $12. Inspiration for the latest addition to the Raspberry Pi hardware range came from people using one Raspberry Pi Pico to debug programs running on another.
The complete debug hardware solution for Arm-based microcontrollers is powered by the company’s RP2040 and offers a USB to Serial Wire Debug (SWD) bridge, a generic USB serial adapter and cables to connect a host computer to the Debug. Eben Upton visited the official Raspberry Pi News site to reveal more about the launch of the Raspberry Pi Debug Probe and explain a little more about its design.
“If you’re like me, you love writing computer programs but hate tracking down the bugs that result. But debugging is a necessary evil, and if you want to hunt bugs, you’re going to need a debugger sooner or later. While most debuggers offer a common set of basic functions (single stepping, breakpoints, inspecting variables and memory), these functions are provided in different ways depending on your choice of language and operating environment.”
Raspberry Pi debug sample
Specifications include a form factor of just 22mm × 32mm, a USB to two-wire serial debug bridge (Arm Serial Wire Debug is supported by default), a USB to UART bridge, compatible with the CMSIS-DAP Standard, works with OpenOCD and other tools that support CMSIS -DAP, follows the Raspberry Pi 3-pin debug connector specification, includes a high-quality transparent plastic case, includes a USB cable and three debug cables: 3-pin JST -Connects to 3-pin JST connector cable; 3-pin JST connector to 0.1″ header (female); 3 Pin JST Male to 0.1″ Male Header and Rated I/O Voltage: 3.3V.
Eben Upton continues:
“Perhaps you’re using a high-level interpreted programming language like Python, which has debugging built right into the runtime environment. Or maybe you’re using a low-level, compiled programming language like C, but your program is running on an operating system like Linux. here a debugger like gdb, often running on the same machine, can interact with your program at runtime to provide the same capabilities.”
“The microcontroller itself provides a debug port (DP) that connects externally to pins on the chassis and internally to each AP in the system. The RP2040 exposes its DP through a low pin-count Serial Wire Debug (SWD) port: By communicating the SWD protocol through this port, a host computer can control each core’s AP to debug a program that running on the core.”
For more information and full specifications, purchase and availability, visit the official Raspberry Pi Store by following the link below.
Filed Under: Hardware, Top News Latest Geeky Gadget Deals
Disclosure: Some of our articles contain affiliate links. If you purchase something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn more.