Raspberry Pi Debug Probe eases bare metal development for $12

Raspberry Pi Debug Probe

The Raspberry Pi Debug Probe is a USB serial adapter based on the Raspberry Pi RP2040 microcontroller and designed to debug the Raspberry Pi Pico, third-party RP2040 boards, and pretty much any Arm board through SWD and/or UART interfaces. The main advantage over a typical USB-to-serial adapter is the presence of a Serial Wire Debug (SWD) bridge used for bare metal code development and debugging through tools such as OpenOCD. The Raspberry Pi Debug Probe specifications: MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ 133 MHz with 264KB SRAM Storage – 2MB SPI flash (W25Q16JVUXIQ) Debug interfaces 3.3V Serial Wire Debug (SWD) 3-pin JST connector conforming to the Raspberry Pi Debug Connector Specification and compatible with the CMSIS-DAP standard 3.3V serial (UART) 3-pin JST connector USB – Micro USB port to connect to the host Misc BOOTSEL button for flashing firmware to the debug board Unpopulated 3-pin header with […]

USB Cereal is an open-source hardware USB-C debugging & development tool (Crowdfunding)

USB-C debug board

0xDA LLC’s USB Cereal is an open-source hardware development tool with three USB-C ports designed to simplify the testing, development, debugging, and manufacturing of devices with USB Type-C ports. Initially originated at Google, the USB Cereal project has gone through multiple revisions to optimize its quality and lower the BoM cost, and the device can be used for all sorts of USB Type-C debugging using a UART serial communication with the host device through the USB-C sideband use (SBU) pins typically reserved for device-specific applications. USB Cereal specifications: USB Type-C ports 2x USB-C ports for passthrough between the host and device under test (DUT) Note: the DUT port is on the side with a single USB Type-C connector No orientation detection has been implemented to keep the design as simple and inexpensive as possible 1x USB-C port for capture support to 3 Mbps connected through FTDI FT232RNQ USB to TTL […]

Adding an external serial console port to NanoPi R6S

NanoPi R6S DIY external UART console

I had no trouble with my first experience with NanoPi R6S while installing and running the FriendlyWrt/OpenWrt 22.03 image, but that was another story when testing Ubuntu or Debian as the mini PC would not boot at all after flashing the images with eFlasher apparently successfully, but suspiciously fast (under 2 seconds). I spent nearly four hours trying the different images and then the Rockchip Windows utility, but all my attempts failed, and FriendlyElec was not overly helpful. So I decided to connect a serial console to see what was going on. The NanoPi R6S comes with a 3-pin header for the serial console, but it’s not populated. So I soldering one, but not at the top of the bottom, and instead at the bottom since it would allow me to still use the metal enclosure to cool the processor. Some readers, or at least one, often complain about the […]

ChipWhisperer-Husky is a palm-sized power analysis and fault injection tool (Crowdfunding)

power analysis fault injection tool STM32F Target Board

NewAE Technology’s ChipWhisperer-Husky is a compact tool designed for side-channel power analysis and fault injection with features such as a high-speed logic analyzer used to visualize glitches, real-time data streaming for attacking asymmetric algorithms, and support for JTAG/SWD programming. The security research company explains its device delivers a more stable and reliable experience compared to other off-the-shelf test gear such as oscilloscopes and function generators thanks to features such as synchronous sampling, which means the sample clock of your target device and the sample clock of ChipWhisperer-Husky can be perfectly aligned, or the ability to generate glitches, including clock glitches that can be less than a  nanosecond wide.   ChipWhisperer-Husky key features and hardware specifications: Synchronous clock for capture board and target board for significantly improved performance over a typical asynchronous oscilloscope setup 12-bit 200MS/s ADC for capturing power traces – It can be clocked at both the same clock […]

$5 CH347 board is a USB 2.0 bridge to I2C, SPI, UART, JTAG, and GPIO

small CH347 development board

MuseLab USB-HS-Bridge is an inexpensive ($5) board based on WCH CH347 chip with a USB 2.0 Type-C interface that acts as a bridge for I2C, SPI, UART, and JTAG interfaces, as well as GPIOs. It’s notably useful to debug and download bitstreams to FPGA development boards, but it can also be used to connect various peripherals such as I2C sensors, SPI flash devices, UART devices to basically any host with a spare USB 2.0 host port. USB-HS-Bridge specifications: Chip – WCH CH347 high-speed USB to UART, I2C, SPI and JTAG chip (See link to the datasheet for details) USB – 1x USB 2.0 Type-C port with up to 480 Mbps data rate I/Os – 2x 16-pin header with 2x UART interfaces up to 9 Mbps baudrate 1x I2C for EEPROM or sensors 1x SPI master interface with 2 chip select signals to control up to 2x SPI slave devices. The […]

tio is a serial device I/O tool for Linux targeted at embedded developers

tio red text serial terminal

There are already several serial terminal programs such as Putty and minicom, and in recent times, I’ve been using Bootterm myself. But that does not mean there isn’t room for more and Martin Lund has developed tio serial device I/O tool for Linux. Martin found out many of the existing tools are very modem focused or a bit cumbersome to use, so he developed tio as the simpler alternative which puts less focus on classic terminal/modem features and more focus on the needs of embedded developers and hackers.

StarFive releases Perf tool for highest performance RISC-V IP Dubhe (Sponsored)

StarFive Perf Tool RISC-V Linux

As a StarFive Technology in-house developed RISC-V 64-bit ultra-high-performance core, Dubhe showcases the best performance RISC-V CPU core IP yet. It utilizes the latest RISC-V instruction set which includes RV64GC, bit operation extension (B), vector extension (V) V1.0, and hypervisor extension H (Hypervisor), making it ideal for high-performance computing. To pair with the Dubhe performance core, StarFive is now releasing “StarFive Perf Performance Profiling Tool”. StarFive has made Perf compatible with the hardware performance monitor (HPM) and micro-architecture events at the hardware level. Perf provides a reliable performance verification platform that not only facilitates customers to further discuss the Dubhe technical specifications but also accelerates the implementation of high-performance applications with RISC-V processors. Perf is an open-source and Linux-based performance analyzing tool capable of providing performance monitoring of the hardware events, tracepoints, firmware events, and dynamic probes. With the Perf profiling tool, we can monitor the performance of the predefined […]

WCH CH343 USB to serial chips support 1.8V to 5V IO voltage, 6 Mbps baud rate, custom VID/PID

CH340 vs CH343

WCH CH340  family of USB to serial chip is very popular, and often found on development boards for debugging/access to the serial console, but the company has now introduced the CH343 “Gen3” chip – just like CH9102F apparently – with a higher 6 Mbps baud rate, support for 1.8V, 2.5V, 3.3V, and 5V IO voltage, and the ability to request custom USB VID/PID numbers. Three variants exist with CH343P, CH343G, and CH343K with different packages: QFN16, SOP16, and ESSOP10 respectively. CH343P contains an EEPROM for easy customization, while CH343G and CH343K PID/VID can still be customized for larger orders. CH343 key features and specifications: Full-speed USB 2.0 device interface Hardware full-duplex serial UART interface with baud rate varies from 50bps to 6Mbps. Automatic identification and dynamic adaptation of common communication baud rate of 115200bps and below. Supports 5, 6, 7, or 8 data bits, as well as odd, even, space, […]

ASUS Tinker board - Raspberry Pi alternative