1
\$\begingroup\$

I'm a Microchip guy, but I'm helping a customer out with an Atmel project using the ATmega88PA project they inherited from another division. I'm using AVR Studio 5 and I would like to compile the fuse selections into the source code and eventually hex file. How do I do this?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

You can't, they have to be set in AVR Studio.

If you use the AVRdude utility, programming and fuse settings can be automated with makefiles.

\$\endgroup\$
6
  • \$\begingroup\$ So, how do you setup production for these chips? Is there another fuse setup file I have to generate? \$\endgroup\$
    – kenny
    Commented Apr 6, 2011 at 18:32
  • 1
    \$\begingroup\$ Either save the fuse options as command line values or in a file as is described here: electrons.psychogenic.com/modules/arms/art/14/… and also fuse calculator here: engbedded.com/fusecalc \$\endgroup\$
    – AngryEE
    Commented Apr 7, 2011 at 0:08
  • \$\begingroup\$ @kenny That is a good question (maybe you should ask it). We use a command line programmer and call it with the correct fuse bit settings from scripts (each product gets a new script) but we are a rather small shop. What do the big guys use for AVRs? \$\endgroup\$
    – jpc
    Commented Apr 7, 2011 at 0:18
  • \$\begingroup\$ @AngryEE and @jpc, thanks. I didn't realize those command line tools existed. And I see that AVRDude is a console application now. \$\endgroup\$
    – kenny
    Commented Apr 7, 2011 at 10:53
  • 1
    \$\begingroup\$ Gang programmer, ha! He'll set a fuse in yo chip. \$\endgroup\$
    – AngryEE
    Commented Apr 7, 2011 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.