ATMega88PA header files?

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am unsure of what header file I need to include to use the IO as the normal avr/io.h does not work, it gives me an unknown type error as the 88PA is not in the MCU list of micro's. Does anybody know what header file I need to include for the IO on the 88PA? I cannot find any mention of using something different in the data sheet nor in avr studio. Its quite frustrating as I can't really do much of anything with it since I don't have access to basically any io. I have studio 16 (build 638), newest one on their site. I'm not sure if the proper header file might be included in a new compiler or if its part of a library in studio? I'm just starting to learn programming, so if this is blatantly obvious I apologize.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think, the A-types are only different in production (smaller chip size).

So you should select the ATmega88p as target.

Peter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I had thought about that, but I was thinking the fuse bits were different, and it allows me to select the PA, not sure why they would not just make a duplicate profile for the PA? Its a little confusing the way Atmel goes about integrating some of their new chips. I'll try that and see if it works. Anyone else have any other thoughts on this?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ThEThInG wrote:
I had thought about that, but I was thinking the fuse bits were different, and it allows me to select the PA, not sure why they would not just make a duplicate profile for the PA?

Since they are not clairvoyants. :)

The latest WINAVR was from March, but the ATmega88PA datasheet from June. :!:

I see also no reason to deal with fuse bits inside the compiler.
The fuse bits can only be set with the programmer.
Also the fuses are not placed inside the code space and thus no chance to set the fuses already inside the HEX-file.

Peter