Hi all,

 

Sorry for the inconvenience. I think I figured it out.. for some reason Keil/SDCC creates a 15KB file containing only 3KB worth of program code. I am clueless why exactly this is, because some other example (called Blinky) that came with the development board results in a 1KB hex file, not a 15KB file with 1KB program code in it. If anyone can clarify the situation… at least I still have 13KB available now to do development which is what I was mostly worried about J

 

Thanks,

Bert.

 

-----Original Message-----
From: sdcc-user-admin@lists.sourceforge.net [mailto:sdcc-user-admin@lists.sourceforge.net] On Behalf Of Bert Schiettecatte
Sent: woensdag 6 augustus 2003 0:18
To: sdcc-user@lists.sourceforge.net
Subject: [Sdcc-user] c8051f320 memory limit and compilers...

 

Hi all,

 

I have a question about Cygnal’s C8051F320 USB microcontroller and SDCC/Keil compilers. When I look at the USB_INT example code that comes with the development board, the hex file is almost 16KB. Does this imply that the memory of the microcontroller is almost completely full with the USB code and that there is no space left for any other code? The really strange thing is that the Keil compiler that comes with the kit is limited to 4KB, but the hex file is 15KB… I must be missing something here? If the memory is indeed full already, what are the options for expanding the memory or reducing program size? The hex file resulting when compiling with SDCC is pretty much the same size (the USB_INT SDCC port by Josh Stone).

 

Thanks in advance,

Bert.

 

PS: sorry if this is a little off-topic.

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003