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.
Hello, I've got a problem with the compilation of a programm with Keil C51 v6.14. Perhaps someone has an idea, which might help me. The Problem: We've got a sourcecode, from a third party person, who has programmed it for us. The person says, she had programmed it on Keil C51 v3. He also has sended as a binary, which should be build of the source. But the problem is, if we download the binary to our hardware, it works fine. But if we compile the source self and download it, it doesn't work. If we change the otimization settings, the reactions of the hardware totally differ. Now is my question, can I set the v6.14 to compile like a v3? Thanks in advance for helping me. Henning Veller
Have you checked that you are using the same set of options as was used by your 3rd party? Things like Memory model, integer promotion, register bank usage spring to mind. Did your 3rd party say it would work with v6.14?
I have had the same problem with bringing software developed by an outside consultant in-house and compiling with a different version. It took a while, but finally I found that the software had flaws that only showed up when the timing changed due to a different compiler version. What you see is a typical symptom of software written by coders with no understanding of the underlying hardware. Erik