Discussion in "ARM Development" started by    shyam    Sep 21, 2007.
Thu Nov 22 2007, 11:57 AM
#81
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.
Sat Nov 24 2007, 05:53 AM
#82
ok.thanks alots.
Sat Nov 24 2007, 06:10 PM
#83
are you using MAKEFILE utility? or something else to compile?
Tue Nov 27 2007, 01:23 AM
#84
No~i write my program using ubuntu.Then i use gcc to compile it.


[ Edited Tue Nov 27 2007, 01:24 AM ]
Tue Nov 27 2007, 05:59 AM
#85
oww.. i never seen or worked on ubuntu..
i just use the normal VIM Editor of Linux to write programs
Tue Nov 27 2007, 11:59 AM
#86
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?
Wed Nov 28 2007, 08:18 PM
#87
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
Thu Nov 29 2007, 08:09 AM
#88
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
Sat Dec 22 2007, 12:21 PM
#89
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
Sat Dec 22 2007, 01:13 PM
#90
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

Get Social

Information

Powered by e107 Forum System

Conversation

Tue May 04 2021, 08:34 PM
Chastity
Hi there! I could have sworn I've been to this site before but after browsing through some of the post I realized it's new to me. Anyways, I'm definitely glad I found it and I'll be book-marking and checking back frequently! check my score https://creditscorecheckn.com
Tue May 04 2021, 06:39 PM
Clarence
What's up everyone, it's my first go to see at this web page, and post is really fruitful in support of me, keep up posting these types of articles. Best Credit Score https://creditscoresids.com
Tue May 04 2021, 01:13 PM
Jerold
What's up to all, the contents present at this site are really remarkable for people knowledge, well, keep up the good work fellows. karma credit score https://getcreditscoreww.com
Tue May 04 2021, 09:49 AM
Shonda
I like the helpful info you provide in your articles. I will bookmark your blog and check again here frequently. I am quite certain I'll learn many new stuff right here! Good luck for the next! check credit report https://creditreportuss.com
Tue May 04 2021, 06:28 AM
Lucia
I am not sure where you are getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for wonderful information I was looking for this info for my mission. monthly credit report https://checkcreditscore24.com

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 49, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123