shyam
Sep 21 2007, 9:48 AM
hi guys ,
welcome to arm -7TDMI
i shall be posting relevant documents one at a time
to start with let us make a lpc2138 board
1190393307_2984_FT0_lpc2138.zip
welcome to arm -7TDMI
i shall be posting relevant documents one at a time
to start with let us make a lpc2138 board
1190393307_2984_FT0_lpc2138.zipAjay
Sep 21 2007, 9:54 AM
Well I think i must start ARM Discussion forum too
what you say?
Edit:
Hey the circuit is not very clear.. you must take a full size print of the circuit when printing pdf.
Check the size of the schematic sheet and edit the print paper size.. so we can get a clear image.
Also it looks like your PC clock is working little ahead of us
so.. please update your clock and signature is giving verification error.. It has opened in my PC but maybe for normal user it wont open. 
what you say?
Edit:
Hey the circuit is not very clear.. you must take a full size print of the circuit when printing pdf.
Check the size of the schematic sheet and edit the print paper size.. so we can get a clear image.
Also it looks like your PC clock is working little ahead of us
so.. please update your clock and signature is giving verification error.. It has opened in my PC but maybe for normal user it wont open. 
shyam
Sep 21 2007, 9:59 AM
why not??
that is a good idea
now once u have got the board ready download a compiler(gnu open source) from
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/WinARM-20060606.zip
that is a good idea
now once u have got the board ready download a compiler(gnu open source) from
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/WinARM-20060606.zip
Ajay
Sep 21 2007, 10:04 AM
There is another tool for ARM which i like a lot
its CrossWorks for ARM from Rowley Associates. They provide 30-days evaluation version..
But i think WINARM will solve the purpose
its CrossWorks for ARM from Rowley Associates. They provide 30-days evaluation version..
But i think WINARM will solve the purpose

shyam
Sep 21 2007, 10:08 AM
well this is the actual gif
hope it opens up well
[Edited by Ajay]
hope it opens up well
[Edited by Ajay]
shyam
Sep 21 2007, 10:14 AM
yeah
i have tried different tools
but winarm is the best
one of the advantage is that you can use the codes directly on linux
and the other is the ease with which you can add rtos code to it
i have tried different tools
but winarm is the best
one of the advantage is that you can use the codes directly on linux
and the other is the ease with which you can add rtos code to it
shyam
Sep 21 2007, 10:16 AM
oops the gif is bigger than i thought 

shyam
Sep 21 2007, 10:18 AM
thanks for editing ajay 

Ajay
Sep 21 2007, 10:18 AM
wow.. nice..
I never used an RTOS. I always think why or how to decide when to need an RTOS
when ever i think i might use an RTOS.. i find a better or simple way to do that thing.
I edited your post.. so image comes fine now.. i am not sure.. but resizing is not working hmmm.. have to work on it..
Please try to use www.imageshack.us to upload your images..
Get the direct link from there.. and simply put that image link in [img] tags
I never used an RTOS. I always think why or how to decide when to need an RTOS
when ever i think i might use an RTOS.. i find a better or simple way to do that thing.
I edited your post.. so image comes fine now.. i am not sure.. but resizing is not working hmmm.. have to work on it..
Please try to use www.imageshack.us to upload your images..
Get the direct link from there.. and simply put that image link in [img] tags

Ajay
Sep 21 2007, 10:20 AM
hey can you post the availability of the ICs used in the schematic above in our "Component Availability" forum?
Give contact number or shop name etc.. if possible with cost
Give contact number or shop name etc.. if possible with cost

shyam
Sep 21 2007, 10:21 AM
the only problem is lpc do not come in dip packages
so we have to go for smd soldering of the ic
so we have to go for smd soldering of the ic

Ajay
Sep 21 2007, 10:23 AM
that is not a problem for me
i soldered many ICs SMD. I have a good soldering station too
I tried the NXP website but samples are not available anymore
and i don't know where to get ARM from 
i soldered many ICs SMD. I have a good soldering station too
I tried the NXP website but samples are not available anymore
and i don't know where to get ARM from 
shyam
Sep 21 2007, 10:26 AM
now installing winArm===>
extract winarm in c drive or copy extracted winarm in c:
right click mycomputer=>properties=>advanced=>environment variables=>Path(doubleclick)
add ;C:\WinARM\bin;C:\WinARM\arm-elf\bin;C:\WinARM\utils\bin;C:\WinARM\pn;
do not forget the semicolons to seperate the directories
extract winarm in c drive or copy extracted winarm in c:
right click mycomputer=>properties=>advanced=>environment variables=>Path(doubleclick)
add ;C:\WinARM\bin;C:\WinARM\arm-elf\bin;C:\WinARM\utils\bin;C:\WinARM\pn;
do not forget the semicolons to seperate the directories
shyam
Sep 21 2007, 10:28 AM
it is available aplenty from nxp mumbai
and even in pune,
hope u can come up some time....
and even in pune,
hope u can come up some time....

Ajay
Sep 21 2007, 10:31 AM
hmm.. i cannot lol!
Hey i forgot to tell you the best tool i used!!!!!!
its Cygwin have you heard of it?
its linux simulation tool on windows. So you can program like you do in linux. i actually used it when working on PowerPC. it can be used for ARM too. As you know linux can be used to compile for 16 different kind of targets so.. we can make use of cygwin to directly generate the output file..
Hey i forgot to tell you the best tool i used!!!!!!
its Cygwin have you heard of it?
its linux simulation tool on windows. So you can program like you do in linux. i actually used it when working on PowerPC. it can be used for ARM too. As you know linux can be used to compile for 16 different kind of targets so.. we can make use of cygwin to directly generate the output file..

abbas1707
Sep 21 2007, 10:32 AM
are u going to discuss ARM from basics or wat? 

Ajay
Sep 21 2007, 10:34 AM
of course from basics... we are all going to learn
the basic thing we always need is.. Development board, IDE etc.. only after that you can start doing something
isn't it? 
the basic thing we always need is.. Development board, IDE etc.. only after that you can start doing something
isn't it? 
shyam
Sep 21 2007, 10:36 AM
yes abbas
we shall discuss arm from basic.
but the discussion has not yet started
we shall discuss arm from basic.
but the discussion has not yet started

Ajay
Sep 21 2007, 10:38 AM
yeah this is just an initial spark of the discussion and i think everyone want to learn 

shyam
Sep 21 2007, 10:40 AM
yes we can use cygwin no doubt...
i have used cygwin in the past..
works fine
but i had problem in the Interrupt sections...
and trust me winarm is almost the same as using cygwin only thing is that here u have a make file instead of a batch file
and i can say repeatedly winArm has been the best for me for over a year now
i have used cygwin in the past..
works fine
but i had problem in the Interrupt sections...
and trust me winarm is almost the same as using cygwin only thing is that here u have a make file instead of a batch file
and i can say repeatedly winArm has been the best for me for over a year now
shyam
Sep 21 2007, 10:44 AM
well ajay then you must trust me and send me a cheque or something i will send u the chip by post
watsay??
watsay??
Ajay
Sep 21 2007, 10:44 AM
well i used makefile in cygwin.. never used a batch.. or anything like that.. I am not sure how you worked on cygwin
i have used MAKEFILE along with the linker script. didn't get any problem though!
i have used MAKEFILE along with the linker script. didn't get any problem though!

shyam
Sep 21 2007, 10:46 AM
well thats great then you will find winarm similar enough to work on..
i dont know (may be i dont want much experimentation
)why i am insisting on winarm but that is what it is
i dont know (may be i dont want much experimentation
)why i am insisting on winarm but that is what it isshyam
Sep 21 2007, 10:49 AM
well guys,
if you want to work on cygwin download the package from
http://www.gnuarm.com/
they also have precompiled binary for linux and MacOs
if you want to work on cygwin download the package from
http://www.gnuarm.com/
they also have precompiled binary for linux and MacOs
Ajay
Sep 21 2007, 10:51 AM
hey i have topic opened in component availability can you please see it?
eagerly want to know the cost..
eagerly want to know the cost..shyam
Sep 21 2007, 10:57 AM
i have already posted
Ajay
Sep 21 2007, 12:02 PM
please post the PCB if you have 

shyam
Sep 21 2007, 12:10 PM
i can make one for rickeys world only if our users use orcad for designing..
sorry iam not much into hardware so this is the only tool i use
sorry iam not much into hardware so this is the only tool i use
shyam
Sep 22 2007, 9:06 AM
hi check the phoro of the actual proccessor board


Ajay
Sep 22 2007, 9:11 AM
oww.. its really nice
really really nice 
really really nice 
shyam
Sep 22 2007, 9:14 AM
i have made a design(for rickeys world) using orcad.
i'll post it soon
i'll post it soonAjay
Sep 22 2007, 10:18 AM
Thank you Shyam
looking forward for it 
looking forward for it 
shyam
Sep 22 2007, 10:40 AM
Ajay
Sep 23 2007, 12:08 AM
the schematic is not clear i can't see a thing.. can you put the orcad files i will take the print.. and post it..
and orcad files are better..
and orcad files are better..shyam
Sep 23 2007, 7:51 AM
hi ajay,
i am not able to attatch the orcad files they are way to big .....
this is last try or i 'll send the files thru broad band
1190559082_2984_FT2416_schematic1___arm.pdf
i am not able to attatch the orcad files they are way to big .....
this is last try or i 'll send the files thru broad band
1190559082_2984_FT2416_schematic1___arm.pdfAjay
Sep 23 2007, 11:53 AM
wooww!! really nice
i wish i could get PCB for this
lol!
The first one looked really simple.. i think that one was a modular design and i prefer the modular one.... but this one is good too
i wish i could get PCB for this
lol!The first one looked really simple.. i think that one was a modular design and i prefer the modular one.... but this one is good too

shyam
Sep 23 2007, 11:30 PM
what to do next ???
now we have got the schematic ....
should we wait for our members to get the board done....
or should we head to the tutorial
??
now we have got the schematic ....
should we wait for our members to get the board done....
or should we head to the tutorial
??zaffi
Sep 24 2007, 6:50 AM
thanks for the useful infomation given.but sorry to say what the circuit would actually do or what purpose it is survingcan u please rely my question to my email sritam2@gmail.com
abhishek_h
Sep 24 2007, 7:45 AM
The schematic is quite useless without a PCB, considering the processor being SMD, cant even be tested on a bread board. So i would suggest that if any1 of you is really interested in making it, give the schematic to a PCB manufacturer, get a design made, and post it for others.
Ajay
Sep 24 2007, 8:47 AM
well making a PCB is not that simple.. you have to take care of many things
and i had talk with shyam personally, he told me that he is busy in other company work, but he will surely post it when he get time. Although i really appreciate his contribution and taking time out of his busy schedule to help us all here.
And.. @Shyam, yes we can proceed to the tutorial part, little introduction on the ARM architecture and then as we go on programming we will learn step by step regarding the registers which are there in ARM.
I recommend everyone to download ARM datasheets and instruction set (very much similar to that of AVR, but its much better) and take a look at the instructions. And we can start working on ARM
Don't be scared of ARM, take it as a normal controller
and i had talk with shyam personally, he told me that he is busy in other company work, but he will surely post it when he get time. Although i really appreciate his contribution and taking time out of his busy schedule to help us all here.And.. @Shyam, yes we can proceed to the tutorial part, little introduction on the ARM architecture and then as we go on programming we will learn step by step regarding the registers which are there in ARM.
I recommend everyone to download ARM datasheets and instruction set (very much similar to that of AVR, but its much better) and take a look at the instructions. And we can start working on ARM
Don't be scared of ARM, take it as a normal controller

shyam
Sep 24 2007, 9:28 AM
Don't be scared of ARM, take it as a normal controller
yes ajay that is the best thing about arm.....
a little intro....
u will find arm proccessor in
1) your PC pentium is based on ARM
2) most mobile/gsm modems
3)PDA's
etc....
so you must know that ARM is just a proccessor core....
it is neither a proccessor nor a cotroller.....
it is u can say.... an idea .....
u see.. pentium is an ARM based proccessor
LPC21xx are ARM based controllers....
thus if u have an idea of working on any controller (8051/AVR/PIC etc).. it will do......plus if u have an idea of working on proccessors... (8085/8086/x86)...it will be an added advantage...
but if u are a basic level programmer assume (8051)..
do not worry.....
if u follow my aproach, u'll find ARM easier than 8051
believe me

shyam
Sep 24 2007, 9:42 AM
here are the orcad file it is kinda incomplete ......
hope some body would get the thing done and post it back
1190652172_2984_FT2416_newschematic.zip
hope some body would get the thing done and post it back
1190652172_2984_FT2416_newschematic.zipshyam
Sep 24 2007, 10:16 AM
now lets get started with the tutorials.....
a little googling can get u the pdf...ebook..
lpc-arm-book_srn.pdf
also look for..
user.manual.lpc2131.lpc2132.lpc2134.lpc2136.lpc2138.pdf
u can get it frm
www.nxp.com
the above two books are more than enough for starters.....
i still use them in almost all my developments......
if u cant find them .... i'll some day post them but they are way to big to be posted....
so better download them urself frm the net....
a little googling can get u the pdf...ebook..
lpc-arm-book_srn.pdf
also look for..
user.manual.lpc2131.lpc2132.lpc2134.lpc2136.lpc2138.pdf
u can get it frm
www.nxp.com
the above two books are more than enough for starters.....
i still use them in almost all my developments......
if u cant find them .... i'll some day post them but they are way to big to be posted....
so better download them urself frm the net....

abbas1707
Sep 24 2007, 10:12 PM
Ajay
Sep 24 2007, 10:17 PM
aha... we are moving to next step then
hey abbas, as you have Proteus so you can use that too for simulation purpose
just wanted to remind you of it 
hey abbas, as you have Proteus so you can use that too for simulation purpose
just wanted to remind you of it 
abhishek_h
Sep 24 2007, 10:58 PM
ARM has an embedded ICE (In-curcuit Emulator). Its a real time debugger. Most of the ARM compilers make use of it, so there's no need for any seperate simulator as such.
I have worked a lot on ARM7... the same Philips LPC series. I can contribute anything if required.
I have worked a lot on ARM7... the same Philips LPC series. I can contribute anything if required.
Ajay
Sep 25 2007, 12:31 AM
sure... we want everyone's contribution.
The reason i mentioned Proteus is.. that people who don't think that they can buy/make a development board, if they have Proteus VSM then they can simulate ARM on it, just to get them started.
And almost all ARMs are equipped with JTAG and so boundary scan can be done and you can get all the internal information of registers through JTAG. Which can help them to debug and test your codes.
The reason i mentioned Proteus is.. that people who don't think that they can buy/make a development board, if they have Proteus VSM then they can simulate ARM on it, just to get them started.
And almost all ARMs are equipped with JTAG and so boundary scan can be done and you can get all the internal information of registers through JTAG. Which can help them to debug and test your codes.
shyam
Sep 25 2007, 4:08 AM
i never had time to test my board using JTAG.....
but
@abhishek_h if u could provide us the resources to build our own jtag debugger it would be of gr8 help
as for as the software is considered we can use OCD debugger which u can find in the WinArm package
but i think before we get the board ready , we can use Keil Uvisioin3 for simulating peripherals of the chip...
download demo frm ..
https://www.keil.com/arm/demo/eval/arm.htm
but
@abhishek_h if u could provide us the resources to build our own jtag debugger it would be of gr8 help
as for as the software is considered we can use OCD debugger which u can find in the WinArm package
but i think before we get the board ready , we can use Keil Uvisioin3 for simulating peripherals of the chip...
download demo frm ..
https://www.keil.com/arm/demo/eval/arm.htm
Ajay
Sep 25 2007, 5:09 AM
i tried JTAG on PowerPC but not on ARM coz never worked personally on ARM. I used special software that time.. its called single step for PowerPC.
Shyam, after we finish our discussion on ARM board, we will create a new topic for ARM instruction set discussion...
if you have more idea please share..
Shyam, after we finish our discussion on ARM board, we will create a new topic for ARM instruction set discussion...
if you have more idea please share..shyam
Sep 25 2007, 8:36 AM
as i said there are open source software to go by ARM
ex. OCD debugger....
but i feel for starters we should use keil demo version
there we can also simulate the peipherals.......
then while working directly on board we will use
WinArm or cygwin Arm-elf as decided before
as per ideas once we r thru the basic ARM programmes.....
we should try RTOS on to it......
they are easy to implement and interesting....
mean time it would be gr8 if someone starts a new category on
OS fundamentals...
watsay??
ex. OCD debugger....
but i feel for starters we should use keil demo version
there we can also simulate the peipherals.......
then while working directly on board we will use
WinArm or cygwin Arm-elf as decided before
as per ideas once we r thru the basic ARM programmes.....
we should try RTOS on to it......
they are easy to implement and interesting....
mean time it would be gr8 if someone starts a new category on
OS fundamentals...
watsay??

Ajay
Sep 25 2007, 9:45 AM
hmm... sure i can start.. but people are not too much into OS right now.. and no1 ask about it.. we can start if we first try to implement freeRTOS on 8051.. make a small application running on it... then we can get people interest in this field.. so we can keep ARM aside and try to make 8051 RTOS application.. just any simple application..
what you say?
what you say?