summaryrefslogtreecommitdiff
path: root/src/transport
Commit message (Collapse)AuthorAgeFilesLines
* transport: Transport init now fills jtag_interface->transport value, so both ↵Tomek CEDRO2011-11-121-0/+6
| | | | SWD and JTAG work again.
* 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.
* Merge branch 'master' of ssh://repo.or.cz/srv/git/openocd/libswdTomek CEDRO2011-11-041-2/+1
|\
| * transport/swd_drv: Fixed [-Werror=unused-but-set-variable] build error on ↵Tomek CEDRO2011-11-031-2/+1
| | | | | | | | ubuntu 11.10.
* | transport/swd: Added SWD_LOGLEVEL_PAYLOAD to be inherited when Debug level ↵Tomek CEDRO2011-11-041-1/+1
| | | | | | | | is set in OpenOCD.
* | 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_drv: Fixed critical issue with bitswapping of transmitted ↵Tomek CEDRO2011-11-021-7/+6
| | | | data. ACK and DATA packets are always transmitted LSb-First, no matter how ARM draws its fuckin timing diagrams!
* transport/swd: unused variables and headers build fixes for linux ubuntu ↵Tomek CEDRO2011-11-023-10/+11
| | | | 11.04. Thanks to Przemyslaw Wegrzyn for pointing this out :-)
* transport/swd_drv: Fixed header issues causing linux build problems. Thanks ↵Tomek CEDRO2011-11-011-7/+1
| | | | to Przemysław Węgrzyn for pointing this out :-)
* SWD: swd tcl commands are now available from CLI and initialized at program ↵Tomek CEDRO2011-10-133-2/+8
| | | | startup with other commands.
* swd/libswd_drv: fixed pointers output in debug strings that produced errors ↵Tomek CEDRO2011-09-271-8/+8
| | | | on 64bit machines, now use %p.
* transport/swd: In libswd log messages contain \n as required, so internal ↵Tomek CEDRO2011-09-111-1/+1
| | | | swd_log() does not produce endline anymore.
* transport/swd: Minor fix - messages automatic newline termination.Tomek CEDRO2011-09-112-4/+4
|
* transport/swd: Changes in logging mechanism: 1. LogLevel is inherited during ↵Tomek CEDRO2011-09-113-45/+18
| | | | 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: We stay with the name TAP as the 'plug' into DAP.Tomek CEDRO2011-09-101-1/+2
|
* 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-094-0/+136
| | | | 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-092-2/+2
|
* transport/libswd_drv: swd_log_level_inherit() now returns value of resulting ↵Tomek CEDRO2011-09-091-1/+1
| | | | loglevel inherited from openocd.
* transport/swd: fixed swd context pointer, minor changes.Tomek CEDRO2011-09-091-39/+10
|
* TRANSPORT/SWD: Added missing header swd_libswd_drv_openocd.h.Tomek CEDRO2011-07-281-0/+49
|
* TRANSPORT/SWD: Driver bridge between OpenOCD and LibSWD if now functional ↵Tomek CEDRO2011-07-284-58/+126
| | | | and verified. Transport select does not operate on interface anymore, just prepares memory and configures transport, because signals are not yet definet at this point and interface is not initialized. Transport init operates on interface and reads out IDCODE by default.
* TRSPT: Null transport_list pointer atcreation.Tomek CEDRO2011-07-281-1/+1
|
* TRANSPORT: Supported transport names lists are now declared by ↵Tomek CEDRO2011-06-252-2/+11
| | | | src/transport.h and defined by src/transport.c. Multiple definitions of 'jtag_only' were removed and code was updated to use 'oocd_transport_jtag_only' (also updated headers if necessary) as defined by src/transport.
* TRANSPORT/SWD: Added experimental swd bridge between openocd's arm_adi_v5 ↵Tomek CEDRO2011-06-254-2/+607
| | | | and libswd. Not yet functional!
* TRANSPORT: Added code comments and transport subsystem explanations, minor ↵Tomek CEDRO2011-06-222-52/+73
| | | | code updates.
* transport: move files over to transport folderØyvind Harboe2011-06-133-0/+467
as we introduce swd and jtag as two transports, we want to start up with a new transport folder to organize the code a bit.