summaryrefslogtreecommitdiff
path: root/src/target
Commit message (Collapse)AuthorAgeFilesLines
...
* switch to alive_sleep() to avoid gdb timeoutsoharboe2008-08-192-3/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@945 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* make target_wait_state() usable from other places, made LOG_USER() output ↵oharboe2008-08-191-1/+1
| | | | | | LOG_DEBUG() output. Avoids flooding logs in certain cases and OpenOCD will output error message if the halt fails. git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* better polling debug_level 3 handlingoharboe2008-08-191-4/+10
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@943 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added some alive_sleep()'soharboe2008-08-196-7/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@940 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* tinker with Xscale performance, anti-log spamming is now only for ↵oharboe2008-08-191-53/+51
| | | | | | debug_level 3 or more. Otherwise polling is done continously for 1 second. git-svn-id: svn://svn.berlios.de/openocd/trunk@937 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* tinker with Xscale performance. Poll a bit more before sleeping.oharboe2008-08-191-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@935 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix comment w.r.t. start address for RAMoharboe2008-08-191-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@934 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* removed a couple of exit()'s from error handling.oharboe2008-08-192-10/+13
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@932 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added wip imx31.cfg fileoharboe2008-08-192-0/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* openocd.texi is the authoratitive source for documentation. Wiki is dead.oharboe2008-08-188-8/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@926 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed not halted error messagesoharboe2008-08-172-4/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@925 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* deleted superfluous sam7s256 which was identical to sam7x256oharboe2008-08-173-46/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@924 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* removed obsolete command.oharboe2008-08-151-4/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@922 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* feroceon updated w.r.t. latest arm7/9 changesoharboe2008-08-143-6/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@921 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* arm7/9 breakpoint cleanup. arm7_9 sw/hw commands retired. openocd.texi is ↵oharboe2008-08-146-280/+119
| | | | | | alerady updated. git-svn-id: svn://svn.berlios.de/openocd/trunk@920 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* removed old commentoharboe2008-08-131-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@917 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* force lpc2148 target into ARM state.oharboe2008-08-131-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* comments.oharboe2008-08-131-3/+18
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@913 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Clear all dangling breakpoints upon GDB connection.oharboe2008-08-132-38/+70
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@912 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* updated syntax for post_reset scriptsoharboe2008-08-113-11/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@907 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* propagate error code in case of "reset" failing.oharboe2008-08-111-3/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* default reset in help text - runoharboe2008-08-081-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@900 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added svn props for newly added filesntfreak2008-08-075-49/+49
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@899 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.coharboe2008-08-074-1/+44
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* lpc2148 2MHz, RCLK and clockless config script versionsoharboe2008-08-075-5/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@897 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix target_examine declarationntfreak2008-08-063-5/+5
| | | | | | | | - remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* gaffe in previous commit fixed. "reset run" now works again for arm7/9oharboe2008-08-051-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@891 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: fix warningsoharboe2008-08-0513-26/+28
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* halting srst_pulls_trst targets is now snappier and has explicit warning.oharboe2008-08-051-0/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@889 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* define resetting the target into the halted or runningoharboe2008-08-056-39/+37
| | | | | | state as an atomic operation. git-svn-id: svn://svn.berlios.de/openocd/trunk@888 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* moves handling of problems with resetting into the halted stateoharboe2008-08-0512-45/+51
| | | | | | | | | | | | into the target implementation. Also target_process_reset() is now simpler and has error handling, e.g. if assert reset fails, then target_process_reset() will propagate that error. cmd_ctx was passed in to examine(), which is wrong - removed that. git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* The reset routine now works w/LPC2148 out of the box.oharboe2008-08-011-11/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@885 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* wait up to 1 second for halted state upon reset init/halt.oharboe2008-07-311-4/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@884 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* allow minidrivers to implement inner loop of dcc memory writesoharboe2008-07-283-407/+406
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@879 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed gaffe mea culpaoharboe2008-07-282-7/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@878 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* retired reset run_and_init/haltoharboe2008-07-2829-470/+337
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@877 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* add check for target_read/write_buffer 32 bit wrap.oharboe2008-07-261-3/+17
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@875 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - merged mips target into svn trunkntfreak2008-07-2611-4/+2399
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@874 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* minimum address and maximum length argument to load_image. Used in lieu of ↵oharboe2008-07-251-11/+49
| | | | | | reset init script when executable w/reset init sequence is available. git-svn-id: svn://svn.berlios.de/openocd/trunk@873 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added yours sincerely for files where I feel that I've made non-trivial ↵oharboe2008-07-2514-0/+42
| | | | | | contributions. git-svn-id: svn://svn.berlios.de/openocd/trunk@872 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* retire daemon_startupoharboe2008-07-2411-45/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@868 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* wait 500ms for target to halt upon connect.oharboe2008-07-242-5/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@865 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix typontfreak2008-07-231-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@862 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - jtag_khz/speed are now single parameter only. These are usedoharboe2008-07-2114-88/+112
| | | | | | | | | | | | | | | | | | | | | from pre/post_reset event scripts. Adding the second parameter was a mistake seen in retrospect. this gives precise control in post_reset for *when* the post reset speed is set. The pre_reset event was added *after* the second parameter to jtag_khz/speed - the target implementations no longer gets involved in the reset mode scheme. Either they reset a target into a halted mode or not. target_process_reset() detects if the reset halt failed or not. - tcl target event names are now target_N_name. Mainly internal at this early stage, but best to get the naming right now. - added hardcoded reset modes from gdb_server.c. I don't know precisely what these defaults should be or if it should be made configurable. Perhaps some hardcoded defaults will do for now and it can be made configurable later. - bugfix in cortex_m3.c for reset_run_and_xxx? - issue syntax error upon obsolete argument in target command instead of printing message that will surely drown in the log git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* use reset init explicitly before "load".oharboe2008-07-211-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@847 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* openocd@duaneellis.com fix naming confusion. Use ocd_ prefix for ocd API ↵oharboe2008-07-201-2/+2
| | | | | | consistently. git-svn-id: svn://svn.berlios.de/openocd/trunk@839 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* clarify error message w.r.t. not being able to set breakpointoharboe2008-07-191-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@836 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* remove obsolete reset_mode oharboe2008-07-1830-31/+31
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@833 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* "reset" without arguments now execute a "reset run".oharboe2008-07-181-13/+22
| | | | | | the reset mode argument to the target command is deprecated(ignored w/error message). git-svn-id: svn://svn.berlios.de/openocd/trunk@832 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix incorrectly registered function openocd_array2memntfreak2008-07-182-7/+6
| | | | | | | | | - removed unused variables - reformatted lpc288x.[ch] - fixed helper/Makefile.am dependencies - add correct svn props to added files git-svn-id: svn://svn.berlios.de/openocd/trunk@829 b42882b7-edfa-0310-969c-e2dbd0fdcd60