Thursday, November 18, 2010

Nov.17 OpenOCD install tries

1. The drivers sometimes revert back to the first driver installed:
see previous Nov. blog entries for driver details
  • Ports(COM&LPT) ecosUsbSerial to libwin32usb/ecos usb driver
    • need a COM port for forte deployment FB download
  • Universial Serial usb controllers/atmel driver reverts to Lego device/firmware update mode
    • need  atmel driver to flash via sam-ba
2. openocd on my laptop
The correct way to install will be documented in a separate blog entry.
Try1: Just copy directory and usb.dll needed to my laptop. Not enough.
Try2: Find out what first praktikat used.
Found link to install .msi file that is no longer actual, but google found: 
Search in this website for OpenOCD Windows installer lead to a current list of installers 

Question:
What is a FTDI type chip which needs libusb?
libftdi is a library that talks to FTDI's FT232/245BM, FT2232C/D, and FT232/245R type chips, including the popular bitbang mode
Answer: See OpenOCD user's guide... FTDI type chip is used in some JTAG doggles, but not in the Segger JLINK.
If understand right then libusb doesn't have to be installed.
However for the Raven it is needed.

So it is not possible to use the version the first praktikat used.
openocd  -v says Alex used 0.3.0-in-development version.
A website with a list of openocd Windows installers says 0.3.1 has important fixes
so...
Try3: install openocd 0.3.1 using an .msi installer found online
Installed with no problem from zip.
All files needed are in the zip.

No comments:

Post a Comment