Arduino CLI 1.0 released – Let’s try it with the Raspberry Pi Pico 2

Arduino CLI Raspberry Pi Pico 2

Arduino has just announced the release of the Arduino CLI version 1.0.0, the first stable release for which users and developers can be confident the software API won’t change over time, or at least with minimal changes that will not impact the workflow of applications based on it. We first looked at the Arduino CLI when it was still at the alpha stage way back in 2018. Arduino CLI version 1.0.0 was actually quietly released about two months ago, but Arduino only announced it now and the utility is now at version 1.0.4 with several bug fixes. Arduino CLI 1.0 release The goal of the API is to easily program the boards from the command line without having to use the Arduino IDE, and the CLI can be integrated into your own script to automatize various processes. Arduino explains there are three ways to integrate and utilize the capabilities of […]

How to recover a “bricked” Raspberry Pi Pico 2 or other RP2350 board

Recover Bricked Raspberry Pi Pico 2 or RP2350 board with flash_nuke.uf2

In theory, it’s close to impossible to brick your Raspberry Pi Pico 2 or other RP2350 boards because the bootrom code (source code) is stored in the 32KB ROM of the microcontroller and is by definition “read-only memory”.  But I managed to “brick” my Raspberry Pi Pico 2 the other day, and even a blinky sample would not run on the board. So I’ll explain a simple method to recover/perform a factory reset of sorts. First, let me explain what happened. My board became unusable after I ran the following command while building RISC-V Linux for RP2035 and my Pico 2 was connected to the build machine:

At some point, it will copy a UF2 firmware binary designed for boards with PSRAM which the Raspberry Pi Pico 2 lacks:

After that, I could still see the Raspberry Pi Pico 2 board as an “RP2350” drive on my computer, […]

Using RISC-V cores on the Raspberry Pi Pico 2 board and RP2350 MCU – From blinking an LED to building Linux

Raspberry Pi Pico 2 RP2350 RISC-V review

Raspberry Pi Pico 2 was released last month with a Raspberry Pi RP2350 microcontroller equipped with two Arm Cortex-M33 cores and two 32-bit RISC-V “Hazard3” cores with up to two cores usable at any time. So in this guide, we’ll show how to use the RISC-V cores on the RP2350 MCU, compare their performance against the Arm Cortex-M33 cores, and even build Linux for RISC-V for RP2350 boards that have PSRAM. Apart from the extra memory and more powerful cores, plus new features related to security and the HSTX interface, the Raspberry Pi Pico 2 and Pico will be very similar to the end user and the instructions in our article “Getting Started with Raspberry Pi Pico using MicroPython and C” remain valid. I don’t think there’s a MicroPython RISC-V image yet, so we’ll focus on running C programs on the RISC-V cores. A quick check with the Arm cores […]

Raspberry Pi Pico Arduino core 4.0 adds support for RP2350 boards

Raspberry Pi RP2350 Arduino

Earle F. Philhower, III has just released the Raspberry Pi Pico Arduino core 4.0 with support for a range of Raspberry Pi RP2350 boards beside the official Raspberry Pi Pico 2. Shortly after the RP2040-based Raspberry Pi Pico board was released, we got two Arduino SDKs, the first being the community-supported Raspberry Pi Pico Arduino core maintained by Earle, and the second being the official Arduino Core Mbed 2.0 for boards as such as Arduino Nano Connect RP2040. We are again likely to have two Arduino SDKs for the RP2350 starting with the Raspberry Pi Pico Arduino core. Key changes in Raspberry Pi Pico Arduino core 4.0: Adds Raspberry Pi RP2350 support (Arm only; RISC-V cores are not supported at this stage) Migrates to Pico SDK 2.0 since it is required for RP2350 support and includes a new OpenOCD and Picotool. Tested features: SPI, I2C, LittleFS, EEPROM, PWMAudio, LWIP-based networking, […]

HDMI to screw terminal adapters could be useful for Raspberry Pi RP2040 and RP2350 boards

HDMI screw terminal adapter

The very idea of an HDMI to screw terminal adapters maybe seem moronic at first, but in an era of programmable IOs (PIO), and high-speed serial transmit (HSTX), those could end up being useful for boards or modules based on Raspberry Pi RP2040 or RP2350 since they’ve all be shown to support DVI output through HDMI connectors. There are a few boards that integrate an HDMI port such as the Olimex RP2040-PICO-PC, Solder Party RP2xxx Stamp Carrier XL, or Adafruit Feather RP2040 among others, but most boards don’t include an HDMI port. What they do typically have are GPIO headers, and an HDMI to screw terminal adapter would allow users to easily add an HDMI port to their existing board without soldering simply by using jumper wires, or with a bit more work an old HDMI cable. All HDMI to screw terminal adapters are pretty basic with an HDMI male […]

Pimoroni Explorer board is a Raspberry Pi RP2350-based learning platform with 2.8-inch LCD, breadboard sensors and more

Pimoroni Explorer Starter Kit

The Pimoroni Explorer board is an electronic prototyping board built around the Raspberry Pi RP2350 chip with a 2.8-inch LCD screen, a speaker connector, and various I/Os, which makes it easy to build circuits, prototype projects, and even make small robots. It also features a mini breadboard, tactile buttons, and crocodile clip terminals, making it suitable for both beginners and experienced makers. The RP2350 MCU was recently released by Raspberry Pi Limited along with the $5 Raspberry Pi Pico 2 board. Since that initial release, we have seen many RP2350-based development boards like the Cytron MOTION 2350 Pro, the Bus Pirate 5XL and 6, and many other development boards released, feel free to check those out if you are looking for development boards built around the RP2350 MCU.   Pimoroni Explorer board specifications Microcontroller  – Raspberry Pi RP2350B MCU CPU Dual-core Arm Cortex-M33 @150MHz with Arm Trustzone for secure boot Dual-core 32-bit […]

Bus Pirate 5XL and 6 hardware debugging tools utilize Raspberry Pi RP2350A and RP2350B microcontrollers

Dangerous Prototypes Bus Pirate

The Bus Pirate 5XL and 6 are open-source hardware debugging tools respectively based on Raspberry Pi RP2350A and RP2350B and designed to simplify interaction with various bus protocols like 1-Wire, I2C, SPI, UART, several LEDs, and more. The idea is to send commands to a chip or sensor and get the response, without writing a single line of code making it ideal for hardware hacking and tinkering. The devices feature buffered I/O pins with voltage and current measurement, a programmable power supply with current limiting, an RGB LCD  for pin status and info, and an auxiliary header for connecting logic analyzers. All these features make this device useful for applications like debugging circuits, prototyping projects, and reverse engineering devices. The new devices are updates to the Bus Pirate 5 based on Raspberry Pi RP2040 MCU. You’ll find Bus Pirate specifications for the three models in the table below. The original […]

A closer look at Raspberry Pi RP2350’s HSTX high-speed serial transmit interface

Raspberry Pi RP2530 HSTX interface

The Raspberry Pi RP2350 microcontroller adds an HSTX (High-Speed Serial Transmit) interface adding the PIOs (Programmable IOs) introduced on the Raspberry Pi RP2040 three years ago. The RP2350 MCU now has three PIOs and one HSTX interface going over 8x GPIOs. So let’s try to better understand what HSTX is exactly, what it is used for, and how it differs from PIOs. We’ll also check out some programming examples in C and MicroPython. The high-speed serial transmit (HSTX) interface is detailed in the RP2350 datasheet starting on page 1118 where it reads “The high-speed serial transmit (HSTX) interface streams data from the system clock domain to up to 8 GPIOs at a rate independent of the system clock”. Reading further, we also learn that it runs at 150 MHz enabling up to 300 Mbps per pin with DDR output operation, or a combined 2,400 Mbps over 8 pins if I […]

UP 7000 x86 SBC