Home    Bloggers    Messages    Resources
Tw  |  Fb  |  In  |  Rss
Brian Carrigan

24 More: Moving From Arduino to 32 Bits

Brian Carrigan
Newest First   Oldest First   Threaded View
Page 1 / 3   >   >>
halherta
halherta
8/14/2012 2:54:44 PM
User Rank
Program Manager
Re: Does the Pi fit into this
The RaspberryPi is ARM11 based, Olinuxuino is ARM9-based and beaglebone is Cortex-A based. I'm sure there will be similarities between the instruction sets  of these  mmu-based Microprocessors and the ARM non-mmu based microcontroller cores (as well as with each other)...since they're all ARM based. But I'm not aware of the extent.

The ARM9/ARM11 are older cores whereas the Cortex-A8/9 cores found on the beaglebone/board/smartphones/tablets are of a newer generation.

In the non-mmu based Microcontroller realm the older ARM core used in Microcontrollers was the ARM7TDMI whereas the newer cores are the Cortex-M

Also, You could code the MMU microprocessors in a barebone (no OS) fashion but that is rarely done. To leverage the power of these 500MHz+ behemoths in a reasonable  and convenient way, you really need to have them running somesort of OS.

50%
50%
dimonic
dimonic
8/14/2012 2:06:08 PM
User Rank
Program Manager
Re: Does the Pi fit into this
Thank you for the general orientation. I think I see see the distinction now -

Arduino (and other non-mmu micro-controllers) would not run a full featured OS (lacking an mmu), which is an advantage for small footprint, real time, low power projects,

whereas

Pi (and other mmu processors) needs an OS, lacks true full real time support but thereby enables a ton of libraries and development environments.

 

But they can share the instruction set - is that more or less it?

50%
50%
halherta
halherta
8/14/2012 12:50:18 PM
User Rank
Program Manager
Re: Does the Pi fit into this
I think that this discussion pertains to non MMU based microcontrollers based on the ARM Cortex-M cores.

Having said that I think with boards like the beaglebone, Raspberry Pi and the Olinuxuino boards, i.e. MMU based microprocessors/SOCs, will be used more often by hobbyists and will be more pervasive in the field of Embedded Systems.

Non MMU-based Microcontrollers typically run barebone code i.e. code that does not need a heavyweight OS i.e a simple superloop, superloop with interrupts, state machine architectures. More sophisticated designs use a simple scheduler or maybe an RTOS.

On the other hand MMU-based Microprcessors typically need to have an OS like Linux or Android installed. The application then runs via the OS so its a different category.

Ofcourse when using an OS such as Linux in an Embedded System, the real-time requirements will have to be relaxed since most Linux implementations are not as responsive as a barebone/RTOS implementation. On the other hand with Linux there's no need to worry about configuring/installing libraries such as USB and TCP/IP stacks which are already included with the OS.

Another great aspect of using Linux Android OS is that the development software i.e. compilers debuggers, IDE etc are all free!

50%
50%
dimonic
dimonic
8/14/2012 11:16:34 AM
User Rank
Program Manager
Does the Pi fit into this
It would seem to me that the Raspberry Pi should factor into this space - a 32 bit Arm CPU with 17 programmable GPIO pins, I2C and UARTs on a Broadcom SOC for $35 - at least as a prototyping board.

 

 

50%
50%
embd_dragon
embd_dragon
8/10/2012 5:47:03 PM
User Rank
System supervisor
Re: Cortex-M0
A smoother movement from Arduino to Cortex-M0 is the Mbed board. Its community is kind of huge, it's well supported board with lots of libraries, and programms are written in C++. There are also other options around like Discovery boards from ST. The drawback with these boards are their code-size limit for the free edition, which is 16KB. LPCXpresso is a good option both in hardware and software, 'cause the limit size-code is 128KB.

50%
50%
Rich Quinnell
Rich Quinnell
8/10/2012 1:44:22 PM
User Rank
Blogger
ARM M0 training series
Since the M0 is mentioned here, I thought I should point out that Design News is running a series of 5-session courses on a variety of topics, and the upcoming series (Aug 20-24) is on the ARM Cortex-M0. You can find the descriptions here:

DAY 1: The 8 / 32 Bit Difference, an Overview

DAY2: CORTEX-M0 Structure, Discussion 1

DAY3: CORTEX-M0 Structure, Discussion 2

DAY4: CORTEX-M0 Structure, Discussion 3

DAY5: CORTEX-M0 in Commercial Components, Summer 2012

This course is part of the "180 Days of Education" that DigiKey is sponsoring on the site. The courses are 45-minute webinars with a chat component so you can ask questions live. You can also access archived webinars as well as the presentation materials after they are over. 

50%
50%
duanebenson
duanebenson
8/10/2012 11:44:16 AM
User Rank
Blogger
Re: Half sttep
Carrigan - I'm with you that the $60.00 price can certainly be an impediment. But I'd say that the value comes in the completeness of the solution. Definitely not for high volume low-cost use, but as an educational tool that completeness and polish can make a big difference.

I can also see the mbed being a very good value for engineers from other disciplines that need to electronify something. e.g., a chemical engineer tasked with automating the control of a valve.

50%
50%
carrigan
carrigan
8/10/2012 9:06:25 AM
User Rank
Blogger
Re: cortex-m4 Launchpad
I have not tried my luck with any of the Stellaris chips for the same reason- there is no easy supply. For $5 you cannot go wrong though, I'll definitely be picking one up. Thanks for the link!

50%
50%
carrigan
carrigan
8/10/2012 9:04:05 AM
User Rank
Blogger
Re: Half sttep
I love the Mbeds for prototypes or one time use projects. The online compiler that allows you to access code generated by others helps get projects up and running in no time at all. At $60 each for the M3s though I would certainly not recommend these for any project where more than one would be built.

50%
50%
halherta
halherta
8/9/2012 2:27:21 PM
User Rank
Program Manager
Re: Cortex-M0
vish2207,

Agreed that LPCXpresso is the best and most complete low cost board + IDE + dev environment with Debug support out there (for now). There are even two LPCXpresso cortex-m3 boards for the LPC1343 and the LPC1769 for those who would like to move from the cortex-m0 to the cortex-m3 family.

50%
50%
Page 1 / 3   >   >>
More Blogs from Brian Carrigan
Some day, someone (maybe you) will have to go back to an old project of yours and try to figure out how it worked and how to change it. Planning for project maintenance will pay off handsomely.
Programming video-game actions and using a Raspberry Pi with such games can inspire students to pursue careers in computer science or electrical engineering.
Brian Carrigan tests the assertion that C++ is a bloated stepchild of C.
As developers move to more powerful MCUs, they should consider moving to a more powerful programming language.
Genetic algorithms provide a powerful but nontraditional way of finding optimum solutions to design problems.
flash poll
MC on twitter
like us on facebook
Microcontroller Central    About Us     Contact Us     Help     Register     Twitter     Facebook     RSS