In tcl/interface/raspberrypi2-native.cfg, it claims that SRST is pin 18,
and it defines it as GPIO 18.
But as can be seen in tcl/interface/raspberrypi-native.cfg, pin 18 is GPIO
24!
(see also https://pihw.files.wordpress.com/2016/01/rpigpiopinout.png?w=614)
*** ./tcl/interface/raspberrypi-native.cfg 2016-12-30
21:22:25.306043414 +0000
--- ./tcl/interface/raspberrypi2-native.cfg 2016-12-30
21:22:25.306043414 +0000
# If you define trst or srst, use appropriate reset_config
# Header pin numbers: TRST - 26, SRST - 18
***************
*** 27,34 ****
# bcm2835gpio_trst_num 7
# reset_config trst_only
*! # bcm2835gpio_srst_num 24*
! # reset_config srst_only srst_push_pull
# or if you have both connected,
# reset_config trst_and_srst srst_push_pull
--- 34,41 ----
# bcm2835gpio_trst_num 7
# reset_config trst_only
*! bcm2835gpio_srst_num 18*
! reset_config srst_only srst_push_pull
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel