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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/25/06 10:52
Read: times


 
#124982 - Problems
Responding to: ???'s previous message
Eric Tramel said:
the microcontroller shipped with a CD that contained a number of different #include header files for different derivatives under different IDEs, one of these being IAR. I went ahead and tried to compile an empty void main() with the included header, but, oh no, 100 errors!

First step must be to contact the CD supplier - maybe there's a corrected version?
Maybe they can tell you their "special tricks"
(altough Frieder's post doesn't make this sound hopeful)

It appears that the way the header file defined the SFR locations did not jive with IAR at all, even though this header was touted to be specifically for IAR!

Complain to the CD supplier!


It had to with the 'sfr' and 'bit' types not having definitions or being defined.

Maybe there's something missing from the CD, or they just forgot to mention some important step in the setup...?

Should I go through and manually create a new header for the IAR environment using the structure of the generic header and the addresses from the manufacturer's given header as a guide?

What does the IAR Manual say?



List of 19 messages in thread
TopicAuthorDate
Compiling for the 8051 Arch.            01/01/70 00:00      
   8051 Compilers            01/01/70 00:00      
      In what way do you go aground?            01/01/70 00:00      
         sdcc + mide            01/01/70 00:00      
      block diagram of 80c51 microcontroler            01/01/70 00:00      
         It is in the datasheet            01/01/70 00:00      
            ... or the so-called bible            01/01/70 00:00      
         Can't            01/01/70 00:00      
   Another vote for Keil            01/01/70 00:00      
      I'll also vote for Keil            01/01/70 00:00      
         Or Raisonance            01/01/70 00:00      
            re Keil and Raisonance            01/01/70 00:00      
   Actualy.            01/01/70 00:00      
   Going with IAR            01/01/70 00:00      
      boguous atmel header files, include compiler.h            01/01/70 00:00      
      Problems            01/01/70 00:00      
      IAR changed from v5 to v6            01/01/70 00:00      
         How very thoughtful of them!            01/01/70 00:00      
            Tools available            01/01/70 00:00      

Back to Subject List