Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bad SWD_ACK values definitions. | Tomek CEDRO | 2011-11-02 | 1 | -2/+2 |
| | |||||
* | transport/swd_drv: Fixed critical issue with bitswapping of transmitted ↵ | Tomek CEDRO | 2011-11-02 | 1 | -7/+6 |
| | | | | data. ACK and DATA packets are always transmitted LSb-First, no matter how ARM draws its fuckin timing diagrams! | ||||
* | driver/ft2232: Added raw-wire level debug of data read/written by ft2232. ↵ | Tomek CEDRO | 2011-11-02 | 1 | -0/+5 |
| | | | | This might help debug bugs in drivers ;-) | ||||
* | transport/swd: unused variables and headers build fixes for linux ubuntu ↵ | Tomek CEDRO | 2011-11-02 | 3 | -10/+11 |
| | | | | 11.04. Thanks to Przemyslaw Wegrzyn for pointing this out :-) | ||||
* | transport/swd_drv: Fixed header issues causing linux build problems. Thanks ↵ | Tomek CEDRO | 2011-11-01 | 1 | -7/+1 |
| | | | | to Przemysław Węgrzyn for pointing this out :-) | ||||
* | Added helper script for faster configure execution on my freebsd platform. ↵ | Tomek CEDRO | 2011-11-01 | 1 | -0/+3 |
| | | | | Will be removed when job is done. | ||||
* | bootstrap also bootstraps submodules/libswd if necessary (when no configure ↵ | Tomek CEDRO | 2011-11-01 | 1 | -0/+6 |
| | | | | file exist for that submodule, so git/master is used, not a release). | ||||
* | submodules/libswd: openocd's fork master now use libswd master. This will ↵ | Tomek CEDRO | 2011-11-01 | 1 | -0/+0 |
| | | | | improve development of libswd master. | ||||
* | submodules/libswd: updated to use libswd-0.2 release/branch. | Tomek CEDRO | 2011-10-31 | 1 | -0/+0 |
| | |||||
* | SWD: swd tcl commands are now available from CLI and initialized at program ↵ | Tomek CEDRO | 2011-10-13 | 5 | -3/+9 |
| | | | | startup with other commands. | ||||
* | swd/libswd_drv: fixed pointers output in debug strings that produced errors ↵ | Tomek CEDRO | 2011-09-27 | 1 | -8/+8 |
| | | | | on 64bit machines, now use %p. | ||||
* | Updated LibSWD submodule to match repository updates. | Tomek CEDRO | 2011-09-11 | 1 | -0/+0 |
| | |||||
* | target/arm_adi_v5.c: experimental change in mem_ap_read_buf_u32() to work ↵ | Tomek CEDRO | 2011-09-11 | 1 | -15/+78 |
| | | | | with SWD and become JTAG independent. This may break ARM target support for JTAG. Original function was renamed to mem_ap_read_buf_u32_old(). | ||||
* | transport/swd: In libswd log messages contain \n as required, so internal ↵ | Tomek CEDRO | 2011-09-11 | 1 | -1/+1 |
| | | | | swd_log() does not produce endline anymore. | ||||
* | transport/swd: Minor fix - messages automatic newline termination. | Tomek CEDRO | 2011-09-11 | 2 | -4/+4 |
| | |||||
* | transport/swd: Changes in logging mechanism: 1. LogLevel is inherited during ↵ | Tomek CEDRO | 2011-09-11 | 3 | -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 CEDRO | 2011-09-10 | 1 | -1/+2 |
| | |||||
* | transport/swd: SWD Context initialization is now made by transport_init(), ↵ | Tomek CEDRO | 2011-09-10 | 1 | -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 CEDRO | 2011-09-09 | 4 | -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 CEDRO | 2011-09-09 | 2 | -2/+2 |
| | |||||
* | transport/libswd_drv: swd_log_level_inherit() now returns value of resulting ↵ | Tomek CEDRO | 2011-09-09 | 1 | -1/+1 |
| | | | | loglevel inherited from openocd. | ||||
* | transport/swd: fixed swd context pointer, minor changes. | Tomek CEDRO | 2011-09-09 | 1 | -39/+10 |
| | |||||
* | Another libswd submodule update. | Tomek CEDRO | 2011-09-09 | 1 | -0/+0 |
| | |||||
* | submodule/libswd: updated to use fresh libswd commits. | Tomek CEDRO | 2011-09-09 | 1 | -0/+0 |
| | |||||
* | TRANSPORT/SWD: Added missing header swd_libswd_drv_openocd.h. | Tomek CEDRO | 2011-07-28 | 1 | -0/+49 |
| | |||||
* | HELPER/TYPES: Removed bool definition as it broke build on my bsd box. | Tomek CEDRO | 2011-07-28 | 1 | -1/+1 |
| | |||||
* | TARGET/ARMADIV5: DAP operations are set to SWD if transport name is swd. | Tomek CEDRO | 2011-07-28 | 1 | -3/+1 |
| | |||||
* | TRANSPORT/SWD: Driver bridge between OpenOCD and LibSWD if now functional ↵ | Tomek CEDRO | 2011-07-28 | 4 | -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. | ||||
* | IF/TRANSFER: interface->transfer() function is now fixed and verified to ↵ | Tomek CEDRO | 2011-07-28 | 2 | -16/+28 |
| | | | | work correctly. Updated prototype to support LSB/MSB-first shift direction. | ||||
* | TRSPT: Null transport_list pointer atcreation. | Tomek CEDRO | 2011-07-28 | 1 | -1/+1 |
| | |||||
* | JTAG/ADP: Minor debug message update. | Tomek CEDRO | 2011-07-28 | 1 | -1/+1 |
| | |||||
* | IF: Minor update to interface debug messages. | Tomek CEDRO | 2011-07-28 | 1 | -1/+6 |
| | |||||
* | TCL/IF: Added some useful signals to kt-link-swd.cfg | Tomek CEDRO | 2011-07-28 | 1 | -0/+4 |
| | |||||
* | INTERFACE: Minor update in debug messages to be less ambiguous. | Tomek CEDRO | 2011-06-26 | 1 | -2/+2 |
| | |||||
* | BOOTSTRAP/SUBMODULES: Minor fix for libswd submodule. Placed git init/update ↵ | Tomek CEDRO | 2011-06-25 | 2 | -10/+13 |
| | | | | in at the top of bootstrap file. | ||||
* | TRANSPORT/TARGET: Updated source tree to build and use new swd ↵ | Tomek CEDRO | 2011-06-25 | 3 | -3/+5 |
| | | | | infrastructure from src/transport not jtag/swd.h nor target/adi_v5_swd.c. | ||||
* | INTERFACE/FT2232: 'ft2232_swd' interface was created and added to the list ↵ | Tomek CEDRO | 2011-06-25 | 2 | -4/+24 |
| | | | | of supported interfaces (as for now it is in the list jtag_interfaces, maybe should be separated or the interface list renamed into more general). | ||||
* | TRANSPORT: Supported transport names lists are now declared by ↵ | Tomek CEDRO | 2011-06-25 | 6 | -8/+14 |
| | | | | 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 CEDRO | 2011-06-25 | 4 | -2/+607 |
| | | | | and libswd. Not yet functional! | ||||
* | FT2232: LT-LINK interface layout initialization routines: renamed existing ↵ | Tomek CEDRO | 2011-06-25 | 2 | -9/+67 |
| | | | | layout to be ktlink_jtag, added ktlink_swd layout and initialization routine. Updated existing configuration file kt-link.cfg to match ktlink_jtag layout. | ||||
* | FT2232/BITBANG: Added layout specific bitbang_deny paramater that will block ↵ | Tomek CEDRO | 2011-06-25 | 1 | -0/+14 |
| | | | | bitbaning selected signals that could damage interface hardware. | ||||
* | Fixed linking with innternal/external libswd. | Tomek CEDRO | 2011-06-25 | 1 | -0/+6 |
| | |||||
* | FT2232: Added test implementation for transfer() function transfering bits ↵ | Tomek CEDRO | 2011-06-23 | 1 | -0/+33 |
| | | | | in/out of the char array from/to the interface pins. | ||||
* | TCL/INTERFACE: Added configuration script kt-link-swd.cfg for KT-LINK ↵ | Tomek CEDRO | 2011-06-23 | 1 | -0/+14 |
| | | | | working in SWD mode. | ||||
* | ARM_ADI_V5: DAP initialization will select and initialize transport and its ↵ | Tomek CEDRO | 2011-06-22 | 1 | -5/+33 |
| | | | | function set (functions to talk with DAP using JTAG or SWD). Minor description updates. | ||||
* | ARM_ADI_V5: Extended adiv5_dap with void *ctx pointer to store ↵ | Tomek CEDRO | 2011-06-22 | 1 | -2/+18 |
| | | | | transport/operation specific data (this will hold swd_ctx). | ||||
* | SUBMODULE/LIBSWD: Integrated (conditional) libswd build into source tree ↵ | Tomek CEDRO | 2011-06-22 | 3 | -3/+24 |
| | | | | configure and build process (just as JimTCL) in configure.in and Makefile.am. By default build is enabled, using switch '--disable-internal-libswd' build can be disabled and use external one. Added compilers flags to use internal libswd source tree in common.mk. | ||||
* | TRANSPORT: Added code comments and transport subsystem explanations, minor ↵ | Tomek CEDRO | 2011-06-22 | 2 | -52/+73 |
| | | | | code updates. | ||||
* | SUBMODULE: Added libswd submodule. | Tomek CEDRO | 2011-06-22 | 2 | -0/+3 |
| | |||||
* | BOOTSTRAP: Moved git submodule routines before autotools are executed. Added ↵ | Tomek CEDRO | 2011-06-22 | 1 | -13/+15 |
| | | | | comments.w |