summaryrefslogtreecommitdiff
path: root/src/target
Commit message (Collapse)AuthorAgeFilesLines
* John McCarthy <jgmcc@magma.ca> two patches add a mips_m4k target option ↵oharboe2008-10-141-8/+15
| | | | | | | | (ejtag_reset) to cause a reset command to use the EJTAG Peripheral and System Reset in addition to srst. This is for targets like the wrt54gl which do not connect the srst to a system reset (I believe it just goes to a GPIO). git-svn-id: svn://svn.berlios.de/openocd/trunk@1050 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* John McCarthy <jgmcc@magma.ca> cleans up the usage of theoharboe2008-10-145-77/+81
| | | | | | | | ejtag_info->ejtag_ctrl variable. It was being overwritten by the value read back from the EJTAG CONTROL register. Because of the way this register works you do not want to use the value returned to write the register, you always want to write the bits explicitly. The second patch just reduces the DMA retries to 0 in anticipation of removing the retry code altogether. git-svn-id: svn://svn.berlios.de/openocd/trunk@1049 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* reset cleanupoharboe2008-10-141-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1048 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Retired old reset code according to plan.oharboe2008-10-132-132/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1047 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* SEGFAULT gaffe in dummy register handlingoharboe2008-10-131-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1046 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* hontor <hontor@126.com> - ARMV7_GDB_HACKS compilation error fixoharboe2008-10-131-86/+88
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1045 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix crash when connecting GDB to powered down targetoharboe2008-10-132-7/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1044 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix crash when connecting GDB to powered down targetoharboe2008-10-131-3/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1043 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixed gaffes in reset script handling + improved erroroharboe2008-10-132-4/+8
| | | | | | | | messages a bit. The file and line # of the syntax error in a reset script is now printed. git-svn-id: svn://svn.berlios.de/openocd/trunk@1042 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error ↵oharboe2008-10-136-49/+108
| | | | | | checks mostly to src/target/target.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix problems with DCC downloads routine crashing silently.oharboe2008-10-122-81/+101
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1040 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* John McCarthy <jgmcc@magma.ca> openocd-usb.cfg addedoharboe2008-10-102-1/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1038 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* abort writing algorithm to target upon failureoharboe2008-10-091-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1037 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* zy1000 1.44 snapshotoharboe2008-10-092-19/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1034 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove build warnings from mips_m4k.c and arm11.cntfreak2008-10-085-1410/+1357
| | | | | | | - reformat whitespace arm11.c[ch] - add missing svn props from mips32_dmaacc.[ch] git-svn-id: svn://svn.berlios.de/openocd/trunk@1032 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* file not found SEGFAULT fixoharboe2008-10-081-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1030 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* John McCarthy <jgmcc@magma.ca> adds support for DMA mode access as supported ↵oharboe2008-10-086-5/+521
| | | | | | by EJTAG 1.0/2.0 processors git-svn-id: svn://svn.berlios.de/openocd/trunk@1029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixes SEGFAULT when setting registers from GDB.oharboe2008-10-076-22/+49
| | | | | | set $cpsr=1234 git-svn-id: svn://svn.berlios.de/openocd/trunk@1026 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Frederik Kriewitz <frederik at kriewitz.eu> Segmentation fault fix.oharboe2008-10-071-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed crash in dummy register handlingoharboe2008-10-071-0/+26
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1024 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Georg Acher <acher@in.tum.de> - arm11 wip. run algorithm + small init bugfix. oharboe2008-10-072-30/+193
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1023 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove build warningsntfreak2008-10-061-0/+1
| | | | | | - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1022 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* basic smoketest on lm3s3748.elfoharboe2008-10-061-1/+24
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1020 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Centralize error handling for buggy register handlingoharboe2008-10-062-22/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1019 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* better keep_alive() handlingoharboe2008-10-061-18/+24
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1018 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* timeout is now 1000ms instead of trying 100 times.oharboe2008-10-041-4/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* GDB alive fixes for verify_imageoharboe2008-10-034-192/+220
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1014 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed gaffe: disable interrupts reset init scriptoharboe2008-10-011-4/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1012 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed gaffe: disable interrupts reset init scriptoharboe2008-10-011-1/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1011 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - convert spaces to tabs in at91sam7.[ch]ntfreak2008-09-271-31/+29
| | | | | | - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1009 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* I do not know why this is necessary, but it fixes strange effectsoharboe2008-09-261-1/+8
| | | | | | (step/resume cause a NMI after reset) on LM3S6918 -- Michael Schwingen git-svn-id: svn://svn.berlios.de/openocd/trunk@1008 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - renamed x7926 driver to aduc702x to match other flash driversntfreak2008-09-241-1/+1
| | | | | | | - removed c99 types (mingw issues) from aduc driver and cleanup - updated docs for aduc702x flash driver git-svn-id: svn://svn.berlios.de/openocd/trunk@995 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix noise in gdb console when single stepping. Remove printing of log before ↵oharboe2008-09-242-0/+12
| | | | | | processing halted event. git-svn-id: svn://svn.berlios.de/openocd/trunk@994 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* "marcel" <M.W.Wijlaars@tue.nl>, oharboe2008-09-241-2/+5
| | | | | | I have the ADuC702x flashdriver working again (see attachment). It adds the option to erase and write the ADuC702x flash git-svn-id: svn://svn.berlios.de/openocd/trunk@992 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added myself to copyright on files i remember adding large contributions ↵ntfreak2008-09-2035-126/+92
| | | | | | | | | for over the years - cleaned up headers to match rest of code - added missing svn props for previously added files git-svn-id: svn://svn.berlios.de/openocd/trunk@987 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* follow up to keep_alive() fix. process target events before returning from ↵oharboe2008-09-121-0/+4
| | | | | | reset procedure. git-svn-id: svn://svn.berlios.de/openocd/trunk@986 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Fixed regression introduced in 890 when "fixing warnings" for ↵oharboe2008-09-121-1/+3
| | | | | | | | | | target_call_timer_callbacks_now(). target_call_timer_callbacks_now() did the same as target_call_timer_callbacks(). - Reduced keep_alive()'s job to only deal with GDB keep alive problems. git-svn-id: svn://svn.berlios.de/openocd/trunk@985 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: target_process_reset is now implemented in tcl. This allows ↵oharboe2008-09-121-14/+84
| | | | | | better control from target configuration scripts. git-svn-id: svn://svn.berlios.de/openocd/trunk@984 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed keep_alive fix gaffe introduce in previous commit.oharboe2008-09-081-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@983 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* workaround and comment for problems identified by Michael Schwingen.oharboe2008-09-051-0/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@979 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* s3c2440 OpenMoko target scriptoharboe2008-09-042-1/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@978 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis has made highly non-trivial changes to both the target handling ↵oharboe2008-09-011-0/+3
| | | | | | and command system. git-svn-id: svn://svn.berlios.de/openocd/trunk@977 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Removed target->reset_mode, no longer usedoharboe2008-09-012-96/+69
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@976 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: "target as an [tcl] object" feature.oharboe2008-09-0136-475/+1411
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* STR912 uses RCLK if availableoharboe2008-08-251-3/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@967 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed bug in arm11 examine code.oharboe2008-08-251-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@966 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed gaffe in last release w/target number.oharboe2008-08-251-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@965 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* duan ellis target tcl work in progressoharboe2008-08-2416-148/+390
| | | | | | | | converts a number of 'simple string lookup tables' into NVP tables. These NVP tables will be used by various commands coming in the next patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix win32 build issues from previous jim patchntfreak2008-08-221-28/+28
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@958 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix a off-by-one error in the buffer read/write code that checks for a ↵drath2008-08-221-2/+2
| | | | | | address wrap git-svn-id: svn://svn.berlios.de/openocd/trunk@957 b42882b7-edfa-0310-969c-e2dbd0fdcd60