Commit Graph

15 Commits

Author SHA1 Message Date
Triss 7056224c4f yes! hahaha... YES!!
(it compiles & works now)
2021-07-17 22:34:19 +02:00
Jaroslav Kysela a42da17ad0 add README.md
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-13 20:33:48 +02:00
Jaroslav Kysela 989b533184 Add the logic analyzer implementation based on the SUMP protocol
Supported features:

- up to 16 probes (gpio 6-21 by default)
- 200kB RAM for samples
- RLE encoding
- test mode (external pattern)
  * probe 0 and 1 - 10Mhz PWM
  * probe 1 and 2 - 1Mhz PWM
  * probe 3 and 4 - 1kHz PWM
  * probe 8 and 9 - 1kHz PWM (swapped levels)
- test pin (gpio 22) - 5Mhz 50%/50% PWM for probe tests (activated only when sampling)

Limits:

- 50Mhz sampling rate when compiled with the TURBO_200MHZ define (otherwise 31.25Mhz)
- basic triggers are implemented (functional up to 10Mhz - TODO: PIO support)

This protocol is supported in sigrok as openbench-logic-sniffer:

  pulseview --driver=ols:conn=/dev/ttyACM1

  sigrok-cli --driver=ols:conn=/dev/ttyACM1 --config samplerate=50Mhz \
             --config pattern=External --samples 256 --channels 0-1

Misc:

- picoprobe reset pin is on gpio 28 (instead 6) now

Link: https://www.sump.org/projects/analyzer/protocol
Link: https://github.com/sigrokproject/libsigrok/tree/master/src/hardware/openbench-logic-sniffer
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-08 21:39:19 +02:00
Jaroslav Kysela d18b0129a1 Add TURBO_200MHZ define to support 200Mhz system clock
125Mhz system clock - 31.25Mhz sample rate (logic analyzer)
200Mhz system clock - 50Mhz sample rate (logic analyzer)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-06 20:55:42 +02:00
Jaroslav Kysela 07e8a92a3b Change USB Product ID to F004 for the debug compilation (program in RAM)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-06 20:27:11 +02:00
Jaroslav Kysela f3e7eb1a94 Add second USB serial device for SUMP protocol (logic analyzer)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-04-30 20:44:42 +02:00
newbrain 0ff8b5530b Hardware target reset support 2021-02-23 15:45:12 +00:00
Liam Fraser 218bd5f50a Add MIT license to all source files 2021-02-03 09:29:20 +00:00
Liam Fraser 67f5af124a Disable all debug output so any uart can be used 2021-02-03 09:25:45 +00:00
Liam Fraser 49a80059b8 Fix file permissions 2021-02-03 09:24:46 +00:00
Liam Fraser 4bcaaa915d Add missing #endif 2021-02-03 09:23:04 +00:00
Andrew Scheller c29510f567
Move selection of UART interface and baudrate to picoprobe_config.h (#7)
Co-authored-by: Liam Fraser <liam@raspberrypi.com>
2021-02-03 09:22:09 +00:00
newbrain 0fe6a09d8b
Unique serial numbers for picoprobe (#8)
Co-authored-by: newbrain <newbrain@tiscali.it>
Co-authored-by: Liam Fraser <liam@raspberrypi.com>
2021-02-03 09:19:04 +00:00
a-pushkin 8ab7ebcabe
Leverage built in LED (#6)
* turn on LED on startup and blink for frequent activity
2021-02-03 09:14:55 +00:00
graham sanderson f67a57d2ba Initial Release 2021-01-20 17:47:12 +00:00