Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Why pick ARM? (Sorry about the open ended-ness of this question)

Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by nma550n

Hello there!

First off, I'd like to say it's great to finally come across a decent
message board like this. 

Sorry about this question, it probally gets asked all the time.
However, I have looked around the archives for a fair bit, and haven't
found anything (loads of messages).

Through-out university and through the grape-vine, I keep hearing
about how great ARM cores are. I can see they are used in many popular
devices and such.
I have not yet had commited myself to developing with this core as I
feel a bit overwelmed with all the other alternatives out there and
don't want to ignorantly be swayed by good marketing.

Does anyone know of a NON-BIASED webpage, or resource where there is a
comparison of Modern Microcontrollers?

Also as a second question, why did you decide on ARM?

Sounds very marketing, and I can assure you I do not work for any
company, only hobby interests.

Cheers

Nick

RE: [lpc2000] Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by Dan Beadle

All I do is embedded.  I have used a lot of different ARM systems -
ARM7/ARM9, etc.

 

Prior to moving to Philips ARM product line, most product were built
around 8051 or PIC derivatives.  The perpetual problem was running out
of horsepower and / or memory space.  I helped on an avionics product
that took 5x longer than it should have simply because of the difficulty
of debugging banked memory architectures.  But there was not good
alternative at the time.  Most embedded cpus were limited to 64K address
space (certainly not all - but most).  So they struggled.

 

The LPC line solves the 8051 memory limitations.  We have found that
8051 code size is a good indicator of ARM size - usually about the same
to 1.5x larger (but we have much more room available).  Then there is
the mater of horsepower - clock speed on the LPC is about 3-8x faster
(depending on the 8051 used for comparison).  And with 32 bit words, we
pick up more horsepower.  Better instructions, etc....

 

Certainly there are other offerings - OKI, ATMEL and TI all have great
little embedded ARM CPUs. 

 

I have also used ARM9 from Sharp.  The selection criteria for that has
always been LCD driver.  It is not as nice for small embedded, but is
great for products requiring a user interface. BOM costs go up quickly
due to external flash and SDRAM costs, but you end up with a lot of
horsepower for not much money.

 

 

The key advantage of the ARM system is the multiple vendors using the
same CPU architecture and customizing their own SOC features.  Philips
is going after deep embedded. Sharp is going after small video devices,
Oki is a little up-scale from Philips.  So invest once in development
tools and learning and apply it to a lot of different vendor offerings,
depending upon the product requirements (and not on the CPU with which
you feel most comfortable)  This is the key argument against products
like the H8 and other proprietary designs.

 

Finally, why not x86?  It has some merits - if you port Windows or Linux
to it. Then you get all the rich tools, etc. But you also get all the
overhead.  Not a good fit,  in my opinion, for deep embedded.  

 

So, pick your goals and requirements, then pick the CPU.  Tiny = ARM7,
Linux pretty much requires ARM9, Windows... oh well....

 

Hope this helps


Dan Beadle

 

 

 

  _____  
Show quoted textHide quoted text
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf
Of nma550n
Sent: Monday, December 19, 2005 12:11 PM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Why pick ARM? (Sorry about the open ended-ness of
this question)

 

Hello there!

First off, I'd like to say it's great to finally come across a decent
message board like this. 

Sorry about this question, it probally gets asked all the time.
However, I have looked around the archives for a fair bit, and haven't
found anything (loads of messages).

Through-out university and through the grape-vine, I keep hearing
about how great ARM cores are. I can see they are used in many popular
devices and such.
I have not yet had commited myself to developing with this core as I
feel a bit overwelmed with all the other alternatives out there and
don't want to ignorantly be swayed by good marketing.

Does anyone know of a NON-BIASED webpage, or resource where there is a
comparison of Modern Microcontrollers?

Also as a second question, why did you decide on ARM?

Sounds very marketing, and I can assure you I do not work for any
company, only hobby interests.

Cheers

Nick








  _____  

YAHOO! GROUPS LINKS 

 

*	 Visit your group "lpc2000
<http://groups.yahoo.com/group/lpc2000> " on the web.
	  
*	 To unsubscribe from this group, send an email to:
	 lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
	  
*	 Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 

 

  _____  



[Non-text portions of this message have been removed]

Re: [lpc2000] Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by Onestone

Personally I think the reasons are very simple. ARM is a 32 bit core 
that is exceptionally well supported, ie if you can program a Philips 
ARM7 you can usually program a Samsung ARM7 with little or no effort, 
and usually using the same tools. Not only is it well supported but the 
number of variants available is huge, and the prices are very close to 
those of 8 bit cores, ie you can get 32 style peripherals (complex 
timers, hi res A/D CAN, and all sorts of other built in comms, for about 
the price of a high end 8 bit device. The ONLY drawbacks to ARM7 so far 
that I see are no very small pin count parts, comparatively high current 
consumption, and no real power saving modes. Other than that I don't see 
why you wouldn't choose one over most other micros.

Again most of my work is in very low power designs, so I haven't had 
cause to use one myself yet, but it would currently be my weapon of 
choice where current consumption was NOT an issue and I was starting out 
on a new design. I use the MSP430 family for the vast majority of my 
designs.

Cheers

Al

nma550n wrote:
Show quoted textHide quoted text
>Hello there!
>
>First off, I'd like to say it's great to finally come across a decent
>message board like this. 
>
>Sorry about this question, it probally gets asked all the time.
>However, I have looked around the archives for a fair bit, and haven't
>found anything (loads of messages).
>
>Through-out university and through the grape-vine, I keep hearing
>about how great ARM cores are. I can see they are used in many popular
>devices and such.
>I have not yet had commited myself to developing with this core as I
>feel a bit overwelmed with all the other alternatives out there and
>don't want to ignorantly be swayed by good marketing.
>
>Does anyone know of a NON-BIASED webpage, or resource where there is a
>comparison of Modern Microcontrollers?
>
>Also as a second question, why did you decide on ARM?
>
>Sounds very marketing, and I can assure you I do not work for any
>company, only hobby interests.
>
>Cheers
>
>Nick
>
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

[lpc2000] Simple command shell

2005-12-19 by Marko Pavlin (home)

Hello!

I am looking for some simple TTY command shell for LPC213x via UART and 
for using as single task in RTOS.

Marko

Re: [lpc2000] Simple command shell

2005-12-19 by Marko Panger

Hi Marko,

I can send you my console implementation. It has RTOS embedded commands, 
like displaying task information, dumping memory, patching memorym as 
well as hooks for user defined commands.

It works like a task in my RTOs, but you can easly port it to yours.

Drop me an email

marko
http://usmartx.sourceforge.net/

Marko Pavlin (home) wrote:
Show quoted textHide quoted text
>Hello!
>
>I am looking for some simple TTY command shell for LPC213x via UART and 
>for using as single task in RTOS.
>
>Marko
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>

Re: [lpc2000] Simple command shell

2005-12-19 by Marko Panger

Hi Marko,

I can send you my console implementation. It has RTOS embedded commands, 
like displaying task information, dumping memory, patching memorym as 
well as hooks for user defined commands.

It works like a task in my RTOs, but you can easly port it to yours.

Drop me an email

marko
http://usmartx.sourceforge.net/

Marko Pavlin (home) wrote:
Show quoted textHide quoted text
>Hello!
>
>I am looking for some simple TTY command shell for LPC213x via UART and 
>for using as single task in RTOS.
>
>Marko
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by nma550n

Wow quicker response than I expected, and I didn't get flamed!
Cheers guys!

I don't really have any constraints to design only really cost, as
this is a hobby. However, ease of development and uC longevity will help.

I have worked with PIC and various 8051 variants, but the choice was
already presented. Now I'm coming to start a new fresh project, and I
just want to know the alternatives. I do believe the ARM core idea is
excellent, thanks Dan for the expanded info :)

When you go to a Microcontroller webpage, you are always told the
vague description of what the controller could be used for, which seem
to be the same.

Anyone know of any comparison page of similar microcontrollers?

Also why not an FPGA? (The only reason I ask that question, is, if I
ask it in google I will get a whole bunch of white papers from XILINX
stating why it is so great). Just like a nice open discussion.

On reading that it appears I've asked it again. Sorry Dan, Al, your
views were welcome.

Quick question AL,
How did you get to know about the MSP430 family of processors?

Cheers

Nick

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by nma550n

This is the kind of thing i'm looking for. However, its kind of
outdated slightly. Last updated 1997.

http://www.faqs.org/faqs/microcontroller-faq/primer/



--- In lpc2000@yahoogroups.com, "nma550n" <nma550n@y...> wrote:
>
> Wow quicker response than I expected, and I didn't get flamed!
> Cheers guys!
> 
> I don't really have any constraints to design only really cost, as
> this is a hobby. However, ease of development and uC longevity will
help.
Show quoted textHide quoted text
> 
> I have worked with PIC and various 8051 variants, but the choice was
> already presented. Now I'm coming to start a new fresh project, and I
> just want to know the alternatives. I do believe the ARM core idea is
> excellent, thanks Dan for the expanded info :)
> 
> When you go to a Microcontroller webpage, you are always told the
> vague description of what the controller could be used for, which seem
> to be the same.
> 
> Anyone know of any comparison page of similar microcontrollers?
> 
> Also why not an FPGA? (The only reason I ask that question, is, if I
> ask it in google I will get a whole bunch of white papers from XILINX
> stating why it is so great). Just like a nice open discussion.
> 
> On reading that it appears I've asked it again. Sorry Dan, Al, your
> views were welcome.
> 
> Quick question AL,
> How did you get to know about the MSP430 family of processors?
> 
> Cheers
> 
> Nick
>

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-19 by Bertrik Sikken

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nma550n wrote:
> Wow quicker response than I expected, and I didn't get flamed!
> Cheers guys!
> 
> I don't really have any constraints to design only really cost, as
> this is a hobby. However, ease of development and uC longevity will help.
> 
> I have worked with PIC and various 8051 variants, but the choice was
> already presented. Now I'm coming to start a new fresh project, and I
> just want to know the alternatives. I do believe the ARM core idea is
> excellent, thanks Dan for the expanded info :)
> 
> When you go to a Microcontroller webpage, you are always told the
> vague description of what the controller could be used for, which seem
> to be the same.
> 
> Anyone know of any comparison page of similar microcontrollers?
> 
> Also why not an FPGA? (The only reason I ask that question, is, if I
> ask it in google I will get a whole bunch of white papers from XILINX
> stating why it is so great). Just like a nice open discussion.

Hi,

I'm an ARM "newbie". I had the same problem as you did when
looking around for a good microcontroller for my hobby project.
The LPC family looked good because:
* nice set of integrated peripherals (A/D,D/A,USB etc.)
* availability of inexpensive development kits that seemed to
have almost exactly what I wanted (olimex / embedded artists)
* easy to program, through serial port.

But, to be honest, I haved not exhaustively looked at ALL the
other alternatives. At some point I got fed up and just went
with the LPC (and have no regrets yet).

I think FPGA's can be tricky to use for a hobby project.
Can you actually order them somewhere in "hobby quantities"?
And aren't most FPGA nowadays in BGA package? (hard to solder)
Also most FPGA's don't start themselves, you need another device
to configure it first. And you probably need a dual voltage
supply.

Kind regards,
Bertrik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDpztSETD6mlrWxPURAnlzAJ4nskfSjr60x5h1oZU1viztCFdXrQCgi/B/
h3hWlsmmPkT1fEWCoDZTEFQ=
=pX+G
-----END PGP SIGNATURE-----

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by Onestone

Hi Nick, The MSP430 originated in the mid 90's, and on several occasions 
the local distsi's pointed me at them. At that time they were just 
another obscure processor in ROM with expensive tools, but the low power 
aspects were enough that I followed development. By this time I was 
already using FLASH based processors with uilt in debug (HC12/PIC/etc). 
then in 1999 I became aware that the family was moving to flash, and at 
that time I'd been seeking an ultra low power solution to two problem 
designs. When they arrived the tools were cheap, and the parts were 
excellent, good balanced instruction set etc, and very easy to work 
with. Some nice features not commonly available on other low end micros 
at that time. Since then I've been an avid user. I visited the ARM7 when 
I had a need for something much more powerful than the MSP430, but at 
that time the LPC2xxx  range was too much for my needs, they had no 
analog peripherals until you got to larger parts and their peripheral 
sets were too heavily communicatiosn biased. I didn't need 8 different 
comms interfaces! The ADuC7xxx family from ADI solved this problem 
nicely, but had a few early core problems, anyway both of these, and 
other ARM7 devices turned out to be too current hungry for my needs at 
that time, however that doesn't detract from it being an excellent 
general part for many systems.

On a note regarding Dans comments, we obviously work at the opposite end 
of the fields to each other. I too have worked exclusively in embedded 
design for many years, but whereas he classesd ARM 7 as TINY systems, I 
would class this as the ultimate top end. To me TINY implies 6 or 8 pin 
processors, up to 20 pins at most, sometimes ingestible systems, most of 
my recent work has been on designs no bigger than postage stamps, MEDIUM 
range would be higher end MSP430's. like the MSP430F149/169, which I've 
used in such things as a combined design with motor control and image 
recognition, or an 18 sensor multi-channel navigation and comms system 
about the size of a match box. I haven't done anything I'd class as 
large yet, but would put the ARM7 as the sort of processor I'd use for 
this type of job. Horses for course I guess.

Cheers

Al

nma550n wrote:
Show quoted textHide quoted text
>Wow quicker response than I expected, and I didn't get flamed!
>Cheers guys!
>
>I don't really have any constraints to design only really cost, as
>this is a hobby. However, ease of development and uC longevity will help.
>
>I have worked with PIC and various 8051 variants, but the choice was
>already presented. Now I'm coming to start a new fresh project, and I
>just want to know the alternatives. I do believe the ARM core idea is
>excellent, thanks Dan for the expanded info :)
>
>When you go to a Microcontroller webpage, you are always told the
>vague description of what the controller could be used for, which seem
>to be the same.
>
>Anyone know of any comparison page of similar microcontrollers?
>
>Also why not an FPGA? (The only reason I ask that question, is, if I
>ask it in google I will get a whole bunch of white papers from XILINX
>stating why it is so great). Just like a nice open discussion.
>
>On reading that it appears I've asked it again. Sorry Dan, Al, your
>views were welcome.
>
>Quick question AL,
>How did you get to know about the MSP430 family of processors?
>
>Cheers
>
>Nick
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by nma550n

Al,

Thank's for all the information on your selection, it has really
helped put things into perspective, and give me a better big picture
of things. 
Funny how you can go through Uni and get none of this perspective.
Then again, your not exactly spending much time on the same thing.
Just come out of uni even more unsure.

Thanks again

Nick


--- In lpc2000@...m, Onestone <onestone@b...> wrote:
>
> Hi Nick, The MSP430 originated in the mid 90's, and on several
occasions 
> the local distsi's pointed me at them. At that time they were just 
> another obscure processor in ROM with expensive tools, but the low
power 
> aspects were enough that I followed development. By this time I was 
> already using FLASH based processors with uilt in debug (HC12/PIC/etc). 
> then in 1999 I became aware that the family was moving to flash, and at 
> that time I'd been seeking an ultra low power solution to two problem 
> designs. When they arrived the tools were cheap, and the parts were 
> excellent, good balanced instruction set etc, and very easy to work 
> with. Some nice features not commonly available on other low end micros 
> at that time. Since then I've been an avid user. I visited the ARM7
when 
> I had a need for something much more powerful than the MSP430, but at 
> that time the LPC2xxx  range was too much for my needs, they had no 
> analog peripherals until you got to larger parts and their peripheral 
> sets were too heavily communicatiosn biased. I didn't need 8 different 
> comms interfaces! The ADuC7xxx family from ADI solved this problem 
> nicely, but had a few early core problems, anyway both of these, and 
> other ARM7 devices turned out to be too current hungry for my needs at 
> that time, however that doesn't detract from it being an excellent 
> general part for many systems.
> 
> On a note regarding Dans comments, we obviously work at the opposite
end 
> of the fields to each other. I too have worked exclusively in embedded 
> design for many years, but whereas he classesd ARM 7 as TINY systems, I 
> would class this as the ultimate top end. To me TINY implies 6 or 8 pin 
> processors, up to 20 pins at most, sometimes ingestible systems,
most of 
> my recent work has been on designs no bigger than postage stamps,
MEDIUM 
> range would be higher end MSP430's. like the MSP430F149/169, which I've 
> used in such things as a combined design with motor control and image 
> recognition, or an 18 sensor multi-channel navigation and comms system 
> about the size of a match box. I haven't done anything I'd class as 
> large yet, but would put the ARM7 as the sort of processor I'd use for 
> this type of job. Horses for course I guess.
> 
> Cheers
> 
> Al
> 
> nma550n wrote:
> 
> >Wow quicker response than I expected, and I didn't get flamed!
> >Cheers guys!
> >
> >I don't really have any constraints to design only really cost, as
> >this is a hobby. However, ease of development and uC longevity will
help.
Show quoted textHide quoted text
> >
> >I have worked with PIC and various 8051 variants, but the choice was
> >already presented. Now I'm coming to start a new fresh project, and I
> >just want to know the alternatives. I do believe the ARM core idea is
> >excellent, thanks Dan for the expanded info :)
> >
> >When you go to a Microcontroller webpage, you are always told the
> >vague description of what the controller could be used for, which seem
> >to be the same.
> >
> >Anyone know of any comparison page of similar microcontrollers?
> >
> >Also why not an FPGA? (The only reason I ask that question, is, if I
> >ask it in google I will get a whole bunch of white papers from XILINX
> >stating why it is so great). Just like a nice open discussion.
> >
> >On reading that it appears I've asked it again. Sorry Dan, Al, your
> >views were welcome.
> >
> >Quick question AL,
> >How did you get to know about the MSP430 family of processors?
> >
> >Cheers
> >
> >Nick
> >
> >
> >
> >
> >
> >
> >
> > 
> >Yahoo! Groups Links
> >
> >
> >
> > 
> >
> >
> >
> >
> >  
> >
>

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by nma550n

Bertrik,

Good to know I'm not alone!
I think I will start my project/learning with an ARM core. As a design
choice, it does provide great flexibilty. Also, olimex has some really
simple, yet powerfull development boards, with easy ascess to the
schematics.

On the note of FPGA's, I was fearing what you said. Perhaps this is
why you dont see big online comunities using them for hobby use. At
least, I havent found any.

Cheers 

Nick




--- In lpc2000@yahoogroups.com, Bertrik Sikken <bertrik@z...> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> nma550n wrote:
> > Wow quicker response than I expected, and I didn't get flamed!
> > Cheers guys!
> > 
> > I don't really have any constraints to design only really cost, as
> > this is a hobby. However, ease of development and uC longevity
will help.
Show quoted textHide quoted text
> > 
> > I have worked with PIC and various 8051 variants, but the choice was
> > already presented. Now I'm coming to start a new fresh project, and I
> > just want to know the alternatives. I do believe the ARM core idea is
> > excellent, thanks Dan for the expanded info :)
> > 
> > When you go to a Microcontroller webpage, you are always told the
> > vague description of what the controller could be used for, which seem
> > to be the same.
> > 
> > Anyone know of any comparison page of similar microcontrollers?
> > 
> > Also why not an FPGA? (The only reason I ask that question, is, if I
> > ask it in google I will get a whole bunch of white papers from XILINX
> > stating why it is so great). Just like a nice open discussion.
> 
> Hi,
> 
> I'm an ARM "newbie". I had the same problem as you did when
> looking around for a good microcontroller for my hobby project.
> The LPC family looked good because:
> * nice set of integrated peripherals (A/D,D/A,USB etc.)
> * availability of inexpensive development kits that seemed to
> have almost exactly what I wanted (olimex / embedded artists)
> * easy to program, through serial port.
> 
> But, to be honest, I haved not exhaustively looked at ALL the
> other alternatives. At some point I got fed up and just went
> with the LPC (and have no regrets yet).
> 
> I think FPGA's can be tricky to use for a hobby project.
> Can you actually order them somewhere in "hobby quantities"?
> And aren't most FPGA nowadays in BGA package? (hard to solder)
> Also most FPGA's don't start themselves, you need another device
> to configure it first. And you probably need a dual voltage
> supply.
> 
> Kind regards,
> Bertrik
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFDpztSETD6mlrWxPURAnlzAJ4nskfSjr60x5h1oZU1viztCFdXrQCgi/B/
> h3hWlsmmPkT1fEWCoDZTEFQ=
> =pX+G
> -----END PGP SIGNATURE-----
>

RE: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by Joel Winarske

> On the note of FPGA's, I was fearing what you said. Perhaps this is
> why you dont see big online comunities using them for hobby use. At
> least, I havent found any.

You may not have ran across these sites:
http://www.niosforum.com/	Altera Nios Forum
I posted a Nios-II port of the http://www.opencores.org/ CAN interface here.

http://www.fpga4fun.com/	Focused on the hobbyist/enthusiast.

You don't see much hobby use mainly due to cost.  Implementing a processor
in an FPGA is not cheap from cost of hardware and current consumption.
FPGA's are currently only justified for offloading CPU intensive algorithms.


Cost-wise the Xilinx Spartan 3E looks interesting, as it allows one to use
generic (low cost) SPI memory for config of part and application post
config.  Xilinx offers low cost eval boards, but beyond the eval software -
$$$.


Joel

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by rtstofer

> Cost-wise the Xilinx Spartan 3E looks interesting, as it allows one 
to use
> generic (low cost) SPI memory for config of part and application post
> config.  Xilinx offers low cost eval boards, but beyond the eval 
software -
> $$$.
> 
> 
> Joel
>

I have used the Spartan 3 Starter board quite a bit as well as the 
B5X300 from www.burched.com.  My largest project was to implement the 
T80 core (Z80) in the B5X300, add a couple of CF drives and run CP/M 
2.2.  PS/2 keyboard input and 25x80 text mode for VGA output.  All of 
this works very well and I have a totally silent, if obsolete, 
computer.

I don't think I consider the Xilinx WebPack ISE as 'eval' software.  
This is a MAJOR development platform.  Sure, it doesn't have the wiz-
bang features of some of the more expensive systems but it does a 
wonderful with VHDL.  And, it makes using the devices possible for the 
average hobbyist.

I intend, at some point, to build an IBM 1130 into the Spartan 3 
Starter Board.  Not a particularly interesting computer, unless it was 
your very first, which it was.

But, there is no way in the world to implement something as 
sophisticated as a modern microcontroller with an FPGA and get it done 
anytime soon.  There are a lot of cores around but nothing as complete 
as an LPC.  And a truly custom core will have exactly nothing for a 
tool chain.  In some ways the device selection will be driven by the 
availability of inexpensive tools - particularly for hobbyists such as 
myself.  If development tools aren't free, I have to move to a 
different device.  My budget is exactly $0.

On the scale of things, there is no point in using a 48 pin ATmega128 
when a PIC 16F88 will do the job.  That '88 has a lot of gadgets for 
an 18 pin pkg.  And there is no point in using an LPC if the ATmega128 
can do the job.  First of all, the world is based on 5V and the 3.3V 
spec of the LPC gets in the way.  Particularly for A/D.  But, if you 
need the horsepower, the LPC is a great device.

And so it goes, up the scale to ARM9, X Scale, Pentium, and on and 
on.  At every increasing level, complexity increases, development 
takes longer, tools cost more - everything goes up.  Including the 
amount of information/knowledge required to make the thing work.  
Linux on the Intel PXA255 (www.gumstix.com) is an example.

There is no single, universal, one size fits all, processor.  If such 
a thing could be built, there wouldn't be hundreds, if not thousands, 
of processors around (counting each PIC and AVR flavor as a unique 
device).

I use the LPC because development boards are cheap and software is 
free.  If either condition changed, I would move to something else.  
And, even at that, when I get up in the morning I am as likely to play 
with a PIC as an LPC.  It depends on what the project demands.

Richard

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by Onestone

rtstofer wrote:

> <snipped>
>
>On the scale of things, there is no point in using a 48 pin ATmega128 
>when a PIC 16F88 will do the job.  That '88 has a lot of gadgets for 
>an 18 pin pkg.  And there is no point in using an LPC if the ATmega128 
>can do the job.  First of all, the world is based on 5V and the 3.3V 
>spec of the LPC gets in the way.  Particularly for A/D.  But, if you 
>need the horsepower, the LPC is a great device.
>
The world WAS built on 5V, and sometime before that the world was built 
on -500V and 6V3AC. Those times are long gone, and the era of 5V is 
inherently doomed to go the same way due simply to power consumption 
issues. I have used all 3V3 parts for around 6 years now. At first there 
was a bit of difficulty getting hold of some devices, especially 
sensors, now juts about everything is available in 3V ranges, in fact a 
lot of stuff is no longer available in 5V, especially RF devices, and 
many newer micros. 5V is a bit like DIP, mostly gone or going, except 
for the hobbyist arena. In fact many new devices only pay lip service to 
3v, having internal regulators to drop this to 1.8.

Cheers

Al

RE: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by Joel Winarske

> I don't think I consider the Xilinx WebPack ISE as 'eval' software.
> This is a MAJOR development platform.  Sure, it doesn't have the wiz-
> bang features of some of the more expensive systems but it does a
> wonderful with VHDL.  And, it makes using the devices possible for the
> average hobbyist.

No the Xilinx WebPack is not evaluation software.  I was referring to the
EDK (Microblaze) 'eval'.

> But, there is no way in the world to implement something as
> sophisticated as a modern microcontroller with an FPGA and get it done
> anytime soon.

Microtronix offers Altera based boards that boot Linux.  It's very straight
forward to extend the platform with custom (VHDL/Verilog) periperhals in a
short amount of time.  Altera uses Eclipse and GNU for the Nios-II tool
chain.  The opencores.org Wishbone interface matches very close to the
Nios-II interface.

Anyhow back to the topic of LPCs.

Joel

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-20 by sixtyfivebit

--- In lpc2000@yahoogroups.com, Onestone <onestone@b...> wrote:
> many newer micros. 5V is a bit like DIP, mostly gone or going, except 
> for the hobbyist arena. In fact many new devices only pay lip
service to 

I dunno if I would say that about DIP. IIRC, the DIP or similar
variant is used pretty extensively in military systems that are prone
to all sorts of vibrations and abuse. Correct me if I'm wrong, that's
just what I heard..

Thanks,
sixtyfivebit

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by Onestone

Some may, I've only done a couple of designs for the military, but they 
were both SMD, and the people I did the work with only use SMD in their 
designs.

Al

sixtyfivebit wrote:
Show quoted textHide quoted text
>--- In lpc2000@yahoogroups.com, Onestone <onestone@b...> wrote:
>  
>
>>many newer micros. 5V is a bit like DIP, mostly gone or going, except 
>>for the hobbyist arena. In fact many new devices only pay lip
>>    
>>
>service to 
>
>I dunno if I would say that about DIP. IIRC, the DIP or similar
>variant is used pretty extensively in military systems that are prone
>to all sorts of vibrations and abuse. Correct me if I'm wrong, that's
>just what I heard..
>
>Thanks,
>sixtyfivebit
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by Eric Engler

--- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@p...> wrote:

> I have used the Spartan 3 Starter board quite a bit as well as the 
> B5X300 from www.burched.com.  My largest project was to implement the 
> T80 core (Z80) in the B5X300, add a couple of CF drives and run CP/M 
> 2.2.  PS/2 keyboard input and 25x80 text mode for VGA output.

This sounds cool! Is this something you might be willing to open source? 

I've been thinking about doing this kind of thing to emulate an Apple
II using modern chips, but I don't have the expertise to pull it off :-(

Eric

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by rtstofer

--- In lpc2000@yahoogroups.com, "Eric Engler" <englere.geo@y...> 
wrote:
>
> --- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@p...> wrote:
> 
> > I have used the Spartan 3 Starter board quite a bit as well as 
the 
> > B5X300 from www.burched.com.  My largest project was to 
implement the 
> > T80 core (Z80) in the B5X300, add a couple of CF drives and run 
CP/M 
> > 2.2.  PS/2 keyboard input and 25x80 text mode for VGA output.
> 
> This sounds cool! Is this something you might be willing to open 
source?

The T80 core is available at www.opencores.com.  If you get that 
running, I can provide the rest of the stuff including an 8 bit HDD 
interface block, a PS/2 to TV950 keyboard translation (PS/2 doesn't 
make much sense to CP/M) and the video that came from John Kent's 
SYS09 project, also at www.opencores.com.

All of the CP/M stuff is currently in the public domain and the 
entire project is built from source.

Like most projects, this one has warts.  I didn't want to implement 
a full width HDD bus so I only read/write the lower 8 bits.  Thus I 
only get 256 bytes per sector.  No big deal, just full disclosure.

Now that I have settled on CF versus a real hard drive, there is a 
standard 8 bit interface that would work even better.  But, alas, I 
don't have the interest to go back and rework the project.

The B5 X300 is the high price spread for development boards.  It 
makes the project pricey compared to, say, the Spartan 3 Starter 
Board.  But, at the time, I wanted the 5V tolerant I/O of the 
Spartan IIE because I was using a real hard drive with a 5V 
interface.  That is not an issue with a CF but that came later.

Richard

 
> 
> I've been thinking about doing this kind of thing to emulate an 
Apple
> II using modern chips, but I don't have the expertise to pull it 
off :-(
Show quoted textHide quoted text
> 
> Eric
>

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "Eric Engler" <englere.geo@...>
To: <lpc2000@yahoogroups.com>
Sent: Wednesday, December 21, 2005 2:17 AM
Subject: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of 
this question)


> --- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@p...> wrote:
>
>> I have used the Spartan 3 Starter board quite a bit as well as the
>> B5X300 from www.burched.com.  My largest project was to implement the
>> T80 core (Z80) in the B5X300, add a couple of CF drives and run CP/M
>> 2.2.  PS/2 keyboard input and 25x80 text mode for VGA output.
>
> This sounds cool! Is this something you might be willing to open source?
>
> I've been thinking about doing this kind of thing to emulate an Apple
> II using modern chips, but I don't have the expertise to pull it off :-(

Someone might already have done it, I think someone has implemented a 6502 
core. I've got the Digilent Spartan-3 kit, there is a 6809 core I've tried 
on that which runs the Flex operating system. Some students have actually 
done an ARM implementation on an FPGA and made it available via the web, but 
ARM wasn't very happy about it, so it's difficult to get hold of.

Lots of free cores are available here:

http://www.opencores.org/

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by bell_c_d

With no experience in CPLD/FPGA design, this discussion (and the 
opencores website) has piqued my curiousity.  Could someone here 
recommend a good way to get started?  Perhaps recommend some basic 
books on concepts design (that also discuss interfacing to mcus).

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@b...> 
wrote:
>
> ----- Original Message ----- 
> From: "Eric Engler" <englere.geo@y...>
> To: <lpc2000@yahoogroups.com>
> Sent: Wednesday, December 21, 2005 2:17 AM
> Subject: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-
ness of 
> this question)
> 
> 
> > --- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@p...> wrote:
> >
> >> I have used the Spartan 3 Starter board quite a bit as well as 
the
> >> B5X300 from www.burched.com.  My largest project was to 
implement the
> >> T80 core (Z80) in the B5X300, add a couple of CF drives and run 
CP/M
> >> 2.2.  PS/2 keyboard input and 25x80 text mode for VGA output.
> >
> > This sounds cool! Is this something you might be willing to open 
source?
> >
> > I've been thinking about doing this kind of thing to emulate an 
Apple
> > II using modern chips, but I don't have the expertise to pull it 
off :-(
> 
> Someone might already have done it, I think someone has 
implemented a 6502 
> core. I've got the Digilent Spartan-3 kit, there is a 6809 core 
I've tried 
> on that which runs the Flex operating system. Some students have 
actually 
> done an ARM implementation on an FPGA and made it available via 
the web, but 
Show quoted textHide quoted text
> ARM wasn't very happy about it, so it's difficult to get hold of.
> 
> Lots of free cores are available here:
> 
> http://www.opencores.org/
> 
> Leon 
>

Re: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "bell_c_d" <bell_c_d@...>
To: <lpc2000@yahoogroups.com>
Sent: Wednesday, December 21, 2005 6:56 PM
Subject: [lpc2000] Re: Why pick ARM? (Sorry about the open ended-ness of 
this question)


> With no experience in CPLD/FPGA design, this discussion (and the
> opencores website) has piqued my curiousity.  Could someone here
> recommend a good way to get started?  Perhaps recommend some basic
> books on concepts design (that also discuss interfacing to mcus).

A good 'cookbook' is:

http://users.ece.gatech.edu/~hamblen/book/bookse.htm

although it is somewhat out of date in terms of the hardware.

You really need a suitable Altera board to go with it, I designed my own 
using an Altera Flex 10K10 chip. Although it is rather small, it is possible 
to get most of the designs in the book into it.

The Xilinx/Digilent Spartan-3 Starter Kit is about the best value tutorial 
system you can get at $99. You could just get one of those and play with it, 
using VHDL or Verilog. The learning curve is quite steep, but it's a lot of 
fun.

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-21 by rtstofer

--- In lpc2000@yahoogroups.com, "bell_c_d" <bell_c_d@y...> wrote:
>
> With no experience in CPLD/FPGA design, this discussion (and the 
> opencores website) has piqued my curiousity.  Could someone here 
> recommend a good way to get started?  Perhaps recommend some basic 
> books on concepts design (that also discuss interfacing to mcus).

In both cases, you are dealing with hardware at the very lowest 
level.  Gates, registers, clocks, state machines, etc.  Personally, 
I haven't seen anything at an entry level and certainly nothing 
about interfacing with MCUs although that isn't difficult, in 
concept.  I have found "Essential VHDL" (Sundar Rajan) to be quite 
good and, from time to time, I find help in "HDL Chip Design" by 
Douglas Smith.

There is demo code included with the Spartan 3 Starter Board 
(www.digilentinc.com) and there is a lot of stuff at 
www.opencores.org.  Personally, I started with VHDL and haven't made 
the switch to Verilog.  You need to know both languages.  I'll get 
there one of these days.

As with everything else, "Hello World!" or a blinking LED is the 
first step.  Then you move up from there.

There is something to be said for starting with a CPLD.  It is a 
much simpler device but it is also more limited.  Nevertheless, 
there is a place in the world for logic gates on steroids.  Not a 
unique project but why not implement an I2C scope trigger?  Just 
decode the start condition and send a trigger pulse to a scope.  
This would make it easier to see short (2 or 3 byte) messages 
without a logic analyzer.

Wander around at Digilent, they have a lot of cool stuff.

Richard

Re: [lpc2000] Why pick ARM? Or FPGAs?

2005-12-21 by David Hawkins

Hi guys,

Here are a few comments regarding FPGAs, perhaps they'll
be of interest to this discussion.

I have had good experiences using Altera FPGAs, and have not
used the Xilinx parts or tools, so won't comment on them.

Development kits - you get what you pay for.

For example, I purchased an Altera university program
board (UP1), and its pretty I/O limited, eg. a serial port
would have been nice, or perhaps a DB25 in a standard
parallel port layout. I found the I/O buffers had trouble
driving a cable, so had to make adapters with buffers
before I could communicate between the board and a
control PC. I also purchased a Cypress CY37000 board
and it pretty much was the CPLD on a footprint with a
header breakout.

Pay a little more for your development kit and it
will payoff in the long-run. For example, an 'expensive'
(eg. $1k, or the price of a decent home PC) development
kit usually comes with a lot of hardware examples,
and software pre-ported to the platform. For example,
the Altera kits often come with NIOS II processor builds,
and the uCOS-II, eCOS, and uCLinux ports.

So consider the price of such a platform as being both
the hardware and software you get.

The Altera web site lists Altera's kits:

http://www.altera.com/products/devkits/kit-dev_platforms.jsp

and partner kits

http://www.altera.com/products/devkits/kit-dev_platforms_partner.jsp

A partner of note; Microtronix was the originator of the uCLinux
port, so their kits will likely support it. I believe the
NIOS II forum is run by Microtronix www.niosforum.com.

Why pay good money for these kits? ... well, your time
is worth money too, so its nice to start with something
that works and add an incremental change to the design.

Its also another source of information, eg. a working eCOS
port on a NIOS II processor wouldn't be too much different
than an eCOS port on an ARM processor, so using the NIOS
as a reference design, getting eCOS running on an LPC wouldn't
be too difficult. The resources consumed by a NIOS port
(eg. required Flash and RAM) would give you an idea of
whether an LPC part with internal Flash+SRAM would work,
or whether a part with an external bus was a requirement.

Last week (out of interest) I looked at interfacing an LPC part
(one of the devices with an external memory bus) to an Altera
Cyclone II FPGA. Here's a couple of comments regarding
that 'preliminary' investigation.

Hand-solderable parts ... most of the darn FPGAs come in BGA
packages. However, parts like the Cyclone II EP2C5 and
EP2C8 come in 144-pin and 208-pin packages. The number
of user I/O pins is 89 and 142 pins max respectively.
So lets say you interfaced a 24-bit address, 32-bit data,
and say 6-control lines microcontroller bus to this FPGA,
that would use 62-I/O pins and leave you with 27 and
80-pins respectively. So depending on your other interface
requirements, the 208-pin package would be the way
to go. Of course, you don't need to decode all the address
bits, and you could use an 8-bit or 16-bit interface,
so you can save pins there. And there is always the option
of talking to your FPGA using SPI. Clearly the interface
requirements change depending on the speed required from the
interface.

How about price, well the EP2C5/8 parts are about $13-24ea
(see Arrow's web site). Not too expensive. But then since
these devices are SRAM based, you need to load the FPGA
configuration. The Cyclone II NIOS II kit uses an
EPCS64, and that part is $32 - more expensive than the
FPGA! If you are going to have a microcontroller on the board,
then it might pay to use the micro to load the FPGA
(its pretty easy). I believe most of the Altera boards
contain an Altera MAX CPLD with a controller assigned to
this task, but a micro could do the trick.

What about the NIOS II processor instead of the LPC part?
Well, the LPC is highly integrated with respect to the NIOS II
processor; you could reproduce the functionality of the
LPC using a NIOS processor, but at several times the expense.
Use FPGAs as co-processors, i.e., add them to a design
to off-load a critical task.

FPGAs can be an expensive solution to a problem, so use them
where necessary. If board real-estate is not an issue, and
a standard part exists to 'do the job', then use the standard
part along with a reduced-size FPGA. As an example,
the PCI interface can be implemented in an FPGA, but you can
buy <$20 parts from PLX technologies and AMCC that do a much
better job than any of the PCI cores I've looked at.

Tools; if you want to program in VHDL/Verilog, the Altera
web version of Quartus II should be adequate for what you
want to do. However, if you want to use the NIOS II processor,
I believe you will need to license the SOPC Builder features.

I use the full-versions of Altera's tools provided to me
through their university program. I also use Mentor Graphics
FPGA Advantage tool-suite (ModelSim and Precision-RTL),
again through their university program.

VHDL or Verilog? I learnt both. I ended up going with VHDL
since I needed to use features of the language that weren't
available in Verilog (or were available, but not supported
by the Altera tool of the time; MAX+plus II). The differences
between the languages are ultimately syntactical. An
HDL based design typically consists of;

   - vendor instantiated blocks (eg. an Altera lpm_counter for
     a counter).
   - user-defined blocks of logic
   - user-defined state machines
   - a heirachical connection of logic blocks, eg. think
     of a schematic page containing design blocks.

Quartus lets you mix and match schematic capture and HDL, so
you can have a nice top-level schematic, that contains other
schematic components or HDL documents. Personally I prefer
text for everything (since I process using the Mentor tools
and scripts), but an engineer I helped transition from
pure-schematic based design to mixed designs liked using
schematics for the top-level.

Anyway, feel free to ask more questions, or for help if
you get yourself a development board.

Regards,
Dave

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-22 by Eric Engler

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@b...> wrote:

> > I've been thinking about doing this kind of thing to emulate an Apple
> > II using modern chips, but I don't have the expertise to pull it
off :-(

> Some students have actually 
> done an ARM implementation on an FPGA and made it available via the
web, but 
> ARM wasn't very happy about it, so it's difficult to get hold of.

I just learned of this today, but I don't know if it's new, or maybe
it's old news: Actel is providing an Arm7 free of up-front license
fees, or royalties. But it's a bit slow, and probably uses more
current than a real Arm7 device - and it probably doesn't have onboard
RAM or flash that the Arm core could use. Never-the-less, it does seem
cool. The ability to put all (or most) of your logic in one chip,
along with the core, is attractive.

http://www.actel.com/products/arm7/

Having absolutely no background in any kind of programmable logic, I
need to find a beginner's development board that comes with tutorials.
I am not ready to tear into this completely on my own.

I also found this website:

http://www.fpga-faq.org/

I can see going with a less powerful core than an Arm7 in order to
have more logic gates left over for other things, and that's why a
6502, or another 8 bit archtecture, might make more sense.

Eric

Re: Why pick ARM? (Sorry about the open ended-ness of this question)

2005-12-22 by rtstofer

> I can see going with a less powerful core than an Arm7 in order to
> have more logic gates left over for other things, and that's why a
> 6502, or another 8 bit archtecture, might make more sense.
> 
> Eric
>

IIRC, the T80 core (Z80 emulation) takes in excess of 200k gates.  
It fits easily on a 300k Spartan IIE but I am not convinced it will 
fit on the 200k Spartan 3 Starter Board.  The good news is that for 
a few bucks more, you can get a 1000k gate Spartan 3 Starter Board.

With increased gate count comes increased BlockRAM.  While this 
could be used for CPU memory, it is probably more useful as display 
terminal memory (25x80 text mode).  The Spartan 3 Starter Board 
comes with 1MB SRAM.  The board only costs $149 for the 1000k gate 
version http://www.digilentinc.com/info/S3Board.cfm.  You select the 
device size when the board is added to the cart.

RISC cores tend to take far fewer gates for the very reason that 
they have a reduced and very orthogonal instruction set.

For $149 you can get a great education in hardware design.  Projects 
that were impractical for the hobbyist (200+ pkgs of TTL) are now 
created with a few lines of code.  Very cool stuff!

Richard

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.