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

[ Edited Mon Nov 26 2007, 08:24 PM ]
Tue Nov 27 2007, 12:59 AM
oww.. i never seen or worked on ubuntu..
i just use the normal VIM Editor of Linux to write programs
Tue Nov 27 2007, 06:59 AM
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, 03:18 PM
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, 03:09 AM
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, 07:21 AM
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.
Sat Dec 22 2007, 08:13 AM
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.....


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

Get Social


Powered by e107 Forum System


Wed May 20 2020, 03:59 AM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sun May 03 2020, 01:08 AM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 07:09 PM
Sir kindly send the code file i2c for 8051
Sat Mar 14 2020, 04:06 AM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 06:25 PM
how can get hadwere of this project
Sat Mar 07 2020, 09:41 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 09:28 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 02:42 PM
Pearl Olin
Wed Jan 22 2020, 10:46 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 11:38 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me



Thu May 21 2020, 08:44 AM
Wed May 20 2020, 09:28 PM
Wed May 20 2020, 03:05 PM
Wed May 20 2020, 07:52 AM
Wed May 20 2020, 03:15 AM
Tue May 19 2020, 06:08 PM
Tue May 19 2020, 02:22 PM
Mon May 18 2020, 09:50 PM


Guests: 41, Members: 0 ...

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

Members: 38211
Newest member: Davidthils
Forum Activity
xrxx Avatar
Posted By xrxx
Thu Apr 30 2020, 06:59 AM
BCD MULTIPLICATIONAssume that you have to 2 BCD nu...
liqian Avatar
Posted By liqian
Tue Apr 28 2020, 05:26 AM
I happened to see your post and I got many useful ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 28 2020, 04:21 AM
The code is hard to read.Please zip it and attach ...
rogermado Avatar
Posted By rogermado
Sun Apr 26 2020, 01:53 AM
@ExperimenterUK, thanks for your reply. You'll fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Apr 25 2020, 05:42 PM
Some simulators handle displays better than others...
rogermado Avatar
Posted By rogermado
Sat Apr 25 2020, 03:59 PM
Hello everyone, sorry in advance if i'm not in the...
PHANTOM28 Avatar
Posted By PHANTOM28
Fri Feb 28 2020, 10:25 AM
Hi.I hope you all can help me. I am relatively ne...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Feb 21 2020, 05:05 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Feb 21 2020, 04:45 AM
Yes you can do that.1. Create a channel @Thingspea...
ananyagupta Avatar
Posted By ananyagupta
Thu Feb 20 2020, 03:58 AM
With regards to the particular characters sent to ...