Archive for January, 2006

FTDI FT2232C support for Cygwin

Monday, January 23rd, 2006

The FTDI FT2232C is now supported on Cygwin, too. The configure script accepts –with-ftd2xx=PATH to specify which directory should be searched for the content of the FTD2XX driver package (available from ftdi). This configure option is ignored for non-Cygwin builds.

CFI Flash support

Monday, January 23rd, 2006

Support for CFI compliant flashes has been added to OpenOCD. Currently, only flashes compatible with the Intel command sets (0×0001 and 0×0003) are supported. Flash writing is possible both using memory writes (slow) and using flash writing code running on the target (faster). Using the Amontec JTAG Accelerator, about 30 kByte/s can be flashed. The CFI flash code has been tested with an Intel 28F640J3 and an Intel TE28F320C3, both in x16 configuration on a 16-bit bus, but support is included for any combination of up to 32-bit busses.

OpenOCD and the Amontec JTAG Accelerator

Wednesday, January 18th, 2006

Amontec released their JTAG Accelerator configuration for the Amontec Chameleon. The JTAG Accelerator is a high-speed EPP mode parallel port interface offering up to 70kByte/s download speed to target RAM using memory writes, and about 120kByte/s using the Debug Communications Channel (DCC).

LPC2000 flash writing improved

Sunday, January 15th, 2006

The LPC2000 flash driver is able to calculate the checksum that’s used by the bootloader to identify a valid flash image.

#flash bank lpc2000 base size 0 0 lpc_variant target # cclk calc_checksum
flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum

When ‘calc_checksum’ is specified in the LPC2000 flash bank configuration, the flash writing code inserts the correct checksum whenever a write to offset 0×0 of at least 32 byte (size of the exception vectors) occurs.

flash probe 0
Uses the IAP routines to check the erase state of all flash sectors
flash erase 0 x y
Erases flash blocks x to y using IAP calls
flash info 0
Prints information about the flash bank (block sizes, block starting offsets, erase state)
flash write 0 FILE OFFSET
Writes the binary FILE to the LPC2000 internal flash starting at OFFSET.

New Preview Release

Friday, January 13th, 2006

There’s a new preview release (actually two) available in the files section.
preview-20060113 is a snapshot of the latest svn code, while preview-cygwin-20060113 is the snapshot precompiled for cygwin.

This release features:
- ARM7TDMI(-S) support
- ARM720t support
- ARM920t support
- LPC2xxx flash support
- a telnet interface (for low-level debugging tasks)
- a GDB interface
- support for Wiggler-style PC parallel port interfaces
- support for FTDI FT2232C based devices
- support for the Amontec Chameleon’s JTAG Accelerator configuration

Embedded World 2006

Friday, January 13th, 2006

OpenOCD will be presented at the Embedded World 2006 in Nuremberg, during Februrary 14th to 16th. The University of Applied Sciences Augsburg is sharing the booth “Forschung für die Zukunft” (Research for the future) with the TU Dresden. You can find us in hall 11, booth 112.

Stability issue fixed

Wednesday, January 4th, 2006

There was a stability issue where the target would fail to cleanly enter debug state. The reason for this is still unclear, but using a watchpoint unit to break on any instruction fetch instead of the DBGRQ bit solved the problem.
See the SVN history page for a list of changes.

GDB Improvements and a preliminary documentation

Monday, January 2nd, 2006

OpenOCD is at SVN revision 16, containing several improvements on the GDB connection handling and several other fixes. The docs section has a first version of the documentation that will be reworked to reflect the new codebase. Chapters 5 and 6 document the available command line switches and the available configuration and user commands.