EmbDev.net

Forum: ARM programming with GCC/GNU tools ARM Programming In Ubuntu


von Thenappan K. (klsthenappan)


Rate this post
useful
not useful
Hi everyone,

      On my own interest I am doing ARM based projects(primarily 
ARM7TDMI). Right now I am using KEIL IDE in Windows. I need to move to 
Linux based environment. I donot know how to start this. I installed 
Ubuntu Desktop Environment in my Laptop. Please guide me to start on 
this.

Thanks

von MacLyon (Guest)


Rate this post
useful
not useful
Look at this link :
http://www.atmel.com/devices/SAM7X512.aspx?tab=documents
for this document:
"Using Open Source Tools for AT91SAM7 Cross Development" .
This application note provides a guide for using open source tools such 
as Cygwin, GNU/GCC ARM Compiler, Eclipse IDE, Zylin CDT and OpenOCD for 
low-cost development of AT91SAM7 applications, and can be used for any 
other ARM micro (download the *.zip package marked as CD).
MacLyon

von Thenappan K. (klsthenappan)


Rate this post
useful
not useful
Hi,

Thanks for replying. I read the document. It's fine with Windows. The 
same I need to do in UBUNTU. (viz. creating code, compiling, flashing to 
the target- ARM Controller, debugging). Any Suggestions??

Thanks

von MacLyon (Guest)


Rate this post
useful
not useful
Yes, you may follow the same way:
a) a GCC suite - try CodeSourcery Lite for Linux;
b) Install Eclipse (Juno) CDT package;
c) look for OpenOCD for debugging or another debugger server
d) In Eclipse add this plug-in: http://gnuarm.sourceforge.net for 
managed make projects (this means you will not be forced to write 
makefiles since the plugin manage that instead of you).
e) do not install Zylin since almost all is included in CDT, you will 
need to add only a small hardware debugger plugin - I will tell you 
about that tomorrow, since the link is on another computer.
f) another plugin for reading internal registers - also tomorrow.
MacLyon

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.