Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Re: ARM Cross Development with Eclipse Tutorial - components download

2006-03-24 by Bruce Paterson

> http://rapidshare.de/files/15816024/ARM_Cross_Development_with_Eclips
> e_Revision_4_Draft.doc.html
> 
> Please understand that this is a rough draft; I giving a peek 
> because it has information on how to use Dominic Rath's 
> OpenOCD in an Eclipse environment.
> 
> Cheers,
> Jim Lynch

Hi Jim,

Just attempted to get OpenOCD going using the new bits of your tutorial
so thought you might like some feedback.
Any experts on Chameleon with OpenOCD also appreciated (it's not
working....) !

1/ You make no mention of the need to also install the DX22 FTDI
drivers. According to the OpenOCD wiki you can use --disable-"whatever"
with openocd but it isn't clear if this is for configure, making or
running (my guess is configure ?). Anyway I couldn't seem to get around
needing the DLL to use openocd.exe version as specified. Since I didn't
actully have an FTDI to plug into a USB port to kick off the recommeded
Windows Add-New-Hardware procedure, I simply copied the dll file from
the downloaded driver zip to c:\windows. That got rid of that error !

2/ I got errors about not being able to find cygwin1.dll, even though
c:/cygwin/bin is in my path. I've got around this by running from a
cygwin bash shell rather than a DOS prompt. Not sure how I tell Windows
the DLL search paths. Have I missed a step somewhere ?

2/ I added the ioperm -i to run every time I start debugging. Harmless
if already installed. Just one less thing to go wrong/forget. I note
that WinARM uses giveio instead to allow user level access, but that was
an older openocd version.
 
3/ I wrote my chameleon.cfg file for openocd using Dominic's wiki.
Unfortunately, the openocd version compiled for cygwin doesn't seem to
have some of the options given in the wiki. 'daemon startup' isn't
supported, nor the arm7tdmi reset option "run_and_halt". I'll attach the
file below for reference.

4/ Worst of all, I couldn't actually get the thing to work :(  Just got
a JTAG chain error. I tried various JTAG delay settings. Since I'm
attempting the Chameleon Accelerator (I believe I do have my port set to
EPP mode) , I should possibly also backtrack and try very basic wiggler
mode (reprogram the chameleon). I have in the past used this PC with
ocdremote and the Chameleon in Raven mode though, but it was a bit
dodgy. Suggestions welcome !

5/ Just using Insight at this stage. I'll give Eclipse a go when I get
the underlying basics all working. My gdb.ini file has been setup as you
suggest (plus a heap of other stuff, mainly source paths, I had from
before). I'll attach the file below for reference.

6/ In the PC BIOS, there is no option to set the parallel port into EPP
mode only. There is (EPP and SPP) or (EPP and ECP) and I think one
other. Obviously all hysterical. I know you haven't gone into the
Chameleon Pod, but it would be good if there was some sort of guide
about Parallel Ports somewhere (maybe the Chameleon site ?). Could be
useful for plain wiggler people too.


Cheers,
Bruce


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.