I ask this question, because i have some problem
with my code. I use the 8051 library for a AT89C2051
device. SDCC compile ok, but when i try to program
the device with the .ihx file, my software programmer
detect a incorrect checksum. I think at the beginning
my machine configuration was not compatible with sdcc.
When i remove some part of the code, there no checksum
error. I don't know if i forgot to configure some option
or there a bug in SDCC. Does someone have already
occured the same problem?
Here the commande i use to compile my file
sdcc -mmcs51 --model-small -c blink.c
sdcc -mmcs51 --model-small blink.rel
packihx blink.ihx > blink.hex
the SDCC version i have is
sdcc 2.3.5 (Jun 1 2003)
It compile ok with no error and no warnings.
I have a incorrect checksum when the i tried
to program to the device.
I post my code.
De : sdcc-user-admin@...
[mailto:sdcc-user-admin@...]De la part de Bernhard
Envoy=E9 : 2 juin, 2003 03:40
=C0 : sdcc-user@...
Objet : Re: [Sdcc-user] linux kernel for using SDCC
> newbie question, i have slackware 8.1 with kernel 2.4.18. Does i ca=
> with this configuration.
SDCC doesn't depend on the kernel. The snapshot binaries need some
C-libraries, which are most likely already installed on your box.