Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:pico [2024/08/26 21:58] – [Debugprobe] darronboards:pico [2024/10/16 16:12] (current) – [Power] darron
Line 15: Line 15:
 are whether they come pre-installed with header pins and a debug socket and if they have a WiFi adapter on board. are whether they come pre-installed with header pins and a debug socket and if they have a WiFi adapter on board.
  
 +===Power===
 +<wrap right>
 +{{picopower.png?150}}
 +</wrap>
  
 +<code>
 +40 VBUS   USB 5V
 +39 VSYS   RT6150B-33GQW INPUT
 +38 GND
 +37 3V3_EN RT6150B-33GQW ENABLE
 +36 3V3    RT6150B-33GQW OUTPUT 300mA MAX
 +...
 +</code>
 ===Bootloader=== ===Bootloader===
  
Line 50: Line 62:
 </code> </code>
  
 +==RP2350-A2==
 +
 +<code>
 +UF2 Bootloader v1.0
 +Model: Raspberry Pi RP2350
 +Board-ID: RP2350
 +</code>
 ===SDK=== ===SDK===
  
Line 114: Line 133:
 Below are two PICOs which contain no firmware and one Below are two PICOs which contain no firmware and one
 other running debugprobe. other running debugprobe.
 +
 +==RP2040==
  
 <code> <code>
Line 181: Line 202:
 </code> </code>
  
 +==RP2350==
 +
 +<code>
 +Program Information
 + none
 +
 +Fixed Pin Information
 + none
 +
 +Build Information
 + none
 +
 +Device Information
 + type:                   RP2350
 + revision:               A2
 + package:                QFN60
 + chipid:                 0x1c789de3e289c250
 + flash devinfo:          0x0c00
 + current cpu:            ARM
 + available cpus:         ARM, RISC-V
 + default cpu:            ARM
 + secure boot:            0
 + debug enable:           1
 + secure debug enable:    1
 + boot_random:            509d1a5d:1a015864:615e1d4b:c7483967
 + boot type:              normal
 + last booted partition:  none
 + diagnostic source:      slot 0
 + last boot diagnostics:  0x00010041
 + rom gitrev:             0x312e22fa
 +</code>
 Reboot firmware on specific device Reboot firmware on specific device
  
Line 190: Line 242:
 Debugprobe turns a Pi PICO into a debugger which can then Debugprobe turns a Pi PICO into a debugger which can then
 be used to debug another Pi PICO. be used to debug another Pi PICO.
- 
-Notice: On the Pi Pico revision B1 the probe will disconnect 
-from the USB bus and lock up with using its UART feature. This 
-was seen on a Pi 4B host. 
  
 This project was previously known as picoprobe and the difference This project was previously known as picoprobe and the difference
Line 200: Line 248:
  
 This is cheap alternative to buying a dedicated debugger. This is cheap alternative to buying a dedicated debugger.
 +
 +NB on the Pi Pico revision B1 Debugprobe will disconnect
 +from the USB bus and lock up when using its UART feature. This
 +was seen on a Pi 4B host. This fault has not been seen when using 
 +a Pi Pico revision B2 on the same host.
  
 Debug probe depends on [[tools:gccarm|GCC-ARM]] and Picotool to build from source. Debug probe depends on [[tools:gccarm|GCC-ARM]] and Picotool to build from source.
Line 242: Line 295:
 cd debugprobe_on_pico cd debugprobe_on_pico
 cmake -DDEBUG_ON_PICO=1 .. cmake -DDEBUG_ON_PICO=1 ..
 +make
 +</code>
 +
 +==Pi PICO 2==
 +
 +<code>
 +cd /opt/src/debugprobe
 +mkdir debugprobe_on_pico2
 +cd debugprobe_on_pico2
 +cmake -DDEBUG_ON_PICO=1 -DPICO_BOARD=pico2 -DPICO_PLATFORM=rp2350 ..
 make make
 </code> </code>
Line 488: Line 551:
 ===Resources=== ===Resources===
  
-[[https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf|MCU data-sheet including errata]]+[[https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf|RP2040 MCU data-sheet including errata]] 
 + 
 +[[https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf|RP2350 MCU data-sheet including errata]]
  
 [[https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf|Getting started with PICO]] [[https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf|Getting started with PICO]]