Author Topic: Programming AVRs without AVR Studio?  (Read 28830 times)

0 Members and 1 Guest are viewing this topic.

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #25 on: January 31, 2014, 02:04:44 am »
...With that said, if I'm ever on the mac or linux box I just use avrdude. I don't know what else you guys were mentioning, I always thought avrdude was a standalone command line tool but who knows...

Averdudes is a gui frontend for averdude.

https://www.adafruit.com/blog/2013/02/19/avrdudess-a-gui-for-avrdude/
 

Offline VK3DRB

  • Super Contributor
  • ***
  • Posts: 2262
  • Country: au
Re: Programming AVRs without AVR Studio?
« Reply #26 on: February 01, 2014, 02:38:57 am »
Studio 6 is bloated. But look on the bright siode, it could be worse... it could be Apple iTunes (bloatware with bonus crapware, idiotic, unintuitive and downright annoying).

If you are using GCC and are using an antiquated PC, try 4.81. Works OK for me except annoyances like switching between two projects and the Studio remembers the last hex file, so it is easy to program in the wrong hex file. Other than that it works reasonably well.

If you are using a great compiler like CodeVision AVR, it will only integrate properly with the bloated AVR Studio 6.1 or higher.
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #27 on: February 01, 2014, 11:22:15 pm »
avrdudess
Nice pun, hopefully no one finds it a little sexist... :P

that was not a pun or typo but 100% accurate. its well known ladies prefer gui and must suffer bloat as a result. dudes use cmd line interface. seriously, more reliable and easier in the long run with batch files dressed up as desktop icons for the kiddies.

not to mention 1000 times more efficient in terms of pc resources and speed. literally.
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #28 on: February 02, 2014, 02:49:49 am »
[that was not a pun or typo but 100% accurate. its well known ladies prefer gui and must suffer bloat as a result. dudes use cmd line interface. seriously, more reliable and easier in the long run with batch files dressed up as desktop icons for the kiddies.

I don't mind command lines if they come with a good GUI front-end  ;-)
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8420
Re: Programming AVRs without AVR Studio?
« Reply #29 on: February 02, 2014, 02:05:05 pm »
avrdudess
Nice pun, hopefully no one finds it a little sexist... :P

that was not a pun or typo but 100% accurate. its well known ladies prefer gui and must suffer bloat as a result. dudes use cmd line interface. seriously, more reliable and easier in the long run with batch files dressed up as desktop icons for the kiddies.

not to mention 1000 times more efficient in terms of pc resources and speed. literally.
Actually... I use AVRDUDE and I'm not a dude :-DD
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #30 on: February 02, 2014, 09:40:20 pm »
wonderful, its always great to see people break free from gender stereotypes. well... maybe does depend on which direction you cross over... like i said cmd line is more productive and less bricked avrs. some leave the gui fold for cmd line but few go back the other way.

True, but a CPU second not used is lost forever.

technically computation requires heat and heat is the enemy of long life. running gui intensive apps or heavy crunching my fan runs continuously. debug cycling with text editor, winavr, avrasm, and downloading it stops after the first minute and stays off. thankfully i spend 99% of my time in that latter mode. easier on not only the fan but the cpu too.
« Last Edit: February 02, 2014, 09:43:52 pm by paulie »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #31 on: February 02, 2014, 09:46:48 pm »
Quote
like i said cmd line is more productive and less bricked avrs.

Yeah, right, :)

================================
https://dannyelectronics.wordpress.com/
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #32 on: February 02, 2014, 10:20:46 pm »
sorry mam  ;), but that happens to be true. as teaching assistant and member of two ham clubs ive had the opportunity last couple years to set up nearly 300 individuals for avr programming. before i adopted the cmd line batch file approach bricking chips was pretty much a daily occurrence. now once a week or month is unusual. as far as productivity one can compile or assemble with a single keystroke instead of drawing down menus and clicking yourself to death. there is a reason they are called "shortcut" keys.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8177
  • Country: de
  • A qualified hobbyist ;)
Re: Programming AVRs without AVR Studio?
« Reply #33 on: February 02, 2014, 10:38:56 pm »
I'm using make, avrdude and avr-gcc:
- "make" to compile
- "make upload" to flash
- "make fuses" to set fuses

I don't even have to click anything  >:D
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #34 on: February 02, 2014, 10:49:32 pm »
hi markus, thanks again for your help with that lcr tester.

i have a suggestion: instead of "make", "make upload", "make fuses" try 'm', 'u', and 'f' for less wear and tear on those little pinkies. i got another one: except for fuse put "-F" in all the commands. saved me a huge amount of time babysitting students who were confused by dudes overly protective signature check.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #35 on: February 03, 2014, 12:06:49 am »
Quote
that happens to be true.

I have no doubt that that is true for you.

It would be unwise to generalize it to others.
================================
https://dannyelectronics.wordpress.com/
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #36 on: February 03, 2014, 08:05:36 pm »
i think its ok to say you dont "like" to do things a certain way or its not to everyones "taste". but an efficiency expert standing there with stop watch and poking through the trash bin might be in a position to do just that.... generalize. it turns out efficiency and waste are quite easy to quantize... just not very popular.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #37 on: February 03, 2014, 08:27:38 pm »
Quote
but an efficiency expert standing there with stop watch and poking through the trash bin might be in a position to do just that.... generalize.

Sure. Presummably that it is well established that:

1) this "efficiency expert" is really what he said he is, and
2) he has studied enough of the subjects, and
3) his conclusion is applied to this group of subjects or like subjects, not some totally different subjects, and
...

The risk to generalization is that people don't always remember the caveats that made the generalization possible.
================================
https://dannyelectronics.wordpress.com/
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #38 on: February 03, 2014, 08:35:49 pm »
i think its ok to say you dont "like" to do things a certain way or its not to everyones "taste". but an efficiency expert standing there with stop watch and poking through the trash bin might be in a position to do just that.... generalize. it turns out efficiency and waste are quite easy to quantize... just not very popular.

I would bet 10 to 1 that your efficiency expert will use GUI tools like Excel and not command line tools. 

Just saying...  ;-)

GUI programs are sometimes useful.

(I am a heavy bash + vi + linux user so no bias here)
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #39 on: February 03, 2014, 10:39:27 pm »
GUI programs are sometimes useful.

absolutely. imagine trying to layout a pcb or edit video with cmd line. however imo things like compiling and flashing are best done with a single key rather than playing with mouse and pretty icons. but then i tend to be goal oriented and usually need to get things done asap. when it comes to fun have other outlets. to each his own.
 

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Programming AVRs without AVR Studio?
« Reply #40 on: February 05, 2014, 03:52:17 am »
avrdudess
Nice pun, hopefully no one finds it a little sexist... :P

that was not a pun or typo but 100% accurate. its well known ladies prefer gui and must suffer bloat as a result. dudes use cmd line interface. seriously, more reliable and easier in the long run with batch files dressed up as desktop icons for the kiddies.

not to mention 1000 times more efficient in terms of pc resources and speed. literally.
Actually... I use AVRDUDE and I'm not a dude :-DD

Is avrdude basically just avr-dude? or does "dude" stand for something other than "agent"?
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #41 on: February 05, 2014, 04:19:02 am »
Actually... I use AVRDUDE and I'm not a dude :-DD

Or maybe you are ;-)

According to wikipedia "the word can encompass all genders".

http://en.wikipedia.org/wiki/Dude
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #42 on: February 06, 2014, 04:16:25 pm »
Is avrdude basically just avr-dude? or does "dude" stand for something other than "agent"?

AVRDUDE - AVR Downloader/UploaDEr

( http://www.nongnu.org/avrdude/ )
 

Offline DomesticHacks

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
    • DomesticHacks
Re: Programming AVRs without AVR Studio?
« Reply #43 on: February 06, 2014, 04:26:08 pm »
I use AVRDUDESS which is in my opinion the best GUI for AVRDUDE:
http://blog.zakkemble.co.uk/avrdudess-a-gui-for-avrdude/

It's written in .net so it should run under OSX (with mono).
Interesting projects, tipps and tricks (in German).
DomesticHacks on YouTube: https://www.youtube.com/DomesticHacks
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #44 on: February 06, 2014, 05:23:35 pm »
I use AVRDUDESS which is in my opinion the best GUI for AVRDUDE:
http://blog.zakkemble.co.uk/avrdudess-a-gui-for-avrdude/

It's written in .net so it should run under OSX (with mono).


Did you have success running on OSX? Did not work for me but works very well on Windows 7.

BTW, is there a way to persist the programmer selection? I need to select it from a long list each time I start AVRDUDES.
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #45 on: February 06, 2014, 07:06:09 pm »
lol... i wont say it.
 

Offline vvanders

  • Regular Contributor
  • *
  • Posts: 124
Re: Programming AVRs without AVR Studio?
« Reply #46 on: February 07, 2014, 02:14:13 am »
GUI programs are sometimes useful.

absolutely. imagine trying to layout a pcb or edit video with cmd line. however imo things like compiling and flashing are best done with a single key rather than playing with mouse and pretty icons. but then i tend to be goal oriented and usually need to get things done asap. when it comes to fun have other outlets. to each his own.
I'm not really understanding all of the AVRStudio hate here. VS is a very solid and industry standard IDE. I don't spend any time using the pretty icons or mouse(use the shortcuts!). If you enjoy vi text navigation then there's a very well done vi plugin. I spend most of my time at work in vi but given the choice I'd take VisualStudio over Eclipse or command line.
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Re: Programming AVRs without AVR Studio?
« Reply #47 on: February 07, 2014, 03:29:33 am »
I'm not really understanding all of the AVRStudio hate here. VS is a very solid and industry standard IDE. I don't spend any time using the pretty icons or mouse(use the shortcuts!). If you enjoy vi text navigation then there's a very well done vi plugin. I spend most of my time at work in vi but given the choice I'd take VisualStudio over Eclipse or command line.

Hate is a strong word.  I just want a program to program avrs from hex file but with avr studio I need to install tons of stuff and then rib a over crowded window just to lunch the programmer. That's a clear case of bloatware. Why don't the provide the avrisp mk2 software as a separate program?

Sent from my Nexus 5 using Tapatalk

 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Programming AVRs without AVR Studio?
« Reply #48 on: February 07, 2014, 08:44:40 pm »
actually they do. last count there were 3 separate utilities which were the foundation upon which these monstrous graphics shells depend. iirc one is called avrisp.exe or similar. it took several hours to locate it buried in as4 and that was with online help. i shudder to think what it would take to dig those out of as6 which is an order of magnitude bigger. oh yeah... no drawback to bloated dev environments.

for me avrdude does the trick when forced to work in protected mode but 99% of my programming is done from real mode (dos98) using a turboc utility i wrote years ago.
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Programming AVRs without AVR Studio?
« Reply #49 on: February 07, 2014, 09:18:05 pm »
actually they do. last count there were 3 separate utilities which were the foundation upon which these monstrous graphics shells depend. iirc one is called avrisp.exe or similar. it took several hours to locate it buried in as4 and that was with online help. i shudder to think what it would take to dig those out of as6 which is an order of magnitude bigger. oh yeah... no drawback to bloated dev environments.

for me avrdude does the trick when forced to work in protected mode but 99% of my programming is done from real mode (dos98) using a turboc utility i wrote years ago.

Do you remember avrisp.exe was a file on its own after you installed AVR studio?

I have a nice Acronis utility that allows to restore disk state to a prior point. If it is a file by itself, I can installed everything again (already did twice), locate the file and restore my disk.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf