summaryrefslogtreecommitdiff
path: root/src/transport/swd_core.c
Commit message (Collapse)AuthorAgeFilesLines
* transport/swd: Fixed critical bugs in AP/DP read code: 1. double pointer did ↵Tomek CEDRO2011-11-061-4/+6
| | | | not return data where is should, 2. calling reads with NULL pointer caused program crash.
* transport/swd: Read operation forces queue flush, as multiple operations ↵Tomek CEDRO2011-11-041-3/+3
| | | | cannot be queued up and fulshed at later time because OpenOCD use single pointers for data return from function and it is impossible to read out dynamically allocated memory this way in C.
* transport/swd: unused variables and headers build fixes for linux ubuntu ↵Tomek CEDRO2011-11-021-6/+4
| | | | 11.04. Thanks to Przemyslaw Wegrzyn for pointing this out :-)
* SWD: swd tcl commands are now available from CLI and initialized at program ↵Tomek CEDRO2011-10-131-1/+1
| | | | startup with other commands.
* transport/swd: Changes in logging mechanism: 1. LogLevel is inherited during ↵Tomek CEDRO2011-09-111-11/+6
| | | | transport initialization and only if context is created. 2. swd_log() use vprintf as using openocd logging mechanisms caused program crash by va recurrence. 3. Fixed tcl interface to use/update loglevel configuration parameter from swdctx stored within dap.
* transport/swd: SWD Context initialization is now made by transport_init(), ↵Tomek CEDRO2011-09-101-31/+33
| | | | after the DAP is created, DAP also holds the swdctx. transport_select() now only marks transport type and registers swd transport commands. Target system now consists of TAP (that is the test access port of the device), DAP (that is the debug access port of the arm system) and the TARGET+FLASH itself that allow to perform operations on the target architecture + memory. Interface and Transport connects to the TAP and allows operations on the TARGET using DAP.
* transport/swd: Introduced swd_tcl.c, a TCL interface for SWD. Commands are ↵Tomek CEDRO2011-09-091-0/+6
| | | | registered at transport select. Available commands are 'newdap' currently pointing to jtag_newtap, 'loglevel' that can show/set/inherit loglevel for easier log analysis during development.
* transport/swd: renamed swd.c into swd_core.c, Makefile.am update.Tomek CEDRO2011-09-091-0/+281