Skip to content

USB Bridge (Experimental)

Tony Kuker edited this page Dec 16, 2024 · 5 revisions

This document is a DRAFT and is not ready for prime-time use. The USB bridge functionality is highly experimental and (for now) should only be used by the brave.

Limitations:

  • Performance is SLOW. With a real SCSI-2 drive, around 15kB/s
  • Only tested with fixed (non-removable) hard disks. Other SCSI devices behavior is not tested.
  • Only tested with Pico (original). PicoW and Pico2 versions have not been tested yet.

Pre-build instructions

These instructions assume you're using a Mac or Linux device

sudo apt install cmake python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib

Install Pico SDK version 2.1.0

Download and install Pico SDK 2.1.0 https://github.com/raspberrypi/pico-sdk/releases/tag/2.1.0

Check you have an environment variable set to point to it: PICO_SDK_PATH=/Users/akuker/projects/pico-sdk

Build instructions

These are only needed until the code is merged into the main BlueSCSI repository.

git clone https://github.com/akuker/BlueSCSI-v2
cd BlueSCSI-v2
git checkout bridge
git submodule update --init --recursive
cd src_bridge
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DPICO_DEOPTIMIZED_DEBUG=1
ninja

# Reboot BlueSCSI into firmware update mode (hold boot sel)
cp scsibridge.uf2 /Volumes/RPI-RP2 

WIP screenshots...... image image image

image image