Joakim Nohlgård
dd95f593a0
openocd: Run verify after write without intermediate reset
...
Fixes problems with the watchdog interfering on Kinetis K devices
when USE_OLD_OPENOCD=0.
2017-10-18 14:34:20 +02:00
Joakim Nohlgård
7713bede99
openocd: Refactor openocd.sh script
...
- Merge flash and flash-elf commands since they were identical except
for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
result.
2017-10-18 14:34:20 +02:00
8601285b13
openocd: return error if flashing went wrong
2016-07-27 17:42:06 +02:00
Toon Stegen
cf431e696c
make debug: start gdb quietly
2016-04-22 12:00:10 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
daniel-k
78b98b3b1c
debugging: fix openocd closing when pressing Ctrl+C in GDB, fix #3427
2015-08-29 19:17:24 +02:00
daniel-k
03542161dd
openocd: don't reset cpu for target 'debug'
2015-07-13 17:22:54 +02:00
Joakim Gebart
527750c496
dist: openocd.sh: Add PRE_FLASH_CHECK_SCRIPT
2015-05-27 10:30:33 +02:00
Johann Fischer
21141cd389
dist/tools/openocd/openocd.sh: Add flash-elf command
2015-05-27 10:30:33 +02:00
Joakim Gebart
f5c67ebe62
dist: openocd.sh: Refactor argument handling, add new hooks for extra commands
2015-05-27 10:30:33 +02:00
Oleg Hahm
96e6d2aee3
Merge pull request #2471 from haukepetersen/fix_openocd_shutdown
...
dist/openocd.sh: added shutdown to flash commands
2015-03-05 17:18:10 +01:00
Joakim Gebart
f10c1f94d8
dist/tools/openocd: Replace OPENOCD_EXTRA_INIT with command line arguments
...
OPENOCD_EXTRA_INIT did not work for quoted arguments or openocd commands which require arguments.
2015-02-23 10:57:24 +01:00
Hauke Petersen
34541a5e0e
squash: work-around for wrong openocd return value
2015-02-19 16:59:03 +01:00
Hauke Petersen
8b17d0575e
dist/openocd.sh: added shutdown to flash commands
2015-02-19 16:45:00 +01:00
Joakim Gebart
a519aaad3d
dist/tools/openocd: Add documentation for newly introduced environment variables
2015-02-18 10:20:26 +01:00
Joakim Gebart
f4006cda2a
dist/tools/openocd: Quote file names in shell arguments
2015-02-18 10:11:07 +01:00
Joakim Gebart
b4c3f0c565
dist/tools/openocd: Make openocd command configurable.
2015-02-18 10:11:06 +01:00
Joakim Gebart
6e88b4ab2d
dist/tools/openocd: Add support for specifying config file and extra initialization arguments.
2015-02-18 10:10:53 +01:00
haukepetersen
63f019210c
dist: added unified openocd control script
2015-02-10 14:27:45 +01:00