EmbeddedRelated.com
Forums
Memfault Beyond the Launch

ARM Cross Development with Eclipse Tutorial - components download

Started by lynchzilla March 17, 2006
I prefer the client at utorrent.com, as it's tiny and not a memory hog
-
though it's bittorrent only.

On 3/21/06, Eric Engler <englere.geo@engl...>
wrote:
>
>  --- In lpc2000@lpc2..., "Bryce Schober"
<bryce.schober@...>
> wrote:
> >
> > arghhh... has no one heard of bittorrent
<http://bittorrent.com>?
>
> Hmmm..isn't that the way to get sued by RIAA? I also understand
> Homeland Security will come after you, and you'll get a free stay at
> Club Gitmo.
>
> Also, this being tax season in the US, it's interesting to note the
> biggest problem with open source software: the government doesn't get
> any money when you use it!
>
> On a more serious note, I like ShareAsa from SourceForge as a decent
> client for P2P protocols: no spyware/adware/etc.
>
>
>
>
>
>  SPONSORED LINKS
>  
Microcontrollers<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=mfaAujKZXA2Z_vxre9sGnQ>
>
Microprocessor<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=9jjd2D3GOLIESVQssLmLsA>
 Intel
>
microprocessors<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=OMnZuqMZX95mgutt4B-tDw>
  Pic
>
microcontrollers<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=Malspbd0T4Rq3M4Q0nHrfw>
>  ------------------------------
> >.
>
>
>  ------------------------------
>
	--
Bryce Schober
	
	

An Engineer's Guide to the LPC2100 Series

>
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
	
	
Apologies, I included the wrong gdp.ini file. Correct one attached (the
other was for ocdremote).
Also, I did try the chameleon in wiggler mode (old_amt_wiggler) and did
get it to 'somewhat' work, but it hasn't behaved predictably.

>
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
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>
	
	
Hi Bruce.

I purchased a Chameleon pod last year and had trouble getting it to 
work even with Macraigor's OCDRemote. Maybe between the two of us, we 
can get it to operate with OpenOCD.

The advance peek at the tutorial specifically targets the Olimex ARM-
JTAG wiggler clone and it does work well with Dominic Rath's OpenOCD.

I'm off to Florida tomorrow for a week's vacation. When I get back, 
I'd like to get the OpenOCD working with the Olimex ARM-JTAG, The 
Chameleon Pod and the DLP-2232 JTAG as outlined in the Rath thesis. I 
understand that Amontec is manufacturing an implementation of that 
design.

Cheers,
Jim Lynch
	
> Hi Bruce.
> 
> I purchased a Chameleon pod last year and had trouble getting 
> it to work even with Macraigor's OCDRemote. Maybe between the 
> two of us, we can get it to operate with OpenOCD.

Actually I've just found a pdf on the Amontec website (amt_ann005.pdf)
that references other application notes on various PC Parallel Port
configurations. I'd originally gone in via the openocd link which
didn't
take me to that document. Looks like one of my requests is in fact
already there :)
I'll see if that ends up helping me....   Apologies to Amontec.

Cheers,
Bruce

lynchzilla wrote: > I have been diligently trying to improve the tutorial "ARM Cross > Development with Eclipse" for the last year, but there are times where > it seems like I'm shooting at a moving target. > I collected all the downloads (minus the cygwin stuff) into a single zip > file and placed it on the www.megaupload.com > web site. This collection represents > versions of Eclipse, the Zylin plug-ins, JAVA, GNUARM, etc. that work > together harmoniously. This is a 198 mb file and takes about a hour to > download on a high-speed internet connection. > > Hope this helps. > > Jim Lynch Jim , I'm happy to host copies of the files as have a large account with lots of spare space. Just host one society from uni and a few bits and pieces of my own. www.alexthegeek.com www.saladbowluts.org Site is hosted on dreamhost.com , I'd be happy to provide approx 500GB bandwidth a month as I won't get any where near this. Contact me off list (alxx at alxx dot net) , so can set it up so you can update the sub domain I've set up, yourself. I also started ages back trying to modify your tutorial for use with OS X but didn't get to far. Alex Gibson ps. Don't email me asking me to host your own files etc, I am only doing this for Jim's great tutorials. Yahoo! Groups Links
lynchzilla wrote:
> I have been diligently trying to improve the tutorial "ARM Cross
> Development with Eclipse" for the last year, but there are times where
> it seems like I'm shooting at a moving target.
> 
> 
> I collected all the downloads (minus the cygwin stuff) into a single zip
> file and placed it on the www.megaupload.com
> <http://www.megaupload.com/>  web site. This collection represents
> versions of Eclipse, the Zylin plug-ins, JAVA, GNUARM, etc. that work
> together harmoniously. This is a 198 mb file and takes about a hour to
> download on a high-speed internet connection.
> 
>
> 
> Hope this helps.
> 
> Jim Lynch
	Jim , I'm happy to host copies of the files
as have a large account with lots of spare space.

Just host one society from uni and a few bits and pieces of my own.
www.alexthegeek.com
www.saladbowluts.org

Site is hosted on dreamhost.com , I'd be happy to provide approx 500GB 
bandwidth a month as I won't get any where near this.

Contact me off list (alxx  at alxx  dot net) , so can set it up
so you can update the sub domain I've set up, yourself.
	I also started ages back trying to modify your tutorial for use with OS 
X but didn't get to far.
	Alex Gibson

ps. Don't email me asking me to host your own files etc, I am only doing 
this for Jim's great tutorials.

Same here Jim. If you need download space I can set you up with some space on one of my domain or host a new domain of choice. Just contact me of list and we can fix that. Cheers /Ake Alex Gibson wrote: > > lynchzilla wrote: > > I have been diligently trying to improve the tutorial "ARM Cross > > Development with Eclipse" for the last year, but there are times where > > it seems like I'm shooting at a moving target. > > > > > > I collected all the downloads (minus the cygwin stuff) into a single zip > > file and placed it on the www.megaupload.com > > web site. This collection represents > > versions of Eclipse, the Zylin plug-ins, JAVA, GNUARM, etc. that work > > together harmoniously. This is a 198 mb file and takes about a hour to > > download on a high-speed internet connection. > > > > > > > > Hope this helps. > > > > Jim Lynch > Jim , I'm happy to host copies of the files > as have a large account with lots of spare space. > > Just host one society from uni and a few bits and pieces of my own. > www.alexthegeek.com > www.saladbowluts.org > > Site is hosted on dreamhost.com , I'd be happy to provide approx 500GB > bandwidth a month as I won't get any where near this. > > Contact me off list (alxx at alxx dot net) , so can set it up > so you can update the sub domain I've set up, yourself. > I also started ages back trying to modify your tutorial for use with OS > X but didn't get to far. > Alex Gibson > > ps. Don't email me asking me to host your own files etc, I am only doing > this for Jim's great tutorials. > SPONSORED LINKS > Microcontrollers > > Microprocessor > > Intel microprocessors > Pic microcontrollers > > YAHOO! GROUPS LINKS > > > > -- --- Ake Hedman (YAP - Yet Another Programmer) eurosource, Brattbergavagen 17, 820 50 LOS, Sweden Phone: (46) 657 413430 Cellular: (46) 73 0533 146 Company home: http://www.eurosource.se Kryddor/Te/Kaffe: http://www.brattberg.com Personal homepage: http://www.eurosource.se/akhe Automated home: http://www.vscp.org Yahoo! Groups Links
Same here Jim. If you need download space I can set you up with some 
space on one of my domain or host a new domain of choice. Just contact 
me of list and we can fix that.

Cheers
/Ake
	Alex Gibson wrote:
> 
> lynchzilla wrote:
>  > I have been diligently trying to improve the tutorial "ARM Cross
>  > Development with Eclipse" for the last year, but there are times
where
>  > it seems like I'm shooting at a moving target.
>  >
>  >
>  > I collected all the downloads (minus the cygwin stuff) into a single
zip
>  > file and placed it on the www.megaupload.com
>  > <http://www.megaupload.com/>  web site. This collection
represents
>  > versions of Eclipse, the Zylin plug-ins, JAVA, GNUARM, etc. that work
>  > together harmoniously. This is a 198 mb file and takes about a hour
to
>  > download on a high-speed internet connection.
>  >
>  >
>  >
>  > Hope this helps.
>  >
>  > Jim Lynch
> 
> 
> Jim , I'm happy to host copies of the files
> as have a large account with lots of spare space.
> 
> Just host one society from uni and a few bits and pieces of my own.
> www.alexthegeek.com
> www.saladbowluts.org
> 
> Site is hosted on dreamhost.com , I'd be happy to provide approx 500GB
> bandwidth a month as I won't get any where near this.
> 
> Contact me off list (alxx  at alxx  dot net) , so can set it up
> so you can update the sub domain I've set up, yourself.
> 
> 
> I also started ages back trying to modify your tutorial for use with OS
> X but didn't get to far.
> 
> 
> Alex Gibson
> 
> ps. Don't email me asking me to host your own files etc, I am only
doing
> this for Jim's great tutorials.
> 
> 
> SPONSORED LINKS
> Microcontrollers 
>
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=mfaAujKZXA2Z_vxre9sGnQ>

> 	Microprocessor 
>
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=9jjd2D3GOLIESVQssLmLsA>

> 	Intel microprocessors 
>
<http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=OMnZuqMZX95mgutt4B-tDw>

> 
> Pic microcontrollers 
>
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=Malspbd0T4Rq3M4Q0nHrfw>

> 
> 
> 
> 
> >. 
> 
> 
> 
>
	-- 
  ---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavagen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 0533 146
Company home: http://www.eurosource.se
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org
	
Hello Bruce, On Friday 24 March 2006 01:32, Bruce Paterson wrote: > 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 ! > I supposed you've downloaded the preview-cygwin-ftd2xx-20060213 release. This one has been prebuilt for use with the FT2232. If you don't have such a device, you should have used preview-cygwin-20060213. Please note that these versions are rather outdated, and many things have been fixed since mid-february. It's probably best to get the current sources from svn: svn checkout http://svn.berlios.de/svnroot/repos/openocd/ or use the graphical svn client of your choice. In current versions, the ./configure options have been changed to opt-in, i.e. you have to --enable-XXX the interfaces you want. Build instructions and usage notes are available at the OpenFacts Wiki: http://openfacts.berlios.de/index-en.phtml?title=Open_On-Chip_Debugger Let me know if you're missing something, or if something is unclear. > 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 ? > Haven't experienced this problem yet, but then I rarely test on Windows. Maybe someone else is more knowledgeable as far as Cygwin is concerned. > 2/ I added the ioperm -i to run everytime 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. > I'm considering adding GiveIO to the OpenOCD, together with changes that allow OpenOCD to be built for native-windows, i.e. without Cygwin. I'm still undecided whether that's worth the trouble of additional code and build management complexity. > 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. > The "chameleon.cfg" included in doc/configs/ is for configuring the chameleon (OpenOCD can be used to program the .amtsvf files), not for use of the chameleon with an ARM target. Use one of the config files matching your target (like arm7_wig.cfg), and modify the JTAG configuration to match your interface. For use with an Chameleon in its JTAGAccelerator configuration, use the following lines: interface amt_jtagaccel parport_port 0x378 (or whatever your parport is configured to use) The parport_cable line isn't necessary for the JTAGAccelerator (but shouldn't do any harm either). > 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 ! > A JTAG chain error (Error validating JTAG scan chain, IR mismatch) suggests that you're using a wrong configuration file (see above). The OpenOCD verifies that the connected devices match the description of the jtag_device entries from the config files. > 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. > In your case, use EPP and SPP. The one thing you shouldn't use is ECP, as it's often not possible to switch to EPP from ECP (and OpenOCD doesn't attempt to do that switch, either ;)) > > Cheers, > Bruce Kind regards, Dominic Yahoo! Groups Links

Memfault Beyond the Launch