Years ago, we submitted bugs to some GNU site, I think. Is that the way to do it now?
The segmentation faults I get tell me to submit the problem to Atmel. Atmel seems to have disappeared.
Just google "gcc Bugzilla"
Either GCC bugzilla, or microchip support (the case should reach our compiler team and they'll know if it's upstream or our issue)
(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)
The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.
Good point - if it's Atmel's own version of avr-gcc then the GNU folks may not be interested. By the way, for GNU (generic bugs):
Of course, however you choose to report it, the investigators will only be interested if you can provide a complete, compilable, minimal(!) example that demonstrates the issue. So cut down whatever you have to the smallest program that still exhibits the fault. (and I doubt the generic GNU people will be interested in an AS7 project! So you'd need to just give the complete compiler invocation at the point where the fault occurs).
I once got a segmentation fault on gcc: https://www.avrfreaks.net/forum/...
Actually I never checked if this was fixed, I forgot about it until seeing this thread.
Thanks guys. I will remove part of the project to see if it still gets the fault.
Well now, it seems I'm using a version of gcc from the Paleolithic era, but I guess the toolchain is up to date. If that's the case, how do I get the latest?
PS F:\Archiveable\AVR_butterfly\Xmega\test\Simple_usb_cdc_2> avr-gcc --version
avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.4.0_663) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If that's the case, how do I get the latest?
Linux - build it though 3.6.0 is a part of some distributions (current is 3.6.1)
macOS - Microchip Norway
"Dare to be naïve." - Buckminster Fuller
Well, if you are using AS6 or 7 you can add different versions of gcc as explained here: https://www.avrfreaks.net/forum/...
Pre-compiled modern (maybe too modern) versions of avr-gcc for windows can be found here:
I just installed Studio 1652. It works when I run from an admin account. When I run from a user account I get the wacky error message I've gotten from the first Studio 7 version. Back then, the problem was the .atsln, .cppproj and .xml files were read only. That ain't the problem now. Maybe I need to make some folders accessible from user accounts.
7.0.1645 may be better as it's released; if need be, can manually install extensions into 7.0.1645.
The changes between 1645 and 1652 are probably for new parts (tinyAVR 1-series, megaAVR 0-series), defect corrections, and new extension server URL.
Your first link in post #9 doesn't work today. I think that was the one for version 1645.
likewise with the Microchip compiler site though Microchip archive is functional.
An assumption is website maintenance.
I think I hit paydirt here: I googled it. No I actually Binged it.
Nope. 1645 has a problem similar to version 1652. It works as admin but not as user.
I just realized I do have this version installed on my secondary computer. I seem to remember that I had to go into C:/users/steve and delete something or change something.
It also seems I installed ASF on that 1645. Temporary insanity. I didn't install it here.
Yeah, this installation problem happened to me also.
The solution was to completely uninstall AS7, delete every directory it created, then install from the admin account. If you install from a user account as admin, entering the admin password, it doesn't install properly.
This problem was discussed here: https://www.avrfreaks.net/forum/... and in the last post I finally got it to work.
I don't know if it's the same issue you are having, though.
I got it! I did what El Tangas did. I didn't have to clean the registry. After uninstalling and rebooting and running as admin, I found lots of Atmel Studio folders and files in /users/. I deleted all files and folders with Atmel in the name except a few that wouldn't delete. Then I installed as admin.
From what I remember from months ago, there might have been only 1 or 2 folders that needed deleting.
I re-installed as admin.
When I started Studio as a user, I was expecting it didn't know my projects. Surprisingly it did. It showed them in "Recent". I must not have deleted everything. Maybe the recent projects are stored in the registry.
Anyway version 1645 is alive and well. The Solution Explorer is still bizarre. I only got one segmentation fault after rebuilding projects dozens of times. I didn't get any in a 5000 byte build. It only happened in a 30,000 byte build. I suppose Studio was having a good hair day. Only time will tell.
I must not have deleted everything. Maybe the recent projects are stored in the registry.
Currently functional :
© 2021 Microchip Technology Inc.