Close
0%
0%

μLA: Micro Logic Analyzer for RP2040

SUMP/OLS compatible logic analyzer firmware for RP2040 boards

Public Chat
Similar projects worth following
Turn you Raspberry Pi Pico (or any RP2040 board) into simple logic analyzer in 5 minutes.

μLA is SUMP/OLS compatible logic analyzer firmware for RP2040 based boards.

Features
- 16 channels
- 100 MHz sampling rate (250 MHz if you brave enough), 1 sample per system clock tick
- 200 KB sample memory
- Fast triggers using PIO
- Input channels mapped to GPIO 0-15

Supported hardware
- Raspberry Pi Pico
- RP2040-Zero
- All RP2040 based boards with USB connection

Installation instructions
- Download latest μLA firmware from https://github.com/dotcypress/ula/releases
- Hold the BOOTSEL button while connecting your board to the computer
- Copy firmware file downloaded earlier to the RPi-RP2 disk
- Connect to analyzer using PulseView or sigrok-cli
- Enjoy

ula_0.0.2.uf2

μLA firmware for RP2040

uf2 - 48.50 kB - 04/15/2023 at 07:03

Download

  • 1 × Raspberry Pi Pico

Enjoy this project?

Share

Discussions

Reiner Buehl wrote 12/07/2023 at 12:49 point

Does this only work for 3.3V logic levels or is it also possible to connect the GPIO pins directly to 5V logic? I have seen different views on the 5V tolerance of the Pi Pico's GPIOs so I am unsure if level shifters might be needed.

  Are you sure? yes | no

Vitaly Domnikov wrote 05/12/2023 at 15:38 point

Hey Fred!

Thank you for your feedback.

Edge triggers are supported by firmware, but OLS protocol, used in Sigrok doesn't have this feature. Probably I will do a small research and switch to another protocol later.

Channel can be mapped to any 16-bit range by changing PIN_BASE constant here https://github.com/dotcypress/ula/blob/main/src/main.rs#L31

I just did a build for you, you can download it here: https://github.com/dotcypress/ula/files/11465739/ula_0.0.3_gusman.uf2.zip

  Are you sure? yes | no

Fred wrote 05/12/2023 at 15:54 point

Great, thank you very much!

  Are you sure? yes | no

Fred wrote 05/12/2023 at 07:19 point

Nice work!

I have 2 questions/requests:

- I don't see edge triggering; is it normal?

- could it be possible to map channels to GPIO 2 to 17, instead of 0 to 15? This way, it could be possible to use gusmanb hardware without loosing the first 2 channels, as gusman hardware uses GPIO 0 and 1 for triggering purposes...

Thanks!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates