Age | Commit message (Collapse) | Author |
|
Change-Id: If79e86c731ac06aaefca1aebde40e7cb3de68e4d
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
|
|
Change-Id: I1c9957bb64df87cee7c5e832f21453eb8934a5fb
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Change-Id: I6e16010e13ad2ea0cdff99b2e8805c74bcd0eb56
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Let the target algorithm be running in the background and buffer data
continuously through a FIFO. This reduces or removes the effect of latency
because only a very small number of queue executions needs to be done per
buffer fill. Previously, the many repeated target state changes, register
accesses (really inefficient) and algorithm uploads caused the flash
programming to be latency bound in many cases. Now it should scale better
with increased throughput.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Access the different flash banks' registers using a bank specific register
base and a register specific offset. This is equivalent but feels more
natural.
Some accesses were discovered that maybe should not be hard coded to bank0
registers. Add a note about that.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Split armv7m_run_algorithm into two pieces and use them to reimplement it.
The arch_info parameter is used to keep context between the two calls, so
both calls must refer to the same armv7m_algorithm struct. Ugly but works
for a proof-of-concept.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
On supported targets, this may be used to start a long running algorithm in
the background so the target may be interacted with during execution and
later wait for its completion.
The most obvious use case is a double buffered flash algorithm that can
upload the next block of data while the algorithm is flashing the current.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
- Ticket: #35
|
|
|
|
TAP initialization).
This prevents rare communication errors during startup.
|
|
|
|
|
|
of `adapter_khz'
|
|
Interface expects speed in Hz, not kHz
- Ticket #34
|
|
CMD_SET_TCK_FREQUENCY message length is 5, not 4
- Ticket: #34
|
|
|
|
Added the flash driver for the STM32L family, which highly differ from the STM32F family.
Added the TCL target file for JTAG access.
|
|
Gumstix Verdex is a PXA270-based series of computer-on-modules. This
configuration file is based off the voipac.cfg configuration with
a different flash memory configuration. This has been tested flyswatter
adapter to reflash a Gumstix Verdex XL6P board.
|
|
|
|
|
|
The jim-nvp code is specific to openocd, so it belongs in openocd,
not in the core jimtcl.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
The missing value for ES1.2 silicon revision is mentioned in
sprugn4m.pdf, and the recent TI Beagleboard XM is powered by it,
so let support the revision.
|
|
Target events are added to get better gdb support. The run
algorithm functionality are implemented to support feature
fast flash write functionality. The new r/w buffer api is now
used to support the special memory address handling. The output
of the md command was fixed.
|
|
|
|
Initial release of the freescale kinetis cpu flash driver.
|
|
Most serial adaptors are identified by udev with SUBSYSTEM=tty and
without DEVTYPE. This patch fix udev rules to work with any listed
tty-based adaptor. It has been tested with a FTDI-based Bus Pirate.
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
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.
|
|
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
|
|
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.
|