Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 3rd September 2004, 06:06 PM   (permalink)
Default has anybody used SDCC for programming PICs

has anybody used the "Small Device C Compiler" for programming PICs in C??

i know that it is a text based complier and the open source software people are developing it but it seems promising.

u can find it here http://sourceforge.net/projects/sdcc/

a short description of the compiler from the above link

Quote:
SDCC is an open source retargettable, optimizing ANSI - C compiler. The current version targets the Intel 8051, Zilog Z80, Dallas 80C390, Motorola HC08 and Microchip PIC MCUs.
its good to know that i can program for a number of microcontrollers. and its free!!!!!!!!!!

now i dont want to start another debate on C Vs Assembly or Pascal or anything like that. i realize the importance of all programming languages and i respect the users of all programming languages (aint i good at making diplomatic statements 8) )

i just want to know that has anyone had experience with this compiler?
samcheetah is offline   Reply With Quote
Old 4th September 2004, 07:12 AM   (permalink)
Default

I know its possible, but i have had no luck. Problem is its not user friendly, if you dont know linux and are not used to command line apps then ur dead.

I will see if i can contact someone who knows, he used it with the PIC18F4xx series (or a couple of em). The PIC16Fxxx series is not supported, at least i do not think there are any libaries for it.

The main problem is a IDE, they have a windows version but it would be great if someone could write a tut for getting it to work in a IDE, even better if someone made a downloadable pre-fab setup
pittuck is offline   Reply With Quote
Old 4th September 2004, 12:33 PM   (permalink)
Default

SDCC is a very good idea but as already mentioned it is not very user friendly. Tried using it but in the end, took the easy way out and used PICCLite from Hi-Tech (extremely simple set-up and 16f877 is supported - with limitations on the Lite version).

On the IDE side, have been using Eclipse with the C/C++ plugin. With a make file, you can hide all the command line stuff ... sweet :P .
spirosd is offline   Reply With Quote
Old 25th August 2006, 12:56 PM   (permalink)
Default

I also use SDCC for p89v51rd2, not friendly user when compare with RIDE, Keil C. However, when I combine with MIDE (also free) it quite comfortable.
__________________
Microcontroller Programming:
http://mcu-programming.blogspot.com
uC - News, Resources and Tutorials
sci-3d is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 12:10 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.