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
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