Commit Graph

  • 1231443b59 lpc2148 fixes from Edgar Grimberg oharboe 2008-04-30 18:59:39 +00:00
  • f8a117258a - added new device to luminary flash driver - only use SYSRESETREQ on affected luminary parts ntfreak 2008-04-30 18:33:21 +00:00
  • 95efa83ef5 Edgar's naming convention fixes. oharboe 2008-04-30 09:34:31 +00:00
  • 06cdb3ad44 Edgar's added support for printing jtag_khz oharboe 2008-04-30 09:13:54 +00:00
  • 26414b39d4 - stm32x default to 128k if flash size failed. ntfreak 2008-04-29 17:07:23 +00:00
  • 1f4308ddc4 Edgar Grimberg added a new rule for target scripts. Flash + verify must succeed. oharboe 2008-04-29 10:22:20 +00:00
  • 8acafd1710 - updated cortex_m3 docs regarding luminary reset behaviour ntfreak 2008-04-29 06:56:03 +00:00
  • f2e10a6050 - add cortex_m3 variant luminary to fix reset issue with asserting SRST - https://lists.berlios.de/pipermail/openocd-development/2008-April/002022.html for details ntfreak 2008-04-28 20:05:17 +00:00
  • cab29a63de - added ARMV7_GDB_HACKS define to armv7m.h, enabling all gdb hacks to be enabled/disabled for testing - added armv7m dummy cpsr register to stop gdb setting thumb bit ntfreak 2008-04-26 16:40:54 +00:00
  • 6eb2264d56 - luminary flash now loader polls when finished ntfreak 2008-04-26 15:24:15 +00:00
  • aa7975df3d set communication speeds oharboe 2008-04-26 14:53:06 +00:00
  • 625e34918f - incorrect ram size for lm3s811 target script ntfreak 2008-04-26 14:16:31 +00:00
  • 5d6c997b51 - change str9 flash controller to read array after a level 1 protect ntfreak 2008-04-26 12:50:03 +00:00
  • 1c50c0f3c7 wip instructions for building Cortex toolchain oharboe 2008-04-26 07:38:36 +00:00
  • 2fdb19e918 make debug_level 3 useful again... the log just drowns. perhaps introduce debug_level 4? oharboe 2008-04-25 13:31:40 +00:00
  • 9334cd451b Close dangling file handle oharboe 2008-04-24 20:40:52 +00:00
  • 040e254243 - added svn props for newly added files ntfreak 2008-04-24 11:09:28 +00:00
  • 6ef27f4534 Edgar's new test cases. oharboe 2008-04-24 09:26:50 +00:00
  • 2b3492b0ef Edgar's new test cases. oharboe 2008-04-24 09:21:42 +00:00
  • 831d41e750 Pavel Chromy's on chip flash loader oharboe 2008-04-23 16:36:02 +00:00
  • b3684491e8 - added svn props for newly added files ntfreak 2008-04-23 13:13:38 +00:00
  • 96f47822fd - added svn props for newly added files ntfreak 2008-04-23 13:10:27 +00:00
  • f8701ea700 Tim Hudson contributed at91sam9260 target config files + some interface definitions. oharboe 2008-04-23 09:53:23 +00:00
  • 70bef9e2e0 - fix typo in openocd.texi ntfreak 2008-04-23 09:53:04 +00:00
  • 3ce7afc0da regions outside flash are now read/write nocache by default. GDB 6.8 would mark non-flash areas as inacessible by default. oharboe 2008-04-23 08:07:39 +00:00
  • 26470de0e0 Tim Hudson: removed setting jtag_speed directly (which should not be done). oharboe 2008-04-23 07:19:25 +00:00
  • 3ccbf48fcc fixed doc for GDB memory map and flash program defaults to follow code oharboe 2008-04-23 05:46:26 +00:00
  • 6510be8b8b added fast option. oharboe 2008-04-23 05:42:42 +00:00
  • 30dc76644d Andre Renaud support for the am29sl800db CFI flash chip (id: 0x0004, 0x226b). oharboe 2008-04-23 05:27:45 +00:00
  • 1ad9179f3a wip on reporting bugs. oharboe 2008-04-22 14:15:45 +00:00
  • 45d94f6af9 deleted obsolete stuff. oharboe 2008-04-22 06:44:05 +00:00
  • 41d070982c - added stm32 stick and luminary eval boards interface configs - corrected target lm3s6965.cfg ntfreak 2008-04-21 08:52:52 +00:00
  • 435c4b6aa2 - set lpc288x[ch] svn file props ntfreak 2008-04-21 08:18:19 +00:00
  • ce8ed0e6e0 - set erase flag on sector ntfreak 2008-04-20 21:37:23 +00:00
  • ae75056742 Karl RobinSod <karl.robinsod@gmail.com> added lpc288x support. Some work remaining, committing for test/collaboration purposes. oharboe 2008-04-20 19:21:27 +00:00
  • 6cf3f38acf - update docs for flash write_image command - remove info on flash auto_erase, added to removed commands section ntfreak 2008-04-20 10:35:29 +00:00
  • fddbc0c143 - flash.c change stricmp to strcmp ntfreak 2008-04-19 17:39:52 +00:00
  • a7d76a4428 - added test results for r592 mifi 2008-04-19 14:08:22 +00:00
  • fbad947731 retired auto_erase, added optional erase arg to flash write_image. oharboe 2008-04-19 07:15:27 +00:00
  • da742a2d1c - Flash auto-erase is disabled by default drath 2008-04-18 16:23:21 +00:00
  • fcf3b943d8 Enabled auto erase, gdb memory map and gdb flash programming by default. oharboe 2008-04-18 07:33:03 +00:00
  • 4b19617f33 Nicolas Pitre fixed regression. oharboe 2008-04-18 06:29:30 +00:00
  • dd5bc1f893 Edwin Olsen: improves breakpoint handling on cortex-m3 parts. Specifically, this patch allows expressions to be evaluated in GDB that contain function calls. oharboe 2008-04-17 21:03:19 +00:00
  • a13764b5d0 fix for gaffe in 555 that stopped JTAG chain examine + validate from running. oharboe 2008-04-16 19:17:15 +00:00
  • 78489fb230 - added testing binaries mifi 2008-04-16 18:04:40 +00:00
  • 598042fc7b - correct stm32stick config script ntfreak 2008-04-16 09:22:52 +00:00
  • c333611f2b Update Embedded ICE registers explicitly during target->type->examine() instead of as a side effect of target->type->poll(). This makes it clearer when things happen during reset/examine. oharboe 2008-04-16 09:17:22 +00:00
  • c9dfba1866 Edgar Grimberg added some missing scripts from the install oharboe 2008-04-16 07:59:02 +00:00
  • 3aa95240ec fix SEGFAULT regression in cortex after TRST fixes oharboe 2008-04-16 07:34:22 +00:00
  • 5295bb3121 - sw_bkpts fails if the target is not halted. The side effect is that sw_bkpts also fails if the target is an unknown state(i.e. not examined yet). - feroceon embedded ICE registers are now set up after TRST has been deasserted(not tested, but it was broken as is anyway). oharboe 2008-04-15 19:08:25 +00:00
  • e18e23e1b6 Added checks for target->type->read/write_memory, soft_reset_halt and run_algorithm that the target has been examined. oharboe 2008-04-15 18:08:36 +00:00
  • 5aa93a5e8a target read/write is no longer attempted for target_xxx() functions when the target has not been examined(fails w/error). oharboe 2008-04-15 17:03:13 +00:00
  • 9bd0116866 - added new and missing target scripts - stm32stick and str730 ntfreak 2008-04-14 08:15:23 +00:00
  • 6a775dff38 retired fast_memory_access. It's always fast now. oharboe 2008-04-14 07:57:01 +00:00
  • 80d20326a7 - split str71x driver into banks - support new str91x/str9xpec devices - update target scripts and docs for changes ntfreak 2008-04-14 07:26:13 +00:00
  • 53c41935cd moved out stuff that wasn't already moved from openocd.pdf to the target library. oharboe 2008-04-14 06:26:53 +00:00
  • f2047d4775 Added a few tweaks while playing with texi. oharboe 2008-04-14 06:02:11 +00:00
  • 61ab13f895 TRST is asserted *before* target->type->assert_reset() is invoked. Removed old code. oharboe 2008-04-14 01:34:45 +00:00
  • f62ba35507 More robust handling of unknown target state for step/continue packet. oharboe 2008-04-13 13:29:33 +00:00
  • 7280d4a2c7 A dummy driver to test codepath w/no contact w/target. oharboe 2008-04-13 13:21:49 +00:00
  • 23837f5a3a allows launching OpenOCD w/telnet+gdb server w/the target powered down. oharboe 2008-04-13 12:08:06 +00:00
  • 7de51ceef9 allows launching OpenOCD w/telnet+gdb server w/the target powered down. oharboe 2008-04-13 11:42:49 +00:00
  • d9f50cb7d6 - Set up ICE registers after TRST - Work in progress to allow launching GDB/telnet server *before* jtag chain enum, validate & examine oharboe 2008-04-13 10:09:27 +00:00
  • fdd5582f7e found two more gaffes for reset wip oharboe 2008-04-11 15:56:57 +00:00
  • d300ecfc8e fixed gaffe for default examine implementation oharboe 2008-04-11 15:49:31 +00:00
  • c688c1cf48 Reset wip. Just adding hooks. This is just to reduce the size of the actual change, no change in behaviour. oharboe 2008-04-11 14:11:16 +00:00
  • c4a2fdbc39 Reset wip. Just adding hooks. This is just to reduce the size of the actual change, no change in behaviour. oharboe 2008-04-11 14:06:42 +00:00
  • 0d7d64b5e9 Wip - split target setup and target examination oharboe 2008-04-11 11:19:17 +00:00
  • 7805be1b3a added target->type->examine(). Eventually this will allow for bringing up telnet/gdb *before* jtag chain has been validated + it might fix some reset halt problems seen as examine() needs to run after TRST has been asserted. oharboe 2008-04-11 06:52:52 +00:00
  • a7d3a4a7f8 Improved XScale performance for embedded hosted OpenOCD oharboe 2008-04-11 06:45:27 +00:00
  • df9adb7b23 - remove AC_C_VARARRAYS and set check of autoconf back to 2.59 mifi 2008-04-10 19:49:47 +00:00
  • 2b16509675 stop using variable sized arrays. That's something that belongs to C++ and not C. oharboe 2008-04-10 19:44:56 +00:00
  • 518bce6c08 - added svn props for newly added parport.cfg ntfreak 2008-04-10 11:45:54 +00:00
  • 9c3dec377e - single core context used, removed debug context as thought unnecessary. - DCRDR now used to access special core registers - info is currently omitted from the cortex_m3 TRM ARM have told me this is the preferred access method and the docs will be updated soon. - now checks for User Thread Mode and Thread mode when halted. - removed repeated function declarations from command.c - cortex_m3_prepare_reset_halt removed, updated cortex_m3_assert_reset to suit ntfreak 2008-04-10 11:43:48 +00:00
  • 1ade331ba9 - due to previous patch adding AC_C_VARARRAYS, autoconf v2.61 min required ntfreak 2008-04-10 10:11:04 +00:00
  • 44fd861b75 target lib wip oharboe 2008-04-09 14:21:14 +00:00
  • b22ae9006b back out Don Porges workaround for some device with manufcaturer # 0x1a2 oharboe 2008-04-09 12:58:19 +00:00
  • 23939e4fc3 - add missing svn props ntfreak 2008-04-09 07:31:24 +00:00
  • 2585fc3420 Don Porges fixed c99 issues. oharboe 2008-04-09 05:55:23 +00:00
  • a064722743 - added "init" command. "init" and "reset" at end of startup script is equivalent to daemon_startup(still supported). - print warning if srst and trst change state at the same time when srst_and_trst is seperate - reset now performs a trst, examines and validates the jtag chain before targets assert reset - if startup fails to examine and validate the jtag chain, try a reset before trying again oharboe 2008-04-09 05:50:34 +00:00
  • 94320a1dc3 use jtag.c's cur/end_state global variables. oharboe 2008-04-08 19:23:50 +00:00
  • de330ca559 Edwin Olson found bug & tested fix for flash write_image for stellaris. oharboe 2008-04-08 18:55:39 +00:00
  • 30cda620cb lm3s6965.cfg contributed by Edwin Olson oharboe 2008-04-08 16:37:01 +00:00
  • a4ed848171 added a couple of LOG_ERROR() messages to improve logfile. oharboe 2008-04-08 16:27:50 +00:00
  • eabb49b570 Pavel pointed out that jtag_add_tlr() is better than jtag_add_tms(). oharboe 2008-04-08 13:08:36 +00:00
  • 4b2defe678 The endstate now reports the endstate of the queue instead of reading endstate variable internal to the driver. oharboe 2008-04-08 09:03:49 +00:00
  • 0d4f8fc824 Spen fixed various issues w.r.t. setting up the sockets for optimal performance. oharboe 2008-04-07 17:29:21 +00:00
  • 2b7504c279 - only if "reset halt" or "reset init" are issued will the reset vector be set up - If communication fails during assert between assert/deassert and during assert, warnings are printed. The warning suggests using srst_only if the clock locks up as that would allow the reset vector to be set up before asserting reset. oharboe 2008-04-07 10:48:44 +00:00
  • a2c45daf78 at91eb40a.elf moved to src/target/ecos oharboe 2008-04-07 05:42:28 +00:00
  • 769fa69b9a avoid patch trouble by isolating troublesome line... oharboe 2008-04-06 19:59:32 +00:00
  • bb0830da6d - added note to docs about gdb 6.8 and memory map support ntfreak 2008-04-05 10:07:12 +00:00
  • 381dc0efab - the reset mode parameter is now DEPRECATED. It is implemented as an optional parameter with default reset_init. This is to streamline things w.r.t. the target library. oharboe 2008-04-04 14:09:03 +00:00
  • 35b3c95299 - reverted some of the changes that possibly broke arm926ejs. Waiting for a bit more info before I can tell with confidence whether or not this would have any effect. - worked on error propagation and output for flash oharboe 2008-04-04 13:47:38 +00:00
  • 7abe97565e added query of reset speed oharboe 2008-04-04 07:43:04 +00:00
  • 32cc2202f0 - added test results mifi 2008-04-03 19:42:30 +00:00
  • d3f0549f08 - Work on fixing erase check. Many implementations are plain broken. Wrote a default flash erase check fn which uses CFI's target algorithm w/fallback to memory reads. - "flash info" no longer prints erase status as it is stale. - "flash erase_check" now prints erase status. erase check can take a *long* time. Work in progress - arm7/9 with seperate srst & trst now supports reset init/halt after a power outage. arm7/9 no longer makes any assumptions about state of target when reset is asserted. - fixes for srst & trst capable arm7/9 with reset init/halt - prepare_reset_halt retired. This code needs to be inside assert_reset anyway - haven't been able to get stm32 write algorithm to work. Fallback flash write does work. Haven't found a version of openocd trunk where this works. - added target_free_all_working_areas_restore() which can let be of restoring backups. This is needed when asserting reset as the target must be assumed to be an unknown state. Added some comments to working areas API - str9 reset script fixes - some guidelines - fixed dangling callbacks upon reset timeout oharboe 2008-04-03 14:00:17 +00:00
  • 349f62f74f Edgar Grimberg sharpened the str912 target script. oharboe 2008-04-02 14:47:21 +00:00
  • 6549d376e4 fix flash info - now reports erased state properly oharboe 2008-04-02 14:40:35 +00:00
  • 2a2935573e Added timeout(instead of infinite loop) to soft_reset_halt oharboe 2008-04-02 06:37:08 +00:00
  • b174a5b6a3 optional count argument to mwX oharboe 2008-04-02 06:21:24 +00:00