Hi - I was wondering if anybody could help me out with compiling code for an Atmel AT91SAM7X with GNU ARM? First off - do I have to make my own include file? Or can I download that somewhere? Also - what command would I use to compile code with it? I'm much more used to WinAVR where I can just tell it to compile and it takes care of all the command line parameters for me... Also - how do I tell it to load code into the RAM and execute it from there, instead of just running off of the flash? Thanks for your help! -Michael J. Noone
how to compile code with GNU ARM for a Atmel AT91SAM7X?
Started by ●September 4, 2005
Reply by ●September 4, 20052005-09-04
"Michael J. Noone" <nleahcim@gmail.com> wrote in message news:1125807819.955739.244830@o13g2000cwo.googlegroups.com...> Hi - I was wondering if anybody could help me out with compiling code > for an Atmel AT91SAM7X with GNU ARM? First off - do I have to make my > own include file? Or can I download that somewhere? Also - what command > would I use to compile code with it? I'm much more used to WinAVR where > I can just tell it to compile and it takes care of all the command line > parameters for me... Also - how do I tell it to load code into the RAM > and execute it from there, instead of just running off of the flash? > > Thanks for your help! > > -Michael J. NooneHave you read the eclipse and gnu arm tutorial ? http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse.pdf http://www.sparkfun.com/tutorial/ARM/sample_programs.zip http://www.newmicros.com/download/appnotes/ARM/TiniARM_Dev_Eclipse.pdf They are for the Philips lpc2xxx arm7 chips but take you through setting up and using gccarm with eclipse ide. Also read up on how to use make files. There is also a yahoo group http://groups.yahoo.com/group/AT91SAM7/ also gnuarm group http://groups.yahoo.com/group/gnuarm/ http://www.olimex.com/dev/lpcprojects.html Alex
Reply by ●September 4, 20052005-09-04
Alex Gibson wrote:> Have you read the eclipse and gnu arm tutorial ? > > http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse.pdf > http://www.sparkfun.com/tutorial/ARM/sample_programs.zip > > http://www.newmicros.com/download/appnotes/ARM/TiniARM_Dev_Eclipse.pdfNo, I hadn't seen these.> They are for the Philips lpc2xxx arm7 chips but take you through setting up > and using gccarm with eclipse ide.what parts of the tutorial won't apply to using an AT91SAM7X? I'm assuming the Philips programming utility. But what about the Macraigor OCDremote Utility? Also, where can I find a header file for an AT91SAM7X? And what programmer would work for an AT91SAM7X? I think I'm going to get some sort of JTAG cable.> Also read up on how to use make files. > > There is also a yahoo group > http://groups.yahoo.com/group/AT91SAM7/ > > also gnuarm group > http://groups.yahoo.com/group/gnuarm/ > > http://www.olimex.com/dev/lpcprojects.html > > AlexThanks, -Michael
Reply by ●September 4, 20052005-09-04
Oops - forgot to ask, is the INSIGHT Graphical Debugger compatible with the Atmel chip, or is it Philips only? Best regards, -Michael Alex Gibson wrote:> "Michael J. Noone" <nleahcim@gmail.com> wrote in message > news:1125807819.955739.244830@o13g2000cwo.googlegroups.com... > > Hi - I was wondering if anybody could help me out with compiling code > > for an Atmel AT91SAM7X with GNU ARM? First off - do I have to make my > > own include file? Or can I download that somewhere? Also - what command > > would I use to compile code with it? I'm much more used to WinAVR where > > I can just tell it to compile and it takes care of all the command line > > parameters for me... Also - how do I tell it to load code into the RAM > > and execute it from there, instead of just running off of the flash? > > > > Thanks for your help! > > > > -Michael J. Noone > > > Have you read the eclipse and gnu arm tutorial ? > > http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse.pdf > http://www.sparkfun.com/tutorial/ARM/sample_programs.zip > > http://www.newmicros.com/download/appnotes/ARM/TiniARM_Dev_Eclipse.pdf > > They are for the Philips lpc2xxx arm7 chips but take you through setting up > and using gccarm with eclipse ide. > > Also read up on how to use make files. > > There is also a yahoo group > http://groups.yahoo.com/group/AT91SAM7/ > > also gnuarm group > http://groups.yahoo.com/group/gnuarm/ > > http://www.olimex.com/dev/lpcprojects.html > > Alex
Reply by ●September 4, 20052005-09-04