1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry in advance if this is a noobie question. I have been a lurker on these forums for a while and have just decided now I need to start getting more involved both in the community and with the various things i want to get done... so here goes.

I have a dragon already and can easily play around writing to tinys and megas I have in my box. I've recently needed to get an USBasp as they were cheap, and I needed to burn the bootloader back onto a Leonardo after disabling interrupts (very bad on Leonardos >.<)
So the waffle aside I want to get this USBasp working in AtmelStudio and found this page (http://dthoughts.com/blog/2014/0...) which is very helpful.

1, Does this use AVRdude to compile the code, or does AS7 still do that and then use AVRdude only for the writing?
2, You can see the arguments he suggests to give to AVRdude which include manually specifying the target device, is there not an environment variable that contains this already? Then AS7 would just fill in whatever the projects target was when you hit "go"?

and this one is a long shot...
3, Is there no 'better' way to get the USBasp working properly in AS7, from the device programming dialogue like the dragon does? Can it be flashed or fooled into working like an AVRisp perhaps?
3a, if not... then how do I set the fuse bits when using the USBasp in AS7? upto now I've used the dialog in AS7 to do this when using the Dragon, I know AVRdude can take a CLI argument to write them but does AS7 know this, or is there a special header needed or some other step to change these?

At the end of the day, if it won't work 'easily' I'll just use the dragon anyway, but if this USBasp works then its a back up, or in those "the dragon is in the box that needs me to stand up to reach" moments.

Thanks in advance to anyone who can offer a little help or insight here.

Last Edited: Fri. Mar 2, 2018 - 09:46 PM