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.
Archive for January, 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.
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).
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.
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
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.
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.