Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | INTERFACE: Minor update in debug messages to be less ambiguous. | Tomek CEDRO | 2011-06-26 | 1 | -2/+2 |
| | |||||
* | 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 | 1 | -8/+66 |
| | | | | 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. | ||||
* | 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). | ||||
* | TRANSPORT: Added code comments and transport subsystem explanations, minor ↵ | Tomek CEDRO | 2011-06-22 | 2 | -52/+73 |
| | | | | code updates. | ||||
* | INTERFACE/SIGNAL: Added "find" option to tcl command interface_signal. Fixed ↵ | Tomek CEDRO | 2011-06-21 | 2 | -7/+30 |
| | | | | "del" command. Added syntax check. Minor backend cosmetics. | ||||
* | INTERFACE/BITBANG: Fixed strnstr issue, command is now available only after ↵ | Tomek CEDRO | 2011-06-21 | 2 | -6/+7 |
| | | | | 'init' as it should be, replaced hardcode with define. | ||||
* | FT2232_DRIVER: Added bitbang() implementation backend to drive signals on ↵ | Tomek CEDRO | 2011-06-16 | 1 | -3/+104 |
| | | | | FT2*32 chip. | ||||
* | OPENOCD: Renamed ambiguous main2() into openocd_thread() to show possible ↵ | Tomek CEDRO | 2011-06-16 | 1 | -2/+7 |
| | | | | solution for thread support in future. | ||||
* | OPENOCD: Register bitbang TCL command. | Tomek CEDRO | 2011-06-16 | 1 | -1/+2 |
| | |||||
* | ADAPTER: Implemented TCL support for interface signal management ↵ | Tomek CEDRO | 2011-06-16 | 1 | -0/+71 |
| | | | | (interface_signal command that supports add/del/list parameters). | ||||
* | ADAPTER: Fixed transport selection mechanism to support transports other ↵ | Tomek CEDRO | 2011-06-16 | 1 | -8/+3 |
| | | | | than jtag (if defined). | ||||
* | INTERFACE: Integrating generic interface from src/interface with autotools ↵ | Tomek CEDRO | 2011-06-16 | 1 | -0/+2 |
| | | | | and build system. Resulting src/interface/libinterface.la is now part of libopenocd.la. | ||||
* | JTAG_INTERFACE: Extended jtag_interface API with additional methods to allow ↵ | Tomek CEDRO | 2011-06-16 | 1 | -7/+34 |
| | | | | other transports reusing existing code. In future this will be moved out to generic interface driver. transfer() for generic read/write bitstream from/to char array. bitbang() for generic interface signal read/write. *signal singly-linked-list for dynamic interface signal list representation. *target may be used to represent active target that interface is connected to. | ||||
* | INTERFACE: Adding new place for generic interface driver and routines in ↵ | Tomek CEDRO | 2011-06-16 | 5 | -0/+460 |
| | | | | src/interface. Adding interface signal definitions and routines. Adding bitbang functionality that works on signals. | ||||
* | transport: move files over to transport folder | Øyvind Harboe | 2011-06-13 | 10 | -8/+25 |
| | | | | | | 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. | ||||
* | doxy more | Rodrigo L. Rosa | 2011-06-12 | 1 | -2/+3 |
| | |||||
* | doxy & cleanup | Rodrigo L. Rosa | 2011-06-12 | 3 | -346/+593 |
| | |||||
* | fix protection behavior | Rodrigo L. Rosa | 2011-06-12 | 1 | -14/+9 |
| | |||||
* | cleanup trailing whitespaces | Rodrigo L. Rosa | 2011-06-12 | 4 | -11/+11 |
| | |||||
* | flash speed improved | Rodrigo L. Rosa | 2011-06-12 | 1 | -0/+8 |
| | |||||
* | removed unnecessary actions/controls | Rodrigo L. Rosa | 2011-06-12 | 1 | -38/+8 |
| | |||||
* | cleanup flash module command | Rodrigo L. Rosa | 2011-06-12 | 1 | -8/+12 |
| | |||||
* | fix read for verify_image | Rodrigo L. Rosa | 2011-06-12 | 1 | -26/+4 |
| | |||||
* | fix read speed improved by queueing commands | Rodrigo L. Rosa | 2011-06-12 | 1 | -0/+13 |
| | |||||
* | fix flash driver size, sector erase | Rodrigo L. Rosa | 2011-06-12 | 3 | -163/+98 |
| | |||||
* | Added minimodule (ftdi) interface | Rodrigo L. Rosa | 2011-06-12 | 1 | -0/+55 |
| |