On Oct 27, 2011, at 2:20 PM, Amardeep S Chana wrote:
Though I've overcome it now (mostly), I had a very
strong bias against PIC
for many years mainly because of the technologically inbred nature of many
of their fans.
Indeed. It was a great thing in the '90s, when it was pretty much the only one easily
available to hobbyists (partly because it was so damn easy to make a bit-banged programmer
that hooked to the serial port). I can't imagine why you'd seriously consider it
now when the AVR has come such a long way (especially with the XMEGA line, which is even
better on power than the MSP430).
A few years back I started a new job to work on a
project to replace an
aging PIC-based door access control module. The new platform had already
been selected by the time I started: ColdFire running an RTOS. This was
driven mainly by the fact that the new parent company had a commercial line
of HVAC controllers based on that processor. Not a bad choice but the
dreams of code re-use were mostly unfounded.
I love the Coldfire, but it's probably because of my 68k fetish. Really nice stuff,
but even the Coldfire+ isn't keeping up with ARM development so well these days.
Interestingly, it turns out one of the reasons I was
hired was to backfill
the fan-boy who resigned in a huff because a PIC-32 wasn't selected.
We actually did select a PIC32 for a project, but it had nothing to do with it being
related in any way to the PIC (which it's not). It just happened to be the only micro
available (at the time) which had six UARTs, two CAN interfaces and an SPI interface that
could all be used at the same time. It's actually a nice piece of hardware, but
people pick (or dismiss) it based on the name a lot more than the merits.
The punchline: the customer eventually shot the idea down because they wanted us to add
the functionality into the (already overcrowded) FPGA instead because they
"didn't want the hassle of maintaining the software". Clearly they've
been drinking amnesia potions, because we've done two arduous FPGA projects with them
so far, certainly enough for them to recognize the FPGA as more of a headache source than
software.
As it turned out, we ended up spending $100K in NRE to design in a newer, larger FPGA and
it cost about $5-10 more per board (in quantities of 10K+ units; this is the sort of
project where they argued us down from better switching regulators to save a few pennies
per board). Then the project was canned by the client before we even got to trying to
bang more UARTs into the FPGA because of money problems (imagine that).
- Dave