include files device descriptions are where?

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

Chances are if I continued to dig I'd eventually find this. However, it'd be easier just to ask, as I'm sure many of you know.

.include "8515def.inc" ; Includes the 8515 definitions file

But what if I want to use another device? It's important to know the file I want to include, but I can't seem to find a list of the files of the various devices. Nor do I know where the files are located.

Would you please help me out?

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

Hit the search button on the menu in windows explorer and type the name of the file you want to find in the blank line.

Imagecraft compiler user

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

Default file location:

“C:\Program Files\Atmel\AVR Tools\AvrAssembler2\Appnotes”

Patrick.

Edit: Ack, simultaneous post.

It is by caffeine alone I set my mind in motion.
By the Beans of Java my thoughts acquire speed,
My teeth acquire stain, my hands acquire shaking,
The shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

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

Quote:
.include "8515def.inc" ; Includes the 8515 definitions file
The default file location is as above. However you don't need to include the path, just the include file name. (I guess you need to know the correct name, that's why you want to know the location)

Of course this is for assembler2, which is advisable to use. If you want to still use assembler1 then the path is different C:\Program Files\Atmel\AVR Tools\AvrAssembler\Appnotes

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

A simple little VB program gives the following results (Assembler2):

can128def.inc              AT90CAN128
m1281def.inc               ATmega1281
m128def.inc                ATmega128
m161def.inc                ATmega161
m162def.inc                ATmega162
m163def.inc                ATmega163
m165def.inc                ATmega165
m168def.inc                ATmega168
m169def.inc                ATmega169
m16def.inc                 ATmega16
m164Pdef.inc               ATmega164P
m2560def.inc               ATmega2560
m165Pdef.inc               ATmega165P
m2561def.inc               ATmega2561
m168Pdef.inc               ATmega168P
m323def.inc                ATmega323
m169Pdef.inc               ATmega169P
m3250def.inc               ATmega3250
m325def.inc                ATmega325
m3290def.inc               ATmega3290
m324Pdef.inc               ATmega324P
m329def.inc                ATmega329
m3250Pdef.inc              ATmega3250P
m32def.inc                 ATmega32
m325Pdef.inc               ATmega325P
m406def.inc                ATmega406
m328Pdef.inc               ATmega328P
m3290Pdef.inc              ATmega3290P
m48def.inc                 ATmega48
m329Pdef.inc               ATmega329P
m32U4def.inc               ATmega32U4
m640def.inc                ATmega640
m644def.inc                ATmega644
m6450def.inc               ATmega6450
m645def.inc                ATmega645
m6490def.inc               ATmega6490
m644Pdef.inc               ATmega644P
m649def.inc                ATmega649
m64def.inc                 ATmega64
m8515def.inc               ATmega8515
m8535def.inc               ATmega8535
m88def.inc                 ATmega88
m8def.inc                  ATmega8
pwm2def.inc                AT90PWM2
pwm3def.inc                AT90PWM3
pwm216def.inc              AT90PWM216
tn11def.inc                ATtiny11
pwm2Bdef.inc               AT90PWM2B
tn12def.inc                ATtiny12
pwm316def.inc              AT90PWM316
pwm3Bdef.inc               AT90PWM3B
tn13def.inc                ATtiny13
pwm324def.inc              AT90PWM324
tn15def.inc                ATtiny15
tn167def.inc               ATtiny167
tn22def.inc                ATtiny22
tn24def.inc                ATtiny24
tn25def.inc                ATtiny25
tn261def.inc               ATtiny261
tn26def.inc                ATtiny26
tn28def.inc                ATtiny28
tn2313def.inc              ATtiny2313
tn44def.inc                ATtiny44
tn45def.inc                ATtiny45
tn461def.inc               ATtiny461
tn48def.inc                ATtiny48
tn84def.inc                ATtiny84
tn43Udef.inc               ATtiny43U
tn85def.inc                ATtiny85
tn861def.inc               ATtiny861
tn88def.inc                ATtiny88
1200def.inc                AT90S1200
2313def.inc                AT90S2313
2323def.inc                AT90S2323
usb1286def.inc             AT90USB1286
usb1287def.inc             AT90USB1287
usb162def.inc              AT90USB162
usb646def.inc              AT90USB646
usb647def.inc              AT90USB647
2343def.inc                AT90S2343
4414def.inc                AT90S4414
4433def.inc                AT90S4433
4434def.inc                AT90S4434
8515def.inc                AT90S8515
8535def.inc                AT90S8535
can32def.inc               AT90CAN32
can64def.inc               AT90CAN64
m103def.inc                ATmega103
m1280def.inc               ATmega1280
AT86RF401def.inc           AT86RF401
m1284Pdef.inc              ATmega1284P
m32M1def.inc               ATmega32M1
usb82def.inc               AT90USB82
m32C1def.inc               ATmega32C1
m32HVBdef.inc              ATmega32HVB
m48Pdef.inc                ATmega48P
m88Pdef.inc                ATmega88P
ATxmega128A1_revDdef.inc   ATxmATxmega128A1_revD
ATxmega128A1def.inc        ATxmATxmega128A1
ATxmega64A1def.inc         ATxmATxmega64A1
m16HVAdef.inc              ATmega16HVA

Chuck Baird

"I wish I were dumber so I could be more certain about my opinions. It looks fun." -- Scott Adams

http://www.cbaird.org

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

Yep, that's what I wanted. Thanks!

Now my next quest is to figure out why Assembler2 would have advantages over (what I'm guessing is the first) Assembler and what the difference is between a p-device and a non-p-device. That I know of there were no p-devices back in 2002.

Then finally there's one other question I'd like to get answered. What is the operating temperature range of the AVR? For example, will an AVR work -40C to 70C? Granted, for my purposes right now I'm just looking at room temperature operation, but it'd be nice to have the AVR option later. I know I can freeze and burn Freescale's MC68HC711E9 for instance, but the AVR's development environment is soooo much better.

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

Check out the respective manuals for Asm1 versus Asm2 in the help files of Studio. Asm1 has the "complete manual" then Asm2 documents what's new/better/changed in that version. They only continue to supply Asm1 for backwards compatability of old projects. Anyone starting out would be mad not to choose Asm2 and ignore Asm1 completely

P=Picopower. This is a more modern form of AVR device (in part possible because of improved (smaller) silicon fabrication process. They have much reduced current consumption and there's more functionality within the chips to reduce power consumption stil further. If you are making a battery powered design it'd be madness not to conside Picopower devices but if the design is line powered you might as well pick whatever chip suits you unless you are a total tree hugger.

The temperature ranges of the devices are given in a table towards the back of the data sheet. For any particular model there are a number of suffix letters that may appear on the device code that show whether it's a "commercial", "industrial" or "automotive" designated device. The latter have wider operating ranges than the former. If you really expect to be working near -40C or +70C then you probably want to be considering industrial/automotive ones.

But if you aren't intending to put the AVRs in a freezer or furnace or under a bonnet (sorry, "hood") then why would it matter?

Cliff

EDIT: Just checked mega16 datasheet. In the "Ordering Information" section it shows:

Commercial: 0C..+70C
Industrial: -40C..+85C

Last letter of package designation: C=Commerical, I=Industrial(non RoHS), U=Industrial(RoHS)

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

Quote:
why Assembler2 would have advantages
It is a newer version and will support all current chips unlike V1.

You can also use a C like preprocessor with V2.

...and it's nicer.. :-)

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Wow! Thanks so much for continuing to respond even though the thread has started to drift off topic!

I have another question now, but I won't continue to pull this thread further away, so I'll post it out front. (look for SPI vs coding)

Thanks again!