Commit Graph

617 Commits (44928321e6d4d67bcb3da7022ff9d23e0c8ee78b)

Author SHA1 Message Date
oharboe b31d83c6c7 added pre/postlude fn's for when OpenOCD is sleeping.
git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 08:05:07 +00:00
ntfreak 97c4be68a0 - fix duplicate log entry
git-svn-id: svn://svn.berlios.de/openocd/trunk@762 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:49:05 +00:00
ntfreak 36cb42a549 - fix typo in memory.tcl
- Thanks Charles Hardin

git-svn-id: svn://svn.berlios.de/openocd/trunk@761 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:26:31 +00:00
ntfreak 655e4f88a6 - fixed build issues with win32
- fixed build warnings for last commit
- set svn props for last commit

git-svn-id: svn://svn.berlios.de/openocd/trunk@760 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:22:17 +00:00
oharboe 163bd86071 moving Tcl stuff around slightly.
git-svn-id: svn://svn.berlios.de/openocd/trunk@759 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 22:03:07 +00:00
oharboe 0bb7c9d109 fix a few compilation problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:56:15 +00:00
oharboe 2b673d0c1e Charles Hardin <ckhardin@gmail.com> - Tcl Server
git-svn-id: svn://svn.berlios.de/openocd/trunk@757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:33:05 +00:00
oharboe 9a8746de25 Oopss. Forgot to list Duane Ellis <openocd@duaneellis.com> as the author of changes in 755.
git-svn-id: svn://svn.berlios.de/openocd/trunk@756 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:25:04 +00:00
oharboe dc796a2091 src/helper/configuration.h
- Log output handlers now get a "const char *line"
	- Added "const" to parameter.

src/helper/command.c
src/helper/command.h
	- New function:  'command_output_text()'
	- Log output handlers now get a "const char *line"
 
src/helper/options.c
	- Log output handlers now get a "const char *line"

src/server/telnet_server.c
	- DO not transmit NULL bytes via TELNET.
	- Log output handlers now get a "const char *line"
	
src/server/gdb_server.c
	- Log output handlers now get a "const char *line"
	
	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
	previously to the mailing list for TCL users try

src/target/target.c
	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
	previously to the mailing list for TCL users try
	
src/target/target.h
	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
	previously to the mailing list for TCL users try

src/openocd.c
    - **MAJOR** Work: New TCL/Jim function: mem2array
	- **MAJOR** Work: Redirect Tcl/Jim stdio output to remote users.
	- Previously: TCL output did not go to GDB.
	- Previously: TCL output did not go to TELNET
	- Previously: TCL output only goes to control console.
	- This fixes that problem.
	+ Created callbacks:
		+openocd_jim_fwrite()	
		+openocd_jim_fread()
		+openocd_jim_vfprintf()
		+openocd_jim_fflush()
		+openocd_jim_fgets()

src/Makefile.am
	- New TCL files.
	- Future note: This should be more automated.  As the list of
	  'tcl' files grows maintaning this list will suck.

src/Jim.c
	- ** THIS INCLUDES A PREVIOUS PATCH I SENT EARLIER **
	- that impliments many [format] specifies JIM did not support.
	- Jim_FormatString() - **MAJOR** work.
	- Previously only supported "%s" "%d" and "%c"
	- And what support existed had bugs.
	- NEW: *MANY* formating parameters are now supported.
	- TODO: The "precision" specifier is not supported.

	** NEW ** This patch.
	
	- Jim_StringToWide() test if no conversion occured.
	- Jim_StringToIndex() test if no conversion occured.
	- Jim_StringToDouble() test if no conversion occured.

	** NEW ** This Patch. Major Work.
	- Previously output from JIM did not get sent to GDB
	- Ditto: Output to Telnet session.
	- Above items are now fixed - By introducing callbacks
	  new function pointers in the "interp" structure.

	- Helpers that call the callbacks.
	
	- New function: Jim_fprintf()
	- New function: Jim_vfprintf()
	- New function: Jim_fwrite()
	- New function: Jim_fread()
	- New function: Jim_fflush()
	- New function: Jim_fgets()

	By default: the output is to STDIO as previous.
	The "openocd.c" - redirects the output as needed.
	
	- Jim_Panic() - Send panic to both STDERR and the interps
	specified STDERR output as a 2nd choice.

	- Now JIM's "stdin/stdout/stderr" paramters are "void *"
	and are no longer "FILE *".

src/Jim.h
	- **MAJOR**
	-  New JIM STDIO callbacks in the "interp" structure.
	-  change: "stdin/stdout/stderr" are now "void *" cookies.
	-  New JIM stdio helper functions.



git-svn-id: svn://svn.berlios.de/openocd/trunk@755 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:17:43 +00:00
ntfreak 71460ba9a5 - added search for libdl
- Thanks Charles Hardin

git-svn-id: svn://svn.berlios.de/openocd/trunk@754 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-05 09:57:19 +00:00
ntfreak 2514493bd8 - added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@752 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:49:45 +00:00
ntfreak b36248beb9 - added event scripts for str73x and str75x targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:46:41 +00:00
ntfreak d0bd3b719e - added jtag_khz to target scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:33:46 +00:00
ntfreak b99b73a368 - fixed line endings with commands.tcl
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 16:59:35 +00:00
oharboe e9488b9ad8 tcl tinkering.
git-svn-id: svn://svn.berlios.de/openocd/trunk@748 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 14:05:08 +00:00
oharboe bece2176c0 fix to peek command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@747 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:48:16 +00:00
oharboe 002e3fcbdb added echo command in tcl. Issues a LOG_USER() for the single argument.
git-svn-id: svn://svn.berlios.de/openocd/trunk@746 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:37:34 +00:00
oharboe d8957cb107 typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@745 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:26:28 +00:00
oharboe ef268c96bb tcl config script example
git-svn-id: svn://svn.berlios.de/openocd/trunk@744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 08:08:29 +00:00
oharboe 71471b07fd added support for Tcl config scripts on the command line(use .tcl extension).
git-svn-id: svn://svn.berlios.de/openocd/trunk@743 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:22:11 +00:00
oharboe 269c6d8385 utility fn.
git-svn-id: svn://svn.berlios.de/openocd/trunk@742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:21:31 +00:00
oharboe e8b16d40f1 ARM11 update. OpenOCD supports starting without being able to talk to the hardware.
git-svn-id: svn://svn.berlios.de/openocd/trunk@741 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:20:43 +00:00
oharboe 586f8db90f Valentin Longchamp target script for mx31.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:09:02 +00:00
oharboe a521e674cf Jim Tcl support added
git-svn-id: svn://svn.berlios.de/openocd/trunk@739 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 06:31:43 +00:00
ntfreak 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

git-svn-id: svn://svn.berlios.de/openocd/trunk@738 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-02 07:51:41 +00:00
oharboe 731866bd14 wip.
git-svn-id: svn://svn.berlios.de/openocd/trunk@737 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-28 09:26:48 +00:00
oharboe 7b2a563198 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@736 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-28 08:02:58 +00:00
ntfreak 940e694af6 - added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@734 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 08:16:31 +00:00
oharboe b754eac35a hooks to enable experimentation with scripting language support. Reduces patch size, but has no effect on OpenOCD otherwise.
git-svn-id: svn://svn.berlios.de/openocd/trunk@733 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:58:45 +00:00
oharboe a78762e786 export find_file function
git-svn-id: svn://svn.berlios.de/openocd/trunk@732 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:20:41 +00:00
oharboe a61fe67b78 David Anders more target lib scripts contributed by
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:19:37 +00:00
oharboe 0778b69f82 committing to reduce patch size for Tcl experiments. Not in use currently.
git-svn-id: svn://svn.berlios.de/openocd/trunk@730 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:18:40 +00:00
oharboe 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
git-svn-id: svn://svn.berlios.de/openocd/trunk@729 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:13:34 +00:00
oharboe c5df3ce144 Fixed bogus error message and plugged memory leak for the case when there was no reset script.
git-svn-id: svn://svn.berlios.de/openocd/trunk@728 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 19:23:55 +00:00
ntfreak c152c6a5ed - fix reset_halt issue with certain arm cores - address not set in embedded ice reg
- Thanks Jonas Hörberg


git-svn-id: svn://svn.berlios.de/openocd/trunk@727 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 16:20:33 +00:00
oharboe 7e36e461a4 added pre/post_reset scripts based on Pieter Conradie's ideas.
git-svn-id: svn://svn.berlios.de/openocd/trunk@726 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 08:47:19 +00:00
ntfreak e5c315d137 - fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is defined
- Thanks Simon Qian

git-svn-id: svn://svn.berlios.de/openocd/trunk@725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-24 09:26:30 +00:00
oharboe 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 */

git-svn-id: svn://svn.berlios.de/openocd/trunk@717 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:52:15 +00:00
oharboe 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

git-svn-id: svn://svn.berlios.de/openocd/trunk@716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:50:04 +00:00
oharboe f27871b240 Pavel Chromy: TAP state changed to TLR when SRST goes active with srst_pulls_trst, as in all other drivers
git-svn-id: svn://svn.berlios.de/openocd/trunk@715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:49:54 +00:00
oharboe 5728fdce21 Spen spotted a bug in warning for missing srst_pulls_trst
git-svn-id: svn://svn.berlios.de/openocd/trunk@714 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 11:58:20 +00:00
ntfreak 681981cc0b - added missing install entries for eir-sam7se512 target
git-svn-id: svn://svn.berlios.de/openocd/trunk@713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 21:22:39 +00:00
mifi 1c429d9ce7 - added target and event script for the eir-sam7se512 target
git-svn-id: svn://svn.berlios.de/openocd/trunk@712 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 19:54:15 +00:00
oharboe 996acf082c fallback for no implementation of multi word CFI write. Successful codepath not affected.
git-svn-id: svn://svn.berlios.de/openocd/trunk@711 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 18:44:20 +00:00
oharboe d52d7f69be GDB timeout fix. If a script takes a long time and does not produce any output, ping between every command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@710 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 18:40:31 +00:00
ntfreak 85fc1e06fa - removed duplicate cortex_m3_register_commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 15:02:02 +00:00
ntfreak 5c8ebfbed2 - probe incorrect for high density stm32 flash
git-svn-id: svn://svn.berlios.de/openocd/trunk@708 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-11 11:12:24 +00:00
ntfreak 710c1a9ed9 - error message cleanup in jlink driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-10 17:59:10 +00:00
ntfreak ba8c605da4 - stm32 erase will use mass_erase if all banks selected
git-svn-id: svn://svn.berlios.de/openocd/trunk@706 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06 09:29:21 +00:00
oharboe c526c43c43 Nicolas Pitre: Feroceon fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@705 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06 06:12:04 +00:00
ntfreak a532e98176 - erase bank using bank erase rather than each sector
- Thanks Fredrik Hederstierna

git-svn-id: svn://svn.berlios.de/openocd/trunk@704 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-05 18:55:55 +00:00
oharboe 24092a5172 Pavel Chromy: TCK returns to zero before state of reset line is changed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@703 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 17:09:10 +00:00
oharboe 9f8d50bf81 Pavel Chromy: fix logging syntax error + formatting & removing obsolete comments.
git-svn-id: svn://svn.berlios.de/openocd/trunk@702 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 11:09:41 +00:00
ntfreak 04eecaac4a - fix jlink accessing incorrect buffer element
git-svn-id: svn://svn.berlios.de/openocd/trunk@701 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 09:46:19 +00:00
ntfreak 61933601bb - luminary, stm32 and str7 flash driver error cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 09:18:42 +00:00
ntfreak 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.


git-svn-id: svn://svn.berlios.de/openocd/trunk@699 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 19:36:42 +00:00
oharboe 3727a2103a Fredrik Hederstierna: fix leak + clean up return codes
git-svn-id: svn://svn.berlios.de/openocd/trunk@698 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 10:21:47 +00:00
oharboe 32310efe1a Fredrik Hederstierna: fix leak + clean up return codes
git-svn-id: svn://svn.berlios.de/openocd/trunk@697 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 09:46:32 +00:00
ntfreak 17d52af2a4 - added checksum_memory and blank_check_memory for xscale
git-svn-id: svn://svn.berlios.de/openocd/trunk@696 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-29 18:27:00 +00:00
ntfreak 2117ed3feb - stellaris flash driver changed warning to info
git-svn-id: svn://svn.berlios.de/openocd/trunk@695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-28 21:26:23 +00:00
ntfreak 938e01d0c3 - moved flash erase_check target code to target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 21:23:47 +00:00
ntfreak 506ca886c4 flash_write will attempt to pad image sections
git-svn-id: svn://svn.berlios.de/openocd/trunk@693 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 18:40:28 +00:00
ntfreak 222b5c179a - fixed typo in wp command
git-svn-id: svn://svn.berlios.de/openocd/trunk@692 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 17:57:41 +00:00
ntfreak 586e9e4ef1 - fix issue if jlink sends result in single usb in packet
git-svn-id: svn://svn.berlios.de/openocd/trunk@691 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 16:21:05 +00:00
mifi 923fdc6ff6 - added check for max. value of jtag_speed in ft2232_khz.
git-svn-id: svn://svn.berlios.de/openocd/trunk@690 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 17:59:26 +00:00
mifi bfc0ac58f8 - renamed EMU_CMD_HW_JTAG to EMU_CMD_HW_JTAG3
git-svn-id: svn://svn.berlios.de/openocd/trunk@689 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 17:32:15 +00:00
oharboe c45984f93e found out why str912 reset halt failed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@688 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 12:12:03 +00:00
oharboe e0d6a125c4 clock 1/0 in idle now configurable.
git-svn-id: svn://svn.berlios.de/openocd/trunk@687 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 11:46:05 +00:00
ntfreak 6945fb26c8 - corrected error with stm32 page calculation
git-svn-id: svn://svn.berlios.de/openocd/trunk@686 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 11:04:20 +00:00
mifi 3a11ebf860 - changed some buffer defines to increase performance
git-svn-id: svn://svn.berlios.de/openocd/trunk@685 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-25 08:18:21 +00:00
mifi 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.

git-svn-id: svn://svn.berlios.de/openocd/trunk@684 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 15:40:32 +00:00
ntfreak 0cd5c07a2d - added stellaris flash mass_erase command
git-svn-id: svn://svn.berlios.de/openocd/trunk@682 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 14:49:45 +00:00
ntfreak 7f19b91c80 - update sectors on stm32x mass erase
git-svn-id: svn://svn.berlios.de/openocd/trunk@681 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 14:19:42 +00:00
mifi 8b91677133 - swap processing of reset handling. First srst and than trst.
git-svn-id: svn://svn.berlios.de/openocd/trunk@680 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 11:33:34 +00:00
ntfreak 20937dd33a - removed compiler warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@679 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 11:01:33 +00:00
mifi b7dc652f11 - corrected copy/paste type and renamed jlink_usb_read_result to jlink_usb_read_emu_result
git-svn-id: svn://svn.berlios.de/openocd/trunk@678 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 09:06:04 +00:00
mifi 575e3379f5 - removed obsolete cmd JLINK_TAP_SEQUENCE_COMMAND, use EMU_CMD_HW_JTAG instead
git-svn-id: svn://svn.berlios.de/openocd/trunk@677 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 08:53:42 +00:00
ntfreak f1e317e534 - jlink jlink_execute_queue returns result
- added jlink_get_version_info function
- reformatted spaces to tabs

git-svn-id: svn://svn.berlios.de/openocd/trunk@676 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 08:21:12 +00:00
mifi 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.

git-svn-id: svn://svn.berlios.de/openocd/trunk@675 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 07:11:18 +00:00
ntfreak 155c3d763c - add support for newer high density stm32 parts
git-svn-id: svn://svn.berlios.de/openocd/trunk@674 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-23 15:49:19 +00:00
oharboe e6f42eaeb6 jtag_exexcute_queue() now logs error when it is invoked before 'init' command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@673 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-22 07:28:56 +00:00
ntfreak 3642616171 - remove error message on shutdown
git-svn-id: svn://svn.berlios.de/openocd/trunk@672 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21 19:23:35 +00:00
oharboe c3b9604658 comment.
git-svn-id: svn://svn.berlios.de/openocd/trunk@671 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21 16:57:20 +00:00
oharboe 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.
git-svn-id: svn://svn.berlios.de/openocd/trunk@670 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21 07:28:33 +00:00
oharboe 0485363c45 Edgar Grimberg fixes some memory handling issues and
a problem with arm7_9_debug_entry not executing a code path upon crashes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@669 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-20 10:10:54 +00:00
oharboe 0989c374e9 reverted change in 658 and simply removed the busted warning for now.
git-svn-id: svn://svn.berlios.de/openocd/trunk@668 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 20:11:05 +00:00
oharboe 05d143857c Fix crash when mode number fetched from the target is invalid.
git-svn-id: svn://svn.berlios.de/openocd/trunk@667 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 19:02:36 +00:00
oharboe a76c3433e1 print out an error if srst_pulls_trst is not specified for
e.g. at91fr40008. Could possibly show bogus false positives in log without any other side effects.

git-svn-id: svn://svn.berlios.de/openocd/trunk@666 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 18:58:47 +00:00
oharboe b723e78d70 Michael Fischer found this bogus warning. Fixed.
Error:   jtag.c:941 jtag_add_reset(): BUG: transition of req_tlr_or_trst ...

git-svn-id: svn://svn.berlios.de/openocd/trunk@665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 18:54:50 +00:00
oharboe 454b0a65e6 fix mode output when illegal arm mode is detected. Now prints illegal mode for index -1.
git-svn-id: svn://svn.berlios.de/openocd/trunk@664 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 12:39:06 +00:00
oharboe 552244724c Michael Fischer found and Edgar Grimberg fixed generic crash in timers reproduceable with at91fr40008
git-svn-id: svn://svn.berlios.de/openocd/trunk@663 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 08:44:57 +00:00
oharboe e2ebed86bf updated guidelines.
git-svn-id: svn://svn.berlios.de/openocd/trunk@662 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 08:03:17 +00:00
mifi 96ca4401bd - added smoketest result for r657
- some corrections for the reset config of at91r40008

git-svn-id: svn://svn.berlios.de/openocd/trunk@660 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16 20:23:35 +00:00
mifi 4e05fd6792 - added arm-usb-ocd.cfg and signalyzer.cfg to the interface
git-svn-id: svn://svn.berlios.de/openocd/trunk@659 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16 18:09:03 +00:00
ntfreak 548bb19aa2 - added jlink support, based on Jürgen Stuber patch
git-svn-id: svn://svn.berlios.de/openocd/trunk@658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-14 14:13:38 +00:00
ntfreak f1e72cf029 - restored tabs and formatting
git-svn-id: svn://svn.berlios.de/openocd/trunk@657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-12 09:01:38 +00:00
mifi 342d77e881 - added patch from uwe hermann, thanks for the hint.
git-svn-id: svn://svn.berlios.de/openocd/trunk@656 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-11 18:42:09 +00:00
mifi a394aed0f3 - added/renamed interfaces, remove jtag_speed from the interface part
git-svn-id: svn://svn.berlios.de/openocd/trunk@655 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 13:12:35 +00:00
mifi 2c75fdf06c - corrected rounding in ft2232_khz
git-svn-id: svn://svn.berlios.de/openocd/trunk@654 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 12:35:11 +00:00
mifi e2e874aa1f - added support for ft2232/jtag_khz
git-svn-id: svn://svn.berlios.de/openocd/trunk@653 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 12:11:02 +00:00