Commit Graph

586 Commits (3727a2103a772055b61bc56ec095432505aeb2e5)

Author SHA1 Message Date
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
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
oharboe d487a11b92 added stack trace.
git-svn-id: svn://svn.berlios.de/openocd/trunk@661 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 07:29:45 +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
mifi fcf674ced3 - smoketest for r651
git-svn-id: svn://svn.berlios.de/openocd/trunk@652 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 08:26:52 +00:00
oharboe 36c8c0a069 printing available memory fails on win + mac. Disable for now until a robust way of doing this can be found.
git-svn-id: svn://svn.berlios.de/openocd/trunk@651 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-09 19:03:03 +00:00
oharboe 52377759a2 Michael Fischer spotted a problem in the reset routines for srst_pulls_trst. It is a bit of a mystery why this was only visible w/LPC2148.
Embedded ICE registers are now set up after SRST pulls TRST.

git-svn-id: svn://svn.berlios.de/openocd/trunk@650 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-09 18:38:51 +00:00
oharboe fd66b702f0 disable code that prints available mem under windows. Does not compile.
git-svn-id: svn://svn.berlios.de/openocd/trunk@649 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-08 18:07:37 +00:00