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:20] – [Debugprobe] darronboards:pico [2024/08/26 22:43] (current) – [Debugprobe] darron
Line 59: Line 59:
  
 <code> <code>
-mkdir -p /opt/src +mkdir -p /opt 
-cd /opt/src+cd /opt
 git clone https://github.com/raspberrypi/pico-sdk git clone https://github.com/raspberrypi/pico-sdk
 cd pico-sdk cd pico-sdk
Line 67: Line 67:
  
 <code> <code>
-setenv PICO_SDK_PATH /opt/src/pico-sdk+setenv PICO_SDK_PATH /opt/pico-sdk
 </code> </code>
  
Line 75: Line 75:
  
 <code> <code>
-cd /opt/src+cd /opt
 git clone https://github.com/FreeRTOS/FreeRTOS-Kernel git clone https://github.com/FreeRTOS/FreeRTOS-Kernel
 </code> </code>
  
 <code> <code>
-setenv FREERTOS_KERNEL_PATH /opt/src/FreeRTOS-Kernel+setenv FREERTOS_KERNEL_PATH /opt/FreeRTOS-Kernel
 </code> </code>
  
Line 92: Line 92:
  
 <code> <code>
 +mkdir -p /opt/src
 cd /opt/src cd /opt/src
 git clone https://github.com/raspberrypi/picotool git clone https://github.com/raspberrypi/picotool
Line 189: Line 190:
 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.
- 
-In practice the device works until you connect GP4/UART1 TX 
-to the target and then it either fails to detect or disconnects 
-from the bus after one programming cycle. 
  
 This project was previously known as picoprobe and the difference This project was previously known as picoprobe and the difference
Line 199: Line 196:
  
 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 498: Line 500:
  
 [[https://wiki.segger.com/Raspberry_Pi_Pico|Using SEGGER J-Link with the Pi PICO]] [[https://wiki.segger.com/Raspberry_Pi_Pico|Using SEGGER J-Link with the Pi PICO]]
 +