Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
bootloader:openocd [2021/01/30 17:41]
admin [Acknowledge & Links]
bootloader:openocd [2021/01/30 17:43]
admin [OpenOCD & Raspberry Pi]
Line 65: Line 65:
   $ sudo nano /usr/local/share/openocd/scripts/interface/raspberrypi2-native.cfg   $ sudo nano /usr/local/share/openocd/scripts/interface/raspberrypi2-native.cfg
   $ sudo nano /usr/local/share/openocd/scripts/interface/raspberrypi3-native.cfg   $ sudo nano /usr/local/share/openocd/scripts/interface/raspberrypi3-native.cfg
 +Change:
 +  # Each of the SWD lines need a gpio number set: swclk swdio
 +  # Header pin numbers: 23 22
 +  bcm2835gpio_swd_nums 25 24
 +
 +  # If you define trst or srst, use appropriate reset_config
 +  # Header pin numbers: TRST - 26, SRST - 18
 +  bcm2835gpio_trst_num 7
 +  bcm2835gpio_srst_num 18
  
 ---- ----