aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-23kinetis : fix deadlock on device having hasidcode false.Michel Jaouen
2011-09-17kinetis cpu flash driverMathias K
Initial release of the freescale kinetis cpu flash driver.
2011-09-16kinetis auto mass erase on secured devicesMathias K
This is a proof of concept to get access to the debug port of a secured kinetis cpu. On full flash erase the cpu is automatically secured and the debug port is not accessible. To get this to work the srst line is needed and the necessary configuration should be added to the configuration file.
2011-09-11Fixes and spellchecks for various Buspirate output messagesLuca Bruno
Signed-off-by: Luca Bruno <lucab@debian.org>
2011-09-02Implementation of a new jtag remote_bitbang driver.Richard Uhler
The driver sends ascii encoded bitbang commands over unix sockets or TCP to another process. This driver is useful for debugging software running on processors which are being simulated.
2011-09-01ULINK driver: Remove typedefs in ulink.cMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-09-01ULINK driver: Remove typedefs in OpenULINK firmware: Use typedefs from ↵Martin Schmölzer
stdint.h (uint8_t, uint16_t) instead of custom typedefs in shorttypes.h (u8, u16, ...) Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-09-01ULINK driver: Remove typedefs in OpenULINK firmware USB descriptor structuresMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31usleep to jtag_sleepRodrigo L. Rosa
this will help avoid platform specific timing issues
2011-08-31static for some functionsRodrigo L. Rosa
made two functions into static, since they are not required by anything external
2011-08-31speed up, relocate functionRodrigo L. Rosa
added an attempt to use the non-reseting halting sequence. if it fails, then the full sequence will be attempted. this makes things a bit faster most of the time. changed the location of a function, avoiding a forward def
2011-08-31Merge branch 'dsp5680xx_cherry' of git://repo.or.cz/openocd/dsp568013 into fixØyvind Harboe
2011-08-31ULINK driver: Update firmware image to reflect the latest changes in source ↵Martin Schmoelzer
code. Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Add '-lm' linker flag when building this driver (required for ↵Martin Schmoelzer
correct calculation of JTAG TCK speed setting) Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement variable TCK frequency in OpenOCD driverMartin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement variable TCK frequency in OpenULINK firmwareMartin Schmölzer
Also, speed up jtag_clock_tck() significantly (150 kHz -> 375 kHz) Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Fix whitespace in OpenULINK firmware usb.c module (trivial)Martin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement JTAG_PATHMOVE commandMartin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement JTAG_STABLECLOCKS commandMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement command to manually force downloading firmware image ↵Martin Schmölzer
from arbitrary location Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Re-order queue functions to reflect the order in commands.hMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Properly propagate return values in ulink_execute_queue()Martin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Update some comments, fix some coding mistakesMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31vsllink driver compile fails with'vsllink_debug_buffer' defined but not usedsimonqian.openocd
USB communication is handled by code under versaloon directory. So _DEBUG_USB_COMMS_ should not be used in vsllink.c. Attachment is the patch.
2011-08-30removed trailing whitespacesRodrigo L. Rosa
emacs is awesome. replace-regexp RET [ ]+$ RET RET and it's done
2011-08-30fix enter debug mode for lockingRodrigo L. Rosa
added an alternative way to enter debug mode, which does not require restarting the chip. this will not always work, but in general it will (failure 0.3%), and failure is not a dramatic issue, simply have to use the full sequence. the user can only access "halt", which uses the full sequence, so the user should not have any problems. restarting the chip requires reconfiguring the flash module. the doc is very poor, so i'd rather have the two methods, and live with the 0.3%.
2011-08-30fix irlen handlingRodrigo L. Rosa
sometimes the master tap will be enabled, since tap switching is required during halt/lock/unlocking procedures. now irscan handles this, avoiding unnecessary warnings and preventing errors.
2011-08-30fix debug mode,lock,unlockRodrigo L. Rosa
got new info regarding setting the chip to debug mode, and locking/unlocking flash memory. the newer implementation is a bit slower, but always works. the previous implementation would randomly (as once every 25k-70k times) get the chip into a state where the freescale tool would be necessary. this is fixed now. added functions to play around with the jtag state machine. they are not the happiest, but are necessary to be able to execute the halting/locking/unlocking sequences. Conflicts: src/target/dsp5680xx.c
2011-08-30fix error handling during haltRodrigo L. Rosa
the user can execute halt, but no enter_debug_mode. modified the error handling to suite this. the new implementation of unlocking will use enter_debug_mode, and should not get the same errors as the user would, because not being able to enter debug mode is actually success when checking for locked flash.
2011-08-30optional crc for flash writingRodrigo L. Rosa
crc check was always performed on newly flashed data, now it is optional flash mem can be locked by writing a specific word to a specific address in flash. to verify flash, target must be halted, and this will (when the new halt sequence is implemented) require reseting the chip. if the target is reset after writing the lock words, then it will lock, hence the CRC will fail because it is not possible to read stuff from the target. also added a function that resets the jtag state machine. this is not used yet, but will be soon. it is implemented to allow strict control over JTAG state machine, necessary to implement to halt and unlocking sequences.
2011-08-30def syntax to match tap irlenRodrigo L. Rosa
the master tap has a 4 bit irlen changed the instructions to be 4 bit, ie, removed the zeros. it makes it clearer to interpret.
2011-08-30cortex_a hybrid & context breakpointsHeythem Bouhaja
2011-08-27Fix off by one bug in FreeRTOSEvan Hunter
2011-08-25This will add the Value Line HD of stm32 devices.Jonathan Dumaresq
This has been tested on STM32F100VE
2011-08-24remove target argument from gdb packet handling functionsJie Zhang
2011-08-24Add suspended task list to FreeRTOS supportEvan
2011-08-24Fix FreeRTOS thread list parsingEvan Hunter
2011-08-24non_cfi: add SST39WF1601 supportAndreas Bießmann
Invented by jknick in sparkfun forum: http://forum.sparkfun.com/viewtopic.php?t=19788 Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2011-08-21Fix Sam3u flash bank 1 issueolivier Schonken
2011-08-18cfi: add EN29LV800BB supportGunnar Henne
Posted by telekatz@gmx.de in the bettyhacks forum for openocd 0.4.0 and integrated into 0.5.0 by Gunnar Henne. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-17remove white space before TABJie Zhang
2011-08-16versaloon driver updateSimonQian
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-14jimtcl: delete OpenOCD's broken 'stacktrace' commandØyvind Harboe
Use "info stacktrace" instead. This fixes build problems with latest Jim Tcl.
2011-08-12mips: fix potential alignment errorStefan Mahr
2011-08-12mips: fix reading uint32 and uint16 when running on big endian hostStefan Mahr
2011-08-12target: add helper functions to get/set u16 or u32 array from/to bufferStefan Mahr
2011-08-11ftd2xx: fix build warningsSpencer Oliver
Due to build warnings introduced in newer versions of ftd2xx we use strings to report errors rather than result codes. This also gives us the same behaviour as libftdi. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-11Merge branch 'dsp5680xx_cherry' of git://repo.or.cz/openocd/dsp568013 into HEADØyvind Harboe
2011-08-11Evaluate 'script' in the global scopeSteve Bennett
Scripts sourced via 'script' should evaluate in the global scope to make it easy to set and reference global variables. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-10fix return code from dsp5680xx_readRodrigo L. Rosa
it returned ERROR_OK even though it actually failed. this made the Tcl interface report success, though it had not succeeded.