Difference between revisions of "Raspberry pi"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (Add section "Custom Bootloader for RPI Pico" and first link to external reference.)
m (Minor edits, create interim section for early notes cerca 2022.)
Line 30: Line 30:
 
</pre>
 
</pre>
  
 
+
== Early Notes <i>(2022)</i> ==
 
 
  
 
2022-08-03
 
2022-08-03
Line 38: Line 37:
  
 
*  https://github.com/raspberrypi/pico-examples/blob/master/flash/nuke/nuke.c
 
*  https://github.com/raspberrypi/pico-examples/blob/master/flash/nuke/nuke.c
 
  
 
RPi Pico board datasheet, contains Pico board schematic:
 
RPi Pico board datasheet, contains Pico board schematic:
  
 
*  https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf
 
*  https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf
 
  
 
Some Zephyr documentation on RPi Pico board, couple version of Zephyr RTOS:
 
Some Zephyr documentation on RPi Pico board, couple version of Zephyr RTOS:
Line 54: Line 51:
  
 
Note how supported peripherals list grows across these three releases.  RPI Pico board support relatively new in Zephyr in 2022.
 
Note how supported peripherals list grows across these three releases.  RPI Pico board support relatively new in Zephyr in 2022.
 
  
 
Special fork of `openocd` which can be used to flash and to debug RPi Pico via SWD interface . . . but what would the physical device and connection be from PC to RPi Pico SWD pins?
 
Special fork of `openocd` which can be used to flash and to debug RPi Pico via SWD interface . . . but what would the physical device and connection be from PC to RPi Pico SWD pins?
  
 
*  https://github.com/raspberrypi/openocd
 
*  https://github.com/raspberrypi/openocd
 
  
 
RPi Pico board always appears as mass storage device, whether boot select button pressed or not:
 
RPi Pico board always appears as mass storage device, whether boot select button pressed or not:
Line 66: Line 61:
 
*  https://github.com/zephyrproject-rtos/zephyr/pull/46616
 
*  https://github.com/zephyrproject-rtos/zephyr/pull/46616
  
== Custom Bootloader for RPI Pico ==
+
== Custom Bootloader for RPI Pico (2025) ==
  
 
*  https://stackoverflow.com/questions/76810837/is-there-a-way-to-flash-a-raspberry-pi-pico-with-firmware-contained-in-a-pointer
 
*  https://stackoverflow.com/questions/76810837/is-there-a-way-to-flash-a-raspberry-pi-pico-with-firmware-contained-in-a-pointer
  
 
<!-- EOF -->
 
<!-- EOF -->

Revision as of 04:14, 27 July 2025


Key words : Raspberry Pi RPi Pico board

RPi Pico pinout:

RPi Pico board pinout

 UART0 TX : I2C0 SDA : SPIO RX  :  GP0 :  1 +-----------------+ 40 : VBUS
 UART0 RX : I2C0 SCL : SPIO CSn :  GP1 :  2 |      +++++      | 39 : VSYS
                                   GND :  3 |       USB       | 38 : GND 
            I2C1 SDA : SPIO SCK :  GP2 :  4 |                 | 37 : 3V3_EN
            I2C1 SCL : SPIO TX  :  GP3 :  5 |                 | 36 : 3V3(OUT)
 UART1 TX : I2C0 SDA : SPIO RX  :  GP4 :  6 |                 | 35 : ------ ADC_VREF
 UART1 RX : I2C0 SCL : SPIO CSn :  GP5 :  7 |                 | 34 : GP28  :  ADC2
                                   GND :  8 |                 | 33 : GND   :  AGND
            I2C1 SDA : SPIO SCK :  GP6 :  9 |      xxxxx      | 32 : GP27  :  ADC1  :  I2C1 SCL 
            I2C1 SCL : SPIO TX  :  GP7 : 10 |      xxxxx      | 31 : GP26  :  ADC0  :  I2C1 SDA 
 UART1 TX : I2C0 SDA : SPI1 RX  :  GP8 : 11 |      xxxxx      | 30 : RUN 
 UART1 RX : I2C0 SCL : SPI1 CSn :  GP9 : 12 |      xxxxx      | 29 : GP22
                                   GND : 13 |                 | 28 : GND 
            I2C1 SDA : SPI1 SCK : GP10 : 14 |                 | 27 : GP21 ------------ I2C0 SCL 
            I2C1 SCL : SPI1 TX  : GP11 : 15 |                 | 26 : GP20 ------------ I2C0 SDA 
 UART0 TX : I2C0 SDA : SPI1 RX  : GP12 : 16 |                 | 25 : GP19 : SPI0 TX  : I2C1 SCL 
 UART0 RX : I2C0 SCL : SPI1 CSn : GP13 : 17 |                 | 24 : GP18 : SPI0 SCK : I2C1 SDA 
                                   GND : 18 |                 | 23 : GND 
            I2C1 SDA : SPI1 SCK : GP14 : 19 |                 | 22 : GP17 : SPI0 CSn : I2C0 SCL : UART0 RX
            I2C1 SCL : SPI1 TX  : GP15 : 20 +-----------------+ 21 : GP16 : SPI0 RX  : I2C1 SDA : UART0 TX

Early Notes (2022)

2022-08-03

RPi Pico board datasheet, contains Pico board schematic:

Some Zephyr documentation on RPi Pico board, couple version of Zephyr RTOS:

Note how supported peripherals list grows across these three releases. RPI Pico board support relatively new in Zephyr in 2022.

Special fork of `openocd` which can be used to flash and to debug RPi Pico via SWD interface . . . but what would the physical device and connection be from PC to RPi Pico SWD pins?

RPi Pico board always appears as mass storage device, whether boot select button pressed or not:

Custom Bootloader for RPI Pico (2025)