Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
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>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
this will help avoid platform specific timing issues
|
|
made two functions into static, since they are not required by anything external
|
|
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
|
|
|
|
code.
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
correct calculation of JTAG TCK speed setting)
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Also, speed up jtag_clock_tck() significantly (150 kHz -> 375 kHz)
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
from arbitrary location
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
USB communication is handled by code under versaloon directory.
So _DEBUG_USB_COMMS_ should not be used in vsllink.c.
Attachment is the patch.
|
|
emacs is awesome.
replace-regexp RET [ ]+$ RET RET
and it's done
|
|
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%.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
This will add the BSTAP for the medium and high density devices
|
|
This has been tested on STM32F100VE
|
|
|
|
|
|
|
|
Currently the board/redbee-*.cfg files incorrectly include the
interface definition. Move the interfaces to interface/,
and create a single board/redbee.cfg that is common to both boards.
Intended usage is now:
openocd -f interface/redbee-econotag.cfg -f board/redbee.cfg
|
|
Invented by jknick in sparkfun forum:
http://forum.sparkfun.com/viewtopic.php?t=19788
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
|
|
|
|
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>
|
|
|
|
buspirate has never supported building on native windows (mingw).
configure will now check this is not the case.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
configure.ac is the correct name to use with modern autotools.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
AC_CHECK_FILE will die when cross-compiling. So don't use it to test the existence of guess-rev.sh.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Use "info stacktrace" instead. This fixes build problems with
latest Jim Tcl.
|
|
|
|
|