74d4cf8ee3
* src/jim.c: remove bogus return value from if {[expr]} {xx} when {xx} is not run.
oharboe
2008-07-08 12:05:58 +00:00
6ed75d476e
- removed target_process_events as only used in handle_resume_command and events will be called anyway by poll
ntfreak
2008-07-08 11:19:03 +00:00
46b3e72528
- fix pre_resume script not being called
ntfreak
2008-07-08 10:49:58 +00:00
31e2500259
- apply correct formatting to openocd.c - Thanks Charles Hardin
ntfreak
2008-07-08 08:55:53 +00:00
9103bbbcb5
reset event is synonym for post_reset event.
oharboe
2008-07-07 21:06:22 +00:00
225ac18450
more tcl cleanup.
oharboe
2008-07-07 20:02:51 +00:00
cfba2f4a79
Duane Ellis <openocd@duaneellis.com>: This simple patch adds precision support to JIM's format command.
oharboe
2008-07-07 18:57:27 +00:00
994396da59
- command_run_line will only search once for the command, and execute if found
ntfreak
2008-07-07 12:19:17 +00:00
b31d83c6c7
added pre/postlude fn's for when OpenOCD is sleeping.
oharboe
2008-07-07 08:05:07 +00:00
a521e674cf
Jim Tcl support added
oharboe
2008-07-04 06:31:43 +00:00
4d858f7136
- allocate target_type_t structure for each target, fixes issue when multiple targets of the same type are located on the jtag chain - Thanks Michel Pollet
ntfreak
2008-07-02 07:51:41 +00:00
b754eac35a
hooks to enable experimentation with scripting language support. Reduces patch size, but has no effect on OpenOCD otherwise.
oharboe
2008-06-27 06:58:45 +00:00
a78762e786
export find_file function
oharboe
2008-06-27 06:20:41 +00:00
a61fe67b78
David Anders more target lib scripts contributed by
oharboe
2008-06-27 06:19:37 +00:00
0778b69f82
committing to reduce patch size for Tcl experiments. Not in use currently.
oharboe
2008-06-27 06:18:40 +00:00
83fc7fcf9b
David Anders: fixes an issue with large block nand flash address where the beginning of the OOB area is always selected instead of the beginning of a page when needed
oharboe
2008-06-27 06:13:34 +00:00
c5df3ce144
Fixed bogus error message and plugged memory leak for the case when there was no reset script.
oharboe
2008-06-25 19:23:55 +00:00
c152c6a5ed
- fix reset_halt issue with certain arm cores - address not set in embedded ice reg - Thanks Jonas Hörberg
ntfreak
2008-06-25 16:20:33 +00:00
7e36e461a4
added pre/post_reset scripts based on Pieter Conradie's ideas.
oharboe
2008-06-25 08:47:19 +00:00
e5c315d137
- fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is defined - Thanks Simon Qian
ntfreak
2008-06-24 09:26:30 +00:00
77fd8150ce
Pavel Chromy: - TAP reset without TRST shall be called TLR (stands for test-logic-reset, named after the TAP state it ends is) rather than tms (test-mode-select) - some comments changed to /* C coding style */
oharboe
2008-06-18 13:52:15 +00:00
46bdbc5dbd
Pavel Chromy: - lower jtag speeds (higher divisor) was used, TDI was not changed on falling TCK edge as it should - reset signal was release upon any TMS transition, making it impossible to use reset halt - added khz() and speed_div() functions
oharboe
2008-06-18 13:50:04 +00:00
f27871b240
Pavel Chromy: TAP state changed to TLR when SRST goes active with srst_pulls_trst, as in all other drivers
oharboe
2008-06-18 13:49:54 +00:00
5728fdce21
Spen spotted a bug in warning for missing srst_pulls_trst
oharboe
2008-06-18 11:58:20 +00:00
1c429d9ce7
- added target and event script for the eir-sam7se512 target
mifi
2008-06-16 19:54:15 +00:00
996acf082c
fallback for no implementation of multi word CFI write. Successful codepath not affected.
oharboe
2008-06-16 18:44:20 +00:00
d52d7f69be
GDB timeout fix. If a script takes a long time and does not produce any output, ping between every command.
oharboe
2008-06-16 18:40:31 +00:00
a37e3836e2
- str9 driver remove the duplicate target_free_working_area and reformat spaces to tabs. - lpc2000 driver reorder function so as to not require goto, plus refornat spaces to tabs.
ntfreak
2008-06-03 19:36:42 +00:00
3727a2103a
Fredrik Hederstierna: fix leak + clean up return codes
oharboe
2008-06-03 10:21:47 +00:00
32310efe1a
Fredrik Hederstierna: fix leak + clean up return codes
oharboe
2008-06-03 09:46:32 +00:00
17d52af2a4
- added checksum_memory and blank_check_memory for xscale
ntfreak
2008-05-29 18:27:00 +00:00
2117ed3feb
- stellaris flash driver changed warning to info
ntfreak
2008-05-28 21:26:23 +00:00
938e01d0c3
- moved flash erase_check target code to target.c
ntfreak
2008-05-27 21:23:47 +00:00
506ca886c4
flash_write will attempt to pad image sections
ntfreak
2008-05-27 18:40:28 +00:00
3a11ebf860
- changed some buffer defines to increase performance
mifi
2008-05-25 08:18:21 +00:00
2952c426dd
- comment out usb_set_altinterface, because it is not working under Mac OS X. And not needed for Windows. Hopefully it will not break a Linux build.
mifi
2008-05-24 15:40:32 +00:00
39dd91ed6b
- updated docs for new stellaris mass_erase command
ntfreak
2008-05-24 15:01:56 +00:00
f1e317e534
- jlink jlink_execute_queue returns result - added jlink_get_version_info function - reformatted spaces to tabs
ntfreak
2008-05-24 08:21:12 +00:00
209112000b
- replaced JLINK_xxxx command defines by EMU_CMD_ from the J-Link USB Protocol specification - added functionality to jlink_init to display the version.
mifi
2008-05-24 07:11:18 +00:00
155c3d763c
- add support for newer high density stm32 parts
ntfreak
2008-05-23 15:49:19 +00:00
e6f42eaeb6
jtag_exexcute_queue() now logs error when it is invoked before 'init' command.
oharboe
2008-05-22 07:28:56 +00:00
d8de4b9bab
moved srst_pulls_trst check into arm7_9_common.c. Not tested yet, if it is broken it should "only" print bogus warnings or not print a warning when it should have.
oharboe
2008-05-21 07:28:33 +00:00
0485363c45
Edgar Grimberg fixes some memory handling issues and a problem with arm7_9_debug_entry not executing a code path upon crashes.
oharboe
2008-05-20 10:10:54 +00:00
0989c374e9
reverted change in 658 and simply removed the busted warning for now.
oharboe
2008-05-19 20:11:05 +00:00
05d143857c
Fix crash when mode number fetched from the target is invalid.
oharboe
2008-05-19 19:02:36 +00:00