views:

371

answers:

4

Hello all,

I've been trying to learn embedded software development for some time (been doing software for almost 15 years, 10 in Java, plus good knowledge of C/C++/X86 Asm from College.) Started playing with a PIC-based evaluation board just for kicks.

Where I work, there is a dept. they have some openings on embedded systems from time to time. One of the things they look for is experience with PowerPC architecture.

I've looked over the interweebz for cheap evaluation boards with PowerPC chips, but all I've found are boards between $400-$1000 and above. I wonder if there is a cheap way to learn embedded systems on a PowerPC architecture since I've seen evaluation boards for other architectures for a fraction of that price range.

Or, if an eval. board is not available at affordable prices, at least a cheap platform in which to practice programming in PowerPC assembly (even if it's not embedded.)

Anyone that could pitch some suggestions?

Oh, and if you could recommend some books on PowerPC architecture and programming, that'd be great, too.

Thanks.

+3  A: 

You could go the emulation route. I run qemu-ppc to test out my compiler:

[~/ecc/ellcc/test/source] main% cat write.c
int main(int argc, char** argv)
{
    write(1, "hello world\n", sizeof("hello world\n") - 1);
}
[~/ecc/ellcc/test/source] main% ~/ecc/ellcc/bin/powerpc-elf-ecc write.c
[~/ecc/ellcc/test/source] main% ~/ecc/ellcc/bin/qemu-ppc a.out
hello world
[~/ecc/ellcc/test/source] main%

There's no reason you couldn't do assembly programming with it. qemu-ppc emulates a ppc Linux process. qemu-system-ppc emulates a powerpc system (it can boot Linux). I'm hoping to use that for stand-alone targets also but i haven't gotten that far, yet.

Richard Pennington
Thanks Richard. I will try using qemu for assembly as soon as I get home. If I can find a cheap powerpc board, that'd be even greater since that will help me learn the basic nuances of doing embedded work with them. Thanks!
luis.espinal
+5  A: 

Just get an old PowerPC Mac, anything from an old System 7 machine to whenever they stopped selling PowerPC ones.

http://www.google.com/products?q=g3+mac&hl=en&aq=f

http://www.google.com/products?q=original+imac&hl=en&aq=f

pib
Good suggestion - you can either run Mac OS X and use Xcode for development or alternatively there are various Linux distros which will run on a PPC Mac (I would suggest Yellow Dog).
Paul R
Thanks! I'm going with this suggestion, and I'm currently bidding for a Apple G4. It's a lot cheaper than a board, and with much more power (I can always use another linux server.)I wish I could have found a board, though, since there are things on embedded programming that I need to explore. But at least I will have a cheap platform with which to program in PowerPC assembly.Thanks!
luis.espinal
A tips for buying 2nd hand macs: Buy sub GHz machines with the memory you need, unless you absolutely sure it is common DDR,DDR2. Here 2nd hands PPC Mac Mini's 1.25GHz go for about Eur 200, with 512MB and a 40 or 80 GB HD.
Marco van de Voort
+2  A: 

I don't know as far as evaluation boards, but the Gamecube and Wii both run PowerPC processors. You can usually pick up a Gamecube used for $30, and there is a workable linux distribution and plenty of information at the GamecubeLinux Wiki

kersny
you can also buy a used playstation3 and install linux :-)
Nils Pipenbrinck
+2  A: 

+1 to the PPC Mac... that will be by far the most convenient way.

Or, if you want something new that you could use as a router, the Routerboard 600 series are PowerPC based: http://routerboard.com/index.php?showProduct=55

Andrew McGregor