Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Newbie: Help me in getting started!
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
3 replies
Subscribers
127 subscribers
Views
1605 views
Users
0 members are here
Related
Newbie: Help me in getting started!
Offline
Annim Banerjee
over 7 years ago
Note: This was originally posted on 11th December 2012 at http://forums.arm.com
Hello,
This is Annim Banerjee here...
Sorry if i have started a new topic over a wrong place!!!
if yes, then please place this in its correct place...
I am a clean/New to ARM. That means i dont know what all basic requirements are there to get started with ARM!!!
Platform i am having:
i got my development board which has a LPC2138 pre soldered on it.
Few GPIO are out for general purpose tasks...
Also got its programmer too.
I Am having Flash Magic.
What i am not Having: this is where you people can help me....
No awareness of what tools are required for start writing code.
NO LPC21xx.h file found under GNU ARM pre-build tool chain.
What?Where? is all about startup Code *.S ?
Is startup code written manually or genrated automatically.
What all terms / terminology required to know before all?
Is MAIN.C and any startup .S file sufficient for putting a HEX file onto board via programmer?!
Any Freeware IDE for doing development for the same...
A good tutorial, as setp-by-step, or even DIY sort of!
What more...
Also please , if possible direct me to any such place where i fit to go and get all my answers!!! I hope you all might have got the meaning of my words as described above.
Getting no good results over google / internet with my limited keywords!!
and sorry for asking soo much at once!
!
Thank You!!!
Parents
Offline
Gerald Murphy
over 7 years ago
Note: This was originally posted on 11th December 2012 at
http://forums.arm.com
Hello Annim,
I am new to ARM processor software development myself but hopefully I can point you in the right direction to get started.
(1) KEIL.com provide a free evaluation version of their uVision MDK-ARM IDE. I downloaded version 4.60 recently. The evaluation version is limited to 32k code size but this should be enough to get you started.
The LPC2138 is included in the device library. There are plenty of code examples and tutorials included with the free version plus an extensive help documentation. By the way, KEIL is owned by ARM.
(2) KEIL uVision IDE automatically includes the appropriate startup code. When you start a new project in Keil uVision, you are given the option to include a default 'startup.s' file based on the device you select.
(3) The startup code is device specific. The startup code is executed before the main() function is executed. The startup.s file performs initialisation tasks such as defining the stack and heap memory sizes, defining a default interrupt vector table and provides an entry point for code execution (calls main()). This code can be edited to suit your particular requirements. The startup code is also used to copy the initialised RW data from ROM to RAM before program execution and to zero-initialise RAM.
(4) startup.s and main.c is enough to build your application into a binary executable and hex file. I recently developed a simple application to toggle a couple of GPIO pins on a Cortex-M3 based microcontroller.
I only have two files in my project - startup.s and main.c
The KEIL IDE is able to download the binary file to flash memory via external debugger hardware. The built in KEIL flash programming tools use the bin file (rather than the hex file) for programming flash memory.
By the way, KEIL uVision also has a simulation mode that allow you to debug your application without any external hardware.
(5) ARM manuals on the compiler toolchain are available here
http://www.keil.com/support/man_arm.htm
. These manuals should help to answer your questions.
Hope this helps to get you started.
Best regards,
Ger
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Gerald Murphy
over 7 years ago
Note: This was originally posted on 11th December 2012 at
http://forums.arm.com
Hello Annim,
I am new to ARM processor software development myself but hopefully I can point you in the right direction to get started.
(1) KEIL.com provide a free evaluation version of their uVision MDK-ARM IDE. I downloaded version 4.60 recently. The evaluation version is limited to 32k code size but this should be enough to get you started.
The LPC2138 is included in the device library. There are plenty of code examples and tutorials included with the free version plus an extensive help documentation. By the way, KEIL is owned by ARM.
(2) KEIL uVision IDE automatically includes the appropriate startup code. When you start a new project in Keil uVision, you are given the option to include a default 'startup.s' file based on the device you select.
(3) The startup code is device specific. The startup code is executed before the main() function is executed. The startup.s file performs initialisation tasks such as defining the stack and heap memory sizes, defining a default interrupt vector table and provides an entry point for code execution (calls main()). This code can be edited to suit your particular requirements. The startup code is also used to copy the initialised RW data from ROM to RAM before program execution and to zero-initialise RAM.
(4) startup.s and main.c is enough to build your application into a binary executable and hex file. I recently developed a simple application to toggle a couple of GPIO pins on a Cortex-M3 based microcontroller.
I only have two files in my project - startup.s and main.c
The KEIL IDE is able to download the binary file to flash memory via external debugger hardware. The built in KEIL flash programming tools use the bin file (rather than the hex file) for programming flash memory.
By the way, KEIL uVision also has a simulation mode that allow you to debug your application without any external hardware.
(5) ARM manuals on the compiler toolchain are available here
http://www.keil.com/support/man_arm.htm
. These manuals should help to answer your questions.
Hope this helps to get you started.
Best regards,
Ger
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Not Answered
Forum FAQs
0
ARM Community
906
views
0
replies
Started
5 days ago
by
Annie Cracknell
Suggested Answer
How to view SFRs in DS during debugging?
0
320
views
1
reply
Latest
1 day ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
3172
views
2
replies
Latest
14 days ago
by
Ivan Savvateev
Answered
Failure to get an evaluation license with error Unable to execute API call /api/v1/connect
0
4112
views
3
replies
Latest
20 days ago
by
Tim Holt
Suggested Answer
DS52020.0 connection to Musca-A/B boards not working
0
Arm Development Studio
Musca-A
5145
views
4
replies
Latest
22 days ago
by
Daniel Oliveira
>
View all questions in Arm Development Studio forum