aboutsummaryrefslogtreecommitdiff
path: root/src/target
AgeCommit message (Collapse)Author
2008-07-06- fixed build issues with win32ntfreak
- 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-06src/helper/configuration.hoharboe
- 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-04- added event scripts for str73x and str75x targetsntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04- added jtag_khz to target scriptsntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04- fixed line endings with commands.tclntfreak
- added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04tcl tinkering.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@748 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04typooharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@745 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04tcl config script exampleoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04ARM11 update. OpenOCD supports starting without being able to talk to the ↵oharboe
hardware. git-svn-id: svn://svn.berlios.de/openocd/trunk@741 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04Valentin Longchamp target script for mx31.cfgoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-02- allocate target_type_t structure for each target, fixes issue when ↵ntfreak
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-06-27- added svn props for newly added filesntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@734 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27David Anders more target lib scripts contributed by oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25Fixed bogus error message and plugged memory leak for the case when there ↵oharboe
was no reset script. git-svn-id: svn://svn.berlios.de/openocd/trunk@728 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25- fix reset_halt issue with certain arm cores - address not set in embedded ↵ntfreak
ice reg - Thanks Jonas Hörberg git-svn-id: svn://svn.berlios.de/openocd/trunk@727 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25added pre/post_reset scripts based on Pieter Conradie's ideas.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@726 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-24- fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is definedntfreak
- Thanks Simon Qian git-svn-id: svn://svn.berlios.de/openocd/trunk@725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18Spen spotted a bug in warning for missing srst_pulls_trstoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@714 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16- added missing install entries for eir-sam7se512 targetntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16- added target and event script for the eir-sam7se512 targetmifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@712 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16- removed duplicate cortex_m3_register_commandsntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06Nicolas Pitre: Feroceon fixesoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@705 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-29- added checksum_memory and blank_check_memory for xscalentfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@696 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27- moved flash erase_check target code to target.cntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27- fixed typo in wp commandntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@692 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21moved srst_pulls_trst check into arm7_9_common.c. Not tested yet, if it is ↵oharboe
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-20Edgar Grimberg fixes some memory handling issues andoharboe
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-19Fix crash when mode number fetched from the target is invalid.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@667 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19print out an error if srst_pulls_trst is not specified foroharboe
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-19fix mode output when illegal arm mode is detected. Now prints illegal mode ↵oharboe
for index -1. git-svn-id: svn://svn.berlios.de/openocd/trunk@664 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19Michael Fischer found and Edgar Grimberg fixed generic crash in timers ↵oharboe
reproduceable with at91fr40008 git-svn-id: svn://svn.berlios.de/openocd/trunk@663 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19updated guidelines.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@662 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16- added smoketest result for r657mifi
- 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- added arm-usb-ocd.cfg and signalyzer.cfg to the interfacemifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@659 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-14- added jlink support, based on Jürgen Stuber patchntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-12- restored tabs and formattingntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-11- added patch from uwe hermann, thanks for the hint.mifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@656 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10- added/renamed interfaces, remove jtag_speed from the interface partmifi
git-svn-id: svn://svn.berlios.de/openocd/trunk@655 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-09Michael Fischer spotted a problem in the reset routines for srst_pulls_trst. ↵oharboe
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-07This matters for embedded devices, but is probably not observably better for ↵oharboe
PC hosted OpenOCD. git-svn-id: svn://svn.berlios.de/openocd/trunk@647 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06- added svn props for newly added filesntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@643 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06The target library is now the authorotative source of config examplesoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@642 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06add missing reset scriptoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@641 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-01- add missing svn propsntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@634 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30now compiles again.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@632 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30lpc2148 fixes from Edgar Grimbergoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@631 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30- added new device to luminary flash driverntfreak
- only use SYSRESETREQ on affected luminary parts git-svn-id: svn://svn.berlios.de/openocd/trunk@630 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-29Edgar Grimberg added a new rule for target scripts. Flash + verify must succeed.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@626 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-29- updated cortex_m3 docs regarding luminary reset behaviourntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@625 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-28- add cortex_m3 variant luminary to fix reset issue with asserting SRSTntfreak
- https://lists.berlios.de/pipermail/openocd-development/2008-April/002022.html for details git-svn-id: svn://svn.berlios.de/openocd/trunk@624 b42882b7-edfa-0310-969c-e2dbd0fdcd60