We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all I've just started using Keil C51. The first thing I did was to try an compile an example which I already had its hex file(this was compiled by Keil as well). the problem is that when I comiled the source code using Keil it compiled and linked fined and generated a hex file, however, this hex file is not working as expected ... I made sure that I am using the right device and the right configuration. can anybody help? Thanks
hi, this hex file is not working as expected ... Could you explain, please? By the way, what device do you use? Regards, Oleg
1) if two different releases of C51, the .hex will be different. 2) if full vs eval, the files will be different. Either should be the cause. Erik
hi Oleg I am using AT89S8252. Yesterday,I viewed the hex file using a the programmer I am using. With the working hex file, the program starts at the address 00000 and finishes at 000E0, however for the compiled one (using C51) I get the same program but it starts from 00800 and finishes at 008D8 ... there is some diffrences at the start and the end of the code but the code is the same. !! This code should count up from 0 to 9 and display these digits on 7 seg display. I think that there is problem with the compiler maping ... Any ideas C gurus... thanks
http://www.keil.com/demo/limits.htm