Advertisement
Guest User

Untitled

a guest
Nov 14th, 2017
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. #####CONFIG#####
  2. source [find interface/raspberrypi2-native.cfg]
  3. #set correct swd pins and reset mode
  4. bcm2835gpio_swd_nums 27 17
  5. bcm2835gpio_srst_num 22
  6.  
  7. transport select swd
  8.  
  9. set CHIPNAME samd20
  10. source [find target/at91samdXX.cfg]
  11. #set adapter speed
  12. adapter_khz 1000
  13.  
  14. reset_config srst_only
  15.  
  16. #####OUTPUT OPENOCD#####
  17. Open On-Chip Debugger 0.10.0+dev-00167-g29cfe9c (2017-07-10-13:29)
  18. Licensed under GNU GPL v2
  19. For bug reports, read
  20. http://openocd.org/doc/doxygen/bugs.html
  21. BCM2835 GPIO nums: swclk = 27, swdio = 17
  22. BCM2835 GPIO config: srst = 22
  23. none separate
  24. adapter speed: 400 kHz
  25. cortex_m reset_config sysresetreq
  26. adapter speed: 1000 kHz
  27. srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
  28. Info : BCM2835 GPIO JTAG/SWD bitbang driver
  29. Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
  30. Info : clock speed 1001 kHz
  31. Info : SWD DPIDR 0x0014f764
  32. Error: Could not initialize the debug port
  33.  
  34. #####OUTPUT TELNET#####
  35. > reset halt
  36. Could not initialize the debug port
  37. Target not examined, will not halt after reset!
  38. Could not initialize the debug port
  39. Target not examined yet
  40. Target not examined yet
  41. embedded:startup.tcl:21: Error:
  42. in procedure 'reset'
  43. in procedure 'ocd_bouncer'
  44. in procedure 'ocd_process_reset'
  45. in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 248
  46. in procedure 'samd20.cpu' called at file "embedded:startup.tcl", line 331
  47. in procedure 'ocd_bouncer'
  48. in procedure 'samd20.cpu' called at file "embedded:startup.tcl", line 297
  49. in procedure 'ocd_bouncer'
  50. at file "embedded:startup.tcl", line 21
  51.  
  52. TARGET: samd20.cpu - Not halted
  53. in procedure 'reset'
  54. in procedure 'ocd_bouncer'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement