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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/18/09 20:01
Read: times


 
#165473 - it starts at 2000 !!
Responding to: ???'s previous message
Andy Neil said:
Girish Nikam said:
I cannot suspect my target hardware board because I am able to run my other programs well...

That doesn't necessarily mean that there are no "issues" with the hardware - it might be that the issues just don't happen to cause any problems for those other programs...

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

I thought the problem originally was that your downloader was reporting more bytes than you expected?

Girish Nikam said:

No. If you look at my first message, the keil compiler generates code for approx 1900 bytes. However, I am expecting the programmer to write 2000 +1900 bytes, but it writes only 2383 bytes. As i said, the keil compiler seems to be generating hex files starting at 2000. Even a simple hello.c program when compiled and burnt makes the programmer writes 2200 bytes.

To make this simple, I will post a detailed message tomorrow with the exact bytes for a simple hello.c and a large program.

Is it possible that whatever you use to "burn" the hex file is working under the false assumption that the records in the Hex file must be in order...?

Girish Nikam said:
Sorry. I didnt quite get this. Can you please elaborate ?



List of 15 messages in thread
TopicAuthorDate
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      

Back to Subject List