complier c hex for atmel
wakaka said:
er....still dunno how to use SDCC. I really need a C-compiler on windows base, something like CCS PIC compiler, but for 8051.......
or anyone plz tell me how to use SDCC in winxp.....
thankx
Dear,
as Like as CMOS goto :
www.opcube.com/home.html and download M-IDE full
package,an IDE,SDCC,2 Simulators (TS COntrols & JSIM).It has simple usage,
write your code inside M-IDE & Press Build and everything is done.it also includes
SDCC Manual.
note :
for correct MCU header file after installation goto M-IDE installation directory-->SDCC Subdirectory-->include subdirectory-->mcs51 subdirectory
and find your microcontroller,For Example ATMEL AT89C55WD ---> at89c55.h or Atmel AT89S51 or AT89c51-->at89x51.h
add this line to your file : #include<at89c55.h> or #include<at89x51.h>
for I/O add this Line : #include<stdio.h>
for some mathematics: #include<math.h>
or you can goto KEIL.com or IAR.com for their eval-versions.
I personally prefer KEIL (Only for 8051) but IAR has a free Kicksatrt Edition that has
4K compiled code Limmit but Keil Eval limmit is 2K.IAR Kickstart is absolutely free.
IAR has Kickstart edition for both 8051 and AVR.
Good Luck!