1. 10 Apr, 2019 3 commits
  2. 27 Mar, 2019 2 commits
  3. 08 Mar, 2019 1 commit
  4. 04 Mar, 2019 1 commit
  5. 27 Feb, 2019 1 commit
  6. 19 Feb, 2019 1 commit
  7. 14 Feb, 2019 2 commits
  8. 07 Feb, 2019 2 commits
  9. 05 Feb, 2019 1 commit
    • Tomas Vanek's avatar
      flash/nor: flash driver and cfg for SAM E54, E53, E51 and D51 · deaf3d26
      Tomas Vanek authored
      The new Microchip (former Atmel) series powered by Cortex-M4 looks
      very similar to older M0+ powered SAM D2x at the first sight.
      Unfortunately the new series differs a lot in important details.
      NVMCTRL has different register addresses, moved important bits
      and even changed binary command set. An universal driver for all SAM D/E
      would be very complicated. That's why a new driver was derived.
      Tested on Microchip SAM E54 Xplained Pro kit (board cfg included).
      Adjusted for the restructured dap support.
      Checked by valgrind and clang static analyzer.
      Change-Id: I26c67047a552076f4b207b9b89285a53d69b4ca4
      Signed-off-by: default avatarTomas Vanek <vanekt@fbl.cz>
      Reviewed-on: http://openocd.zylin.com/4272
      Tested-by: jenkins
      Reviewed-by: default avatarAndres Vahter <andres.vahter@gmail.com>
  10. 11 Jan, 2019 1 commit
  11. 08 Jan, 2019 1 commit
  12. 02 Jan, 2019 2 commits
  13. 23 Dec, 2018 1 commit
  14. 21 Dec, 2018 1 commit
  15. 19 Dec, 2018 2 commits
  16. 12 Dec, 2018 1 commit
    • Steven Stallion's avatar
      esirisc: support eSi-Trace · c5eb9908
      Steven Stallion authored
      This patch adds support for instruction tracing to eSi-RISC targets. The
      command interface is borrowed heavily from ETM; eSi-Trace uses a less
      sophisticated model for tracing, however the setup and usage is similar.
      This patch also cleans up the command interfaces of the other esirisc
      command groups and adds additional debugging information to log messages
      when dealing with CSRs.
      This patch "finalizes" support for 32-bit eSi-RISC targets.
      Change-Id: Ia2a9de79a3c7c066240b5212721fb1b7584a9a45
      Signed-off-by: default avatarSteven Stallion <stallion@squareup.com>
      Reviewed-on: http://openocd.zylin.com/4780
      Tested-by: jenkins
      Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
  17. 11 Dec, 2018 1 commit
    • Edward Fewell's avatar
      flash/nor: update CC26xx/CC13xx support · f56e28b2
      Edward Fewell authored
      Added fixes found in additional code reviews.
      Remove inappropriate use of bank_number field and updated
      documentation to reflect the change.
      Restored functionality to cc2538.cfg file because previous
      change removed the cc26xx.cfg file because the flash support
      changes made it obsolete. Rolled the previous cc26xx.cfg
      file into cc2538.cfg and updated it to work with other
      recent changes.  Tested using a SmartRF06 Evaluation
      board with embedded XDS100v3 and external XDs110.
      Change-Id: Ia19d00cf8055c5c0f1acc53aa23fd06a80fd2ebc
      Signed-off-by: default avatarEdward Fewell <efewell@ti.com>
      Reviewed-on: http://openocd.zylin.com/4787
      Tested-by: jenkins
      Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
  18. 06 Dec, 2018 4 commits
  19. 08 Nov, 2018 1 commit
  20. 03 Nov, 2018 1 commit
  21. 16 Oct, 2018 1 commit
  22. 25 Sep, 2018 1 commit
  23. 19 Sep, 2018 1 commit
  24. 17 Sep, 2018 1 commit
  25. 07 Sep, 2018 1 commit
    • Antonio Borneo's avatar
      gdb_server: add per target option "-gdb-port" · ab858feb
      Antonio Borneo authored
      The argument passed to global config command "gdb_port" is usually,
      but not always, a TCP port number. In case of multiple targets, this
      numeric value is used as the first port of a set of consecutive TCP
      ports assigned one per target.
      If the argument is not a numeric value (e.g. "pipe", "disabled", ...)
      then incrementing it for the next target has no sense.
      Add the option "-gdb-port number" to the commands "target create" and
      "$target_name configure" to override, for the specific target, the
      general global configuration.
      This permits to use a per target "-gdb-port disabled", when no gdb
      port is required for that specific target.
      It also makes possible to choose a custom TCP port number for each
      target, overriding the usual sequence of consecutive port numbers.
      Change-Id: I3b9a1910b28ab4bc757e839d0e5d08ffc29f7ab4
      Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
      Reviewed-on: http://openocd.zylin.com/4530
      Tested-by: jenkins
      Reviewed-by: default avatarChristopher Head <chead@zaber.com>
      Reviewed-by: default avatarMatthias Welwarsky <matthias@welwarsky.de>
  26. 14 Aug, 2018 1 commit
  27. 01 Aug, 2018 3 commits
    • Masatoshi Tateishi's avatar
      rtos: add support for NuttX · 9ec306e9
      Masatoshi Tateishi authored
      This patch introduces RTOS support for NuttX. Currently,
      only ARM Cortex-M (both FPU and FPU-less) targets are supported.
      To use, add the following lines to ~/.gdbinit.
      define hookpost-file
        eval "monitor nuttx.pid_offset %d", &((struct tcb_s *)(0))->pid
        eval "monitor nuttx.xcpreg_offset %d", &((struct tcb_s *)(0))->xcp.regs
        eval "monitor nuttx.state_offset %d", &((struct tcb_s *)(0))->task_state
        eval "monitor nuttx.name_offset %d", &((struct tcb_s *)(0))->name
        eval "monitor nuttx.name_size %d", sizeof(((struct tcb_s *)(0))->name)
      And please make sure the above values are the same as in
      Change-Id: I2aaf8644d24dfb84b500516a9685382d5d8fe48f
      Signed-off-by: default avatarMasayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
      Signed-off-by: default avatarMasatoshi Tateishi <Masatoshi.Tateishi@jp.sony.com>
      Signed-off-by: default avatarNobuto Kobayashi <Nobuto.Kobayashi@sony.com>
      Reviewed-on: http://openocd.zylin.com/4103
      Tested-by: jenkins
      Reviewed-by: default avatarAlan Carvalho de Assis <acassis@gmail.com>
      Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
    • Antonio Borneo's avatar
      target/arm_adi_v5: add command "dpreg" · 6738e447
      Antonio Borneo authored
      For very low level debug or development around DAP, it is useful
      to have direct access to DP registers.
      Add command "dpreg" by mimic the syntax of the existing "apreg"
      	$dap_name dpreg reg [value]
      Change-Id: Ic4ab451eb5e74453133adee61050b4c6f656ffa3
      Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
      Reviewed-on: http://openocd.zylin.com/4612
      Tested-by: jenkins
      Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
    • Antonio Borneo's avatar
      server: explicitly call "shutdown" when catch CTRL-C or a signal · 5e13e011
      Antonio Borneo authored
      Every TCL command can be renamed (or deleted) and then replaced by
      a TCL proc that has the same name of the original TCL command.
      This can be used either to completely replace an existing command
      or to wrap the original command to extend its functionality.
      This applies also to the OpenOCD command "shutdown" and can be
      useful, for example, to set back some default value to the target
      before quitting OpenOCD.
      E.g. (TCL code):
      	rename shutdown original_shutdown
      	proc shutdown {} {
      		puts "This is my implementation of shutdown"
      		# my own stuff before exit OpenOCD
      Unfortunately, sending a signal (or pressing CTRL-C) to terminate
      OpenOCD doesn't trigger calling the original "shutdown" command
      nor its (eventual) replacement.
      Detect if the main loop is terminated by an external signal and
      in such case execute explicitly the command "shutdown".
      Replace with enum the magic numbers assumed by "shutdown_openocd".
      Please notice that it's possible to write a custom "shutdown" TCL
      proc that does not call the original "shutdown" command. This is
      useful, for example, to prevent the user to quit OpenOCD by typing
      "shutdown" in the telnet session.
      Such case will not prevent OpenOCD to terminate when receiving a
      signal; OpenOCD will quit after executing the custom "shutdown"
      Change-Id: I86b8f9eab8dbd7a28dad58b8cafd97caa7a82f43
      Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
      Reviewed-on: http://openocd.zylin.com/4551
      Tested-by: jenkins
      Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
  28. 24 Jul, 2018 1 commit