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
39dd91ed6b
- updated docs for new stellaris mass_erase command
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@683 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 15:01:56 +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