??? 05/17/09 04:46 Read: times |
#165434 - why 380 bytes when code is 1900 ? Responding to: ???'s previous message |
Andy
Thanks for your expert comments. This is helpful. However, I cannot suspect my target hardware board because I am able to run my other programs well that are larger in size than this new program that I am working. It is a standard target board that I have been using for quite some time. Its a simple board without any external RAM or other peripherals. Just the 89C52, xtal and power supply. Moreover, Keil sucessfully compiles my program and prints a message that my code is approx 1900 bytes, however when I try to burn the hex file, programmer detects and writes only approx 300 bytes, so basically I never reach that actual execution stage with my target hardware board. The same program works well on Raisonance simulator as well as my target board and the programmer happily detects and writes approx 1900 bytes on the chip. I have attempted to look at all the possible settings in Keil like 8K ROM, no external RAM, small mem model etc but programmer continues to detect only 380 bytes to write. However, thank you all for your expert comments. If your exeperience states that the Keil does actually send out explicit error message when I hit the limit, then I guess there is more work for me on this matter. Will continue the investigation.......... |
Topic | Author | Date |
Keil + Easy-Downloader : Large programs do not work !! | 01/01/70 00:00 | |
Evaluation Limitation | 01/01/70 00:00 | |
Yes, you are wrong! | 01/01/70 00:00 | |
Remember that the evaluation also adds an offset | 01/01/70 00:00 | |
but code starts at 0x2000 | 01/01/70 00:00 | |
Reading is Fundamental | 01/01/70 00:00 | |
Keil Eval is indeed the problem ! | 01/01/70 00:00 | |
I don't think that's true | 01/01/70 00:00 | |
Seems to be common to simulate with more memory | 01/01/70 00:00 | |
why 380 bytes when code is 1900 ? | 01/01/70 00:00 | |
problems | 01/01/70 00:00 | |
it starts at 2000 !! | 01/01/70 00:00 | |
of course it does - kind of | 01/01/70 00:00 | |
RE: it starts at 2000 !!![]() | 01/01/70 00:00 | |
Keil simulator | 01/01/70 00:00 |