Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/15/09 21:06
Read: times


 
#171638 - AT89C2051 C program download error
Hi,

I'm having trouble downloading a C .hex file to my AT89C2051.
I am using Keil µVision compiler.
When I have a program written in assembler, compile it, download the produced .hex file to the chip and connect the chip to my circuit, everthing works well.

However, when I create a C program, and try and download the produced .hex file to the chip, I get an error saying that the program file size is too large and to make sure I have selected the correct chip.

I have selected the correct chip, and my .hex file size is tiny (90 bytes) which is a lot less than 2K.

Can anyone tell me why I can't download the C .hex file using this utility, but I can using an assembler generated hex file.
This is the second flash utility I have used to try and do this!
Are there any settings that I should change in my compiler.

Any help would be very much appreciated.

Regards,
Ronan.

List of 2 messages in thread
TopicAuthorDate
AT89C2051 C program download error            01/01/70 00:00      
   Demo version of Keil            01/01/70 00:00      

Back to Subject List