free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Rickey's World :: Discussion Forums :: Discuss and Learn :: ARM Development
 
<< Previous thread | Next thread >>
arm development board and sample code
Go to page   <<        >>  
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
Ajay Bhargav
Thu Nov 22 2007, 03:57AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 7567
Thanked 1331 times in 1255 posts
i have no idea how to open a video file in C... all i know is gcc is used to compile a C program in Linux
I will try if i can find documents for you regarding Linux C programming.



www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top

milky
Fri Nov 23 2007, 09:53PM
 User Offline
Registered Member #4607
Joined: Tue Oct 30 2007, 08:14PM

Posts: 21
Thanked 0 times in 0 posts
ok.thanks alots.
Back to top

Ajay Bhargav
Sat Nov 24 2007, 10:10AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 7567
Thanked 1331 times in 1255 posts
are you using MAKEFILE utility? or something else to compile?

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top

milky
Mon Nov 26 2007, 05:23PM
 User Offline
Registered Member #4607
Joined: Tue Oct 30 2007, 08:14PM

Posts: 21
Thanked 0 times in 0 posts
No~i write my program using ubuntu.Then i use gcc to compile it.

[ Edited Mon Nov 26 2007, 05:24PM ]
Back to top

Ajay Bhargav
Mon Nov 26 2007, 09:59PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 7567
Thanked 1331 times in 1255 posts
oww.. i never seen or worked on ubuntu..
i just use the normal VIM Editor of Linux to write programs

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top

milky
Tue Nov 27 2007, 03:59AM
 User Offline
Registered Member #4607
Joined: Tue Oct 30 2007, 08:14PM

Posts: 21
Thanked 0 times in 0 posts
but now is not using what to compile the code.Now the only problem i'm facing is on the C programming to open a video file. U said that u use normal VIM editor,ok,can u show me the code?example or watever.thanks. Do u find any related C programming reference?
Back to top

Junied
Wed Nov 28 2007, 12:18PM

 User Offline
Registered Member #44
Joined: Wed Aug 02 2006, 12:37PM

Posts: 101
Thanked 18 times in 13 posts
The method discussed are quite different from the conventional
Milky u told that Linux is installend on ur SBC isnt it
so firstly u require a work space,which will consist of the following
compilers like gcc ,arm-linux-gcc,arm-elf-gcc,the other are the kind of cross compilers,now i would like to know the detaild method of urs so that
i can tell smt about it other wise a single line does not say much about what u r doing!!!I hope u got my point

Look towards the rising sun
Back to top

Ajay Bhargav
Thu Nov 29 2007, 12:09AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 7567
Thanked 1331 times in 1255 posts
people.. why don't you create a new topic? because this is going out of way as per the topic title is concerned.
Milky please create another topic so we can have a healthy discussion

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top

vinay1277
Sat Dec 22 2007, 04:21AM
 User Offline
Registered Member #5187
Joined: Thu Dec 20 2007, 05:21AM

Posts: 23
Thanked 0 times in 0 posts
Till now i was working on 8051 platform and i was using basic based BASCOM compiler . My MCU was P89C51RD2BN . I have made many products using this combination and these are working well in the field since many years of installation proving ruggedness of product and software testing .
Now with increased feature rich requirement and cost constraints i believe its now right time to switch to ARM as no of years for 8051 seems to be limited down the lane .
This conclusion is based on technocommercial comparison of two platforms i.e. 8051 and ARM.
Now since i am new to ARM as well as C i believe forum like this will prove to be a great platform for cooperative learning .
Here everybody has something to learn from everybody else and something useful to offer to others .
For this thread if we limit to learning ARM in general and avoid long discussion on any topic of personal interest to somebody particular will be useful.
As far as i am conerned to understand ARM and C i have bought evaluation board from SPJ pune . This is based on LPC2148. They have forwarded a DEMO software/compiler based on C for testing this board .
From my experience and convenience i wish to compare these two platforms in terms of known parametrs and learn to control these in due course of time .
These parameters being :-
1.I/O ports I/O pins in particular
2.LCD output
3. SPI ,I2C to use external EEPROM/RTC etc
4.Serial communication
I believe if hardware comparison of these parameters are imporatnt to learn .
I have everything ready in my SETUP to test these things .
I invite you people to join me in helping me learn these things .
I will dedicate one day each for learning above four parameters and testing software on eveluation board . I will share my experince and discuss problems on the forum . If it suits and you people feel right then please let me know . Any criticism is highly soilicited .
Happy learning.
Vinay
Back to top

shyam
Sat Dec 22 2007, 05:13AM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 847
Thanked 136 times in 125 posts
hi vinay...
this was exactly the aim while starting the thread....
well time has really taken it thru unknown spaces n corners but thnks fr reminding abt the actual cause....



SPJ pune do manufacture good boards....
but as far as coding is concerned the compiler SCARM has a code compression same as arm-elf-gcc so wud be better if u go for GNUARM/WINARM etc...... thus u will have a full compiler n u wont require any license/dongle for it.. u can always referr SPJ sample codes for starter...



lets discuss 1. IOs today....

the foremost difference is the pin direction register IODIR
in 51RD2.. u do not need to set directions for IO pins here in LPC u need to declare which pin is used as input and which as output.

in LPC one IO pin can serve four different functions so u need to select them before using them... use PINSEL

to set a io ie. make a pin high use IOSET it is a 32 bit register since our ports r also of 32 bit each bit corresponds to one pin. so place a 1 at the pin location u want a high.

to set a io ie. make a pin low use IOCLR it is a 32 bit register since our ports r also of 32 bit each bit corresponds to one pin. so place a 1 at the pin location u want a LOW.

hehe u need to diiferent registers one to set another to clear dont mix them
remember 0 in IOSET means no effect similarly 0 in IOCLR means nothing...

so in general to use a IO u need 4 32 bit registers.....

PINSEL
IODIR
IOSET
IOCLR.....

that was frm me.... waiting for inputs..... :bye



lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top

Go to page   <<        >>   

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems