Programming in C microcontrollers
Programming in C microcontrollers
(OP)
I 'think' I already know C language but would like to link my knowledge to programming microcontrollers e.g PIC,ARM,etc.
Does anyone know a free legal online website which shows ppl. how to program micro. using C. thnx
Does anyone know a free legal online website which shows ppl. how to program micro. using C. thnx





RE: Programming in C microcontrollers
There are forums for AVR, PIC, HC11, take your PICk (pun intended). Tons of free projects with schematics/code and descriptions.
Dan - Owner
http://www.Hi-TecDesigns.com
RE: Programming in C microcontrollers
http://www.experts-exchange.com/
I've used it for VB and .net applications, but its been years ago... I've not programmed in years now...Thank heavens!!!!
RE: Programming in C microcontrollers
For ARM:
gcc is pretty much becoming a standard. There is enough
folks working with it to iron out the bugs.
For PIC:
I like cc5x, a freebie and continues to be free for your
first commerical product, then for second and later
commercial products, it should be bought.
I tried sdcc a couple of years ago and it was too buggy
at the time. It might be better.
The freebie version has enough math packages and the
like for me. The commercial version has more.
The freebie I believe comes with 1,8,16,32bit integer AND
24 bit floating point.
There are a couple of c constructs that this compiler
doesn't support. One comes to mind from memory again
switch( variable++ ){
it balked on. So, I did
switch (variable) {}
variable++;
there have been only two or three of these gottchas
that I've run across. On the whole a good package for
the price. Many of the pics are supported and it
is extensible (you can make up the header files for
new pics).
The linker is poorly documented, but you can do 8K
of programs while haveing them cut up into 1K chunks
and linking it afterwards. Again, this is the free
version, the paid one might be better.
Hope this helps.
Cheers,
Rich S.
RE: Programming in C microcontrollers
h
RE: Programming in C microcontrollers
Use the free MPLAB integrated development tool and buy(?) the C compiler from Microchip(very reasonably priced).
Get an ICD2 that will plug into and allow you to easily debug the processor on the PICDEM 4. (It works in concert with the MPLAB).
Or get any other dev board that may be closer to your ideals, and just start programming.
http://
Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com
RE: Programming in C microcontrollers
htt
RE: Programming in C microcontrollers
Takes all kinds I guess.
Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com
RE: Programming in C microcontrollers
RE: Programming in C microcontrollers