Studio5 + AVRdragon = revert to studio4

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

I gave up on Studio5 & AVRDragon.

When I finally figured out how to coerce it to compile C++, it refused to program my parts. When I finally got it to program them, it refused to debug them. Once debugwire was enabled, it would program them if I was willing to wait for not one, but two messages "this is taking a really long time, do you want to quit or wait another minute?". Yes, it takes multiple MINUTES to download a hex file. Debugging worked, but there is no way I feel like waiting for 2 minutes to download a hexfile.

What a pile. :x

I reverted back to Studio4. It works fine. It lets me write in C++, it programs, downloads and debugs parts fast.

The only really irritating thing about Studio4 is that once debugwire is enabled, the only way to adjust the fuses is to run the low-level AVRDebug.exe program, as such:

AVRDragon.exe -dATMEGA328 -W

That command temporarily disables the debugwire so you can change the fuses.

You should know that if you try that same command on Studio5, you find out that Studio5 forces you to use a new AVR dragon firmware. Guess what, that new firmware is incompatible with the AVRDragon.exe program to disable debugwire. So: no way to disable debugwire, no way to change fuse settings.

On the plus side, deleting Studio5 gave me back 1.2G of disk space.

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

Quote:
The only really irritating thing about Studio4 is that once debugwire is enabled, the only way to adjust the fuses is to run the low-level AVRDebug.exe program, as such:

You can disable debugWire via the AS4 Debug menu.
Or via the regular AVRdragon.exe

Yes. I am sure you are better off with the devil you know. (AS4)

One day, AS5 will work ok. Then you upgrade the Dragon and stay upgraded forever. (because the other tools like AVRdragon.exe have been upgraded too)

Do not hold your breath.

David.

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

robin_hodgson wrote:

I reverted back to Studio4. It works fine. It lets me write in C++, it programs, downloads and debugs parts fast.

Not to hijack your thread, but I note you are writing C++ in AVRSudio 4, any chance you have experimented with porting over Arduino C++ code. Banging my head trying to get the code to work in AVRStudio.

-=Bryan=-

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

Quote:
You can disable debugWire via the AS4 Debug menu.

Jeeze. All this time I never noticed that option. Thanks!

Quote:
any chance you have experimented with porting over Arduino C++ code.

No, I wrote my own code that does a lot of that same sort of stuff, plus more. Are you having trouble with getting any C++ to work (which I have figured out with help from this site), or is is something specific to Arduino source?

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

Quote:
No, I wrote my own code that does a lot of that same sort of stuff, plus more. Are you having trouble with getting any C++ to work (which I have figured out with help from this site), or is is something specific to Arduino source?

Well, have had some luck converting over some basic Arduino projects such as the "Hello World" LCD, but I was stuck on porting over a larger more complex project. Seem to have quite a few isues with linker errors etc. I managed to have some good luck last night with the project. My issue was exactly as the following post with the resolution.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1269513491

I have found some good info on this post for various parameters to optimize the compiler settings etc

http://arduino.cc/forum/index.php/topic,62094.0.html

Project fianlly compiled and had a succesful build.
Think I am on the right track, certainly learning lot's

Cheers

-=Bryan=-

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

Quote:
deleting Studio5 gave me back 1.2G of disk space.
Good to know. Did you notice how many files were deleted too? I'm thinking about my antivirus scan that takes almost 2 hours, WITHOUT AS5, with just over 1 million files.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly