Posted by geksoftware: Mon. Aug 31, 2015 - 03:36 PM
1
2
3
4
5
Total votes: 0
Hi Am2008,
thank's for your good guidance. Installation works with Windows 10 pretty fine.
But i get a new Problem. I open the Example Project "SAM Timer/Counter Driver". Compile it with no Errors. But if i want "Debug" the Program i get the Error Message "Failed to Launch the Program. Error: The Service threw an unknown Exception".
Well Mr. Samperi, it seems you have found a silicon feature. I've done a quick search in the datasheets, but haven't found it mentioned anywhere. Anyway, the following behaviour is taken from the RTL:
When you write to DACA_CH0OFFSETCAL there is a check if you have written to DACA_CH1OFFSETCAL. If not, then the same value is also written to DACA_CH1OFFSETCAL. Same thing is also valid for DACA_CH0GAINCAL an DACA_CH1GAINCAL.
If you have problem with WIX Toolset, please download this archive: https://drive.google.com/file/d/.... The archive has all as-installer-7.0.305-full.exe files + Microsoft Visual Studio 2013 Shell (Isolated) Redistributable Package(vs_isoshell.exe).
It would be nice if you could add a variable to hold the project's current target device id. This would be useful in the configuration of external tools that need to know the device that is being used. (ie. avrdude)
Bug? right click on <avr/io.h> and select "Goto Implementation" should open the header file. This does not work. If you include something else, such as <util/delay.h>, "Goto Implementation" works as expected.
What possible reason can there be to make it more difficult for the developer to open a header file? (It's not impossible to view as I can always open it manually by File->Open->File and then navigate the folder tree to the file). I thought the IDE is meant to make the developers job easier, not harder.
Also, until that file is opened by the IDE, macros such as _BV(bit) appear as unknown with a red underline as if it is undefined. The file will still compile (the compiler is able to pull the file and find the macro definition).
Not being sarcastic. The file is parsed, but the GOTO was disabled by Visual Assist (the ones that parses all the header files etc). The reasoning was that this file is probably not the file you want to see, as you want the device specific IO header.
:: Morten
(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.
Not being sarcastic. The file is parsed, but the GOTO was disabled by Visual Assist (the ones that parses all the header files etc). The reasoning was that this file is probably not the file you want to see, as you want the device specific IO header.
So how about:
1) Tell the IDE about the macros defined by including avr/io.h
2) Tell the developer when they right click on the file and select "Goto Implementation" that this function is disabled on this specific file and that they need to manually open the file for their device. So the developer has to go find the device, then navigate the folder structure to locate the proper io*.h file. Never mind the fact that avr/io.h includes other header files not specific to devices ( such as _BV() )
Whoever decided that preventing the developer from opening a file is a good idea because it is "probably not the file they want" ... well, honestly I think they deserve a kick to the head. Never make assumptions about what your user wants to do.
(I'm trying the Atmel waters for the first time in my 15 year career as a software developer, and this, so far, has left me with a sour taste. I've never encountered such a ridiculous assumption in other IDEs)
If it's not clear, I think you should reconsider this feature.
Can you please make the I/O fields wider or remember that last setting used by the user?
My biggest annoyance with V6 is that it forgets everything when you close it. Normally Visual Studio remembers if you collapse code, how you set up the debugger window etc, but for some reason Atmel Studio doesn't.
The other thing is memory use. How much memory are you seeing V7 use? V6 uses about half a gig for a medium size project:
I mean... the RAM use isn't that much of a concern, it's just interesting that it's about 2x as much as Visual Studio. I wonder what Atmel added that uses ~256MB of ram.
I like the new features in AS6. Visual Assist in particular is rather good. Proper multi-monitor support is also welcome. It's just that my work machine is stuck on 6GB RAM max and Atmel Studio 6.2 slows it down quite a bit.
At home I have 32GB and an SSD so no problem. It is kind of insanely memory hungry for an IDE though... Back in my day 1 meg RAM was a big deal, because you could run your IDE and DPaint and a load of other stuff and still get the 512MB baseline for your app.
Looks more like Google Chrome is the bigger memory hog on your machine. My wife had that horrible browser on her laptop and was constantly having problems with freeze-ups and slow-downs until I uninstalled it and installed Firefox. I'll bet you can close Chrome after using it for a while, and open process explorer and there will be orphaned chrome processes still running. I blame it on the not-invented-here problem. Since Apple created WebKit and Google is trying to shoehorn it into their own browser.
Looks more like Google Chrome is the bigger memory hog on your machine. My wife had that horrible browser on her laptop and was constantly having problems with freeze-ups and slow-downs until I uninstalled it and installed Firefox. I'll bet you can close Chrome after using it for a while, and open process explorer and there will be orphaned chrome processes still running. I blame it on the not-invented-here problem. Since Apple created WebKit and Google is trying to shoehorn it into their own browser.
Chrome used Blink now, which is Google's fork of Webkit with all the bloat removed. They ditched support for older platforms, deprecated technologies, plug-ins and the like. Also, Webkit was created by the KDE guys, Apple just contributed some code to it.
Chrome uses a lot of RAM, but for some reason Atmel Studio really grinds the system. Even with Chrome closed, if I have two copies of AS6.2 open the system is extremely slow. The memory display in Windows is a bit misleading, there seems to be a lot of shared resources that uses which don't count towards its memory use but make the system slow.
I would not think that would be the case, in the long list of stuff it does it doesn't say anywhere: "It just works"! which is what people are really interested in.
Atmel Studio 7.0 build 582, AVRISP MKII, assembler menu Project Properties -> Tool, when I set ISP Clock it doesn't save the setting, it always defaults to 125 kHz.
Device Programming -> Settings is set to 'load from project = True'
Hi guys, I have just installed ATmel Studio 7 on my windows 8.1 PC and for whatever reason Visual Assist X is completely non functional. Things compile without a problem but when I try to use Goto Implementation commands, nothing works. The VAssistX menu is also grayed out as if it is not installed and I cannot enable it through the menu. I did have Visual Micro for Arduino installed previously, Can this potentially mess with Visual Assist and if so, any idea how one could fix it? I have already uninstalled it but to no avail.
I am using Windows 7 Professional SP1, AS 6.2, AS 7.0 and have a full Visual Studio Professional 2015 installation as well.
Can anyone help to resolve these issues?
Thanks
We are aware of the Microsoft extensions. They are installed with a special 'global' flag, so we have still not found out how to remove them from Atmel Studio.
We don't have many extensions available yet (since this is a major upgrade, most extensions needs at least to be recompiled).
I think it is time to lock this, @JS :)
:: Morten
(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.
Hi Am2008,
thank's for your good guidance. Installation works with Windows 10 pretty fine.
But i get a new Problem. I open the Example Project "SAM Timer/Counter Driver". Compile it with no Errors. But if i want "Debug" the Program i get the Error Message "Failed to Launch the Program. Error: The Service threw an unknown Exception".
What could be wrong?
OS is Windows 10. Target is SAMD21 xPlained.
Thanks Guenther
Hi, i find the Problem.
In Projekt Properties->Advanced was "Use GDB" Enabled. After i remove that, everything works fine.
Thank's a lot Guenther
Well Mr. Samperi, it seems you have found a silicon feature. I've done a quick search in the datasheets, but haven't found it mentioned anywhere. Anyway, the following behaviour is taken from the RTL:
When you write to DACA_CH0OFFSETCAL there is a check if you have written to DACA_CH1OFFSETCAL. If not, then the same value is also written to DACA_CH1OFFSETCAL. Same thing is also valid for DACA_CH0GAINCAL an DACA_CH1GAINCAL.
In c'ish code the behavior is something like:
If you are going to use the same calibration value on both channels you can save an instruction or two...
-Jan Egil
OK I'm only using one channel for the time being anyway. Good to know it's meant to work that way though.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
i opened the dark.exe which is an xml file via atmel7 installer bt it still shows error of windows not supported
and can someone explain 3rd step??
pls help
am on win10
Attachment(s):
intellisence is not working on atmel studio 7
how to activate it?
I would be asking the reverse question, how to turn it off. Did you look under VAssistX?
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
thankyou
i got the option
i was looking under edit
i am new to this and am practicing for past 2 months so i kindda like this option
once i am confident that i can do it without the intellisence i will surely turn it off
thanks for the help again
If you have problem with WIX Toolset, please download this archive: https://drive.google.com/file/d/.... The archive has all as-installer-7.0.305-full.exe files + Microsoft Visual Studio 2013 Shell (Isolated) Redistributable Package(vs_isoshell.exe).
thankyou so much
Can you please make the I/O fields wider or remember that last setting used by the user?
Every time I restart Studio I need to make the fields wider otherwise the registers names are cropped. See below
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
It would be nice if you could add a variable to hold the project's current target device id. This would be useful in the configuration of external tools that need to know the device that is being used. (ie. avrdude)
Bug? right click on <avr/io.h> and select "Goto Implementation" should open the header file. This does not work. If you include something else, such as <util/delay.h>, "Goto Implementation" works as expected.
No, by design....
:: Morten
(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.
Can't tell if you are being sarcastic or not.
What possible reason can there be to make it more difficult for the developer to open a header file? (It's not impossible to view as I can always open it manually by File->Open->File and then navigate the folder tree to the file). I thought the IDE is meant to make the developers job easier, not harder.
Also, until that file is opened by the IDE, macros such as _BV(bit) appear as unknown with a red underline as if it is undefined. The file will still compile (the compiler is able to pull the file and find the macro definition).
Not being sarcastic. The file is parsed, but the GOTO was disabled by Visual Assist (the ones that parses all the header files etc). The reasoning was that this file is probably not the file you want to see, as you want the device specific IO header.
:: Morten
(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.
So how about:
1) Tell the IDE about the macros defined by including avr/io.h
2) Tell the developer when they right click on the file and select "Goto Implementation" that this function is disabled on this specific file and that they need to manually open the file for their device. So the developer has to go find the device, then navigate the folder structure to locate the proper io*.h file. Never mind the fact that avr/io.h includes other header files not specific to devices ( such as _BV() )
Whoever decided that preventing the developer from opening a file is a good idea because it is "probably not the file they want" ... well, honestly I think they deserve a kick to the head. Never make assumptions about what your user wants to do.
(I'm trying the Atmel waters for the first time in my 15 year career as a software developer, and this, so far, has left me with a sour taste. I've never encountered such a ridiculous assumption in other IDEs)
If it's not clear, I think you should reconsider this feature.
My biggest annoyance with V6 is that it forgets everything when you close it. Normally Visual Studio remembers if you collapse code, how you set up the debugger window etc, but for some reason Atmel Studio doesn't.
The other thing is memory use. How much memory are you seeing V7 use? V6 uses about half a gig for a medium size project:
Hey I'm using more ram than you! And that's with an idle Studio, nothing loaded.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
I mean... the RAM use isn't that much of a concern, it's just interesting that it's about 2x as much as Visual Studio. I wonder what Atmel added that uses ~256MB of ram.
B.L.O.A.T. AS4.18 uses just under 9MB and I can still do EVERYTHING I need to do and pretty much bug free.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
I like the new features in AS6. Visual Assist in particular is rather good. Proper multi-monitor support is also welcome. It's just that my work machine is stuck on 6GB RAM max and Atmel Studio 6.2 slows it down quite a bit.
At home I have 32GB and an SSD so no problem. It is kind of insanely memory hungry for an IDE though... Back in my day 1 meg RAM was a big deal, because you could run your IDE and DPaint and a load of other stuff and still get the 512MB baseline for your app.
Looks more like Google Chrome is the bigger memory hog on your machine. My wife had that horrible browser on her laptop and was constantly having problems with freeze-ups and slow-downs until I uninstalled it and installed Firefox. I'll bet you can close Chrome after using it for a while, and open process explorer and there will be orphaned chrome processes still running. I blame it on the not-invented-here problem. Since Apple created WebKit and Google is trying to shoehorn it into their own browser.
I like cats, too. Let's exchange recipes.
Windows 10 not supported???
Seriously??
BR / Yasir Qureshi
Chrome used Blink now, which is Google's fork of Webkit with all the bloat removed. They ditched support for older platforms, deprecated technologies, plug-ins and the like. Also, Webkit was created by the KDE guys, Apple just contributed some code to it.
Chrome uses a lot of RAM, but for some reason Atmel Studio really grinds the system. Even with Chrome closed, if I have two copies of AS6.2 open the system is extremely slow. The memory display in Windows is a bit misleading, there seems to be a lot of shared resources that uses which don't count towards its memory use but make the system slow.
Yes, see this post for a workaround.
I like cats, too. Let's exchange recipes.
Well i see its officially launched now.
http://www.atmel.com/tools/ATMEL...
Looks like 7.0 build 582 is using Visual Studio Shell 2015!
Wonder if it's better to remove 7.0 beta first?
Guess I'll give it a try first with beta installed and see what happens.
Update to build 582 went without a problem, now to check if everything works as expected.
Looks good, now supports Windows 10 :)
Hopefully it crashes less often than Studio 6.2.
Bob. Engineer and trainee Rocket Scientist.
I would not think that would be the case, in the long list of stuff it does it doesn't say anywhere: "It just works"! which is what people are really interested in.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
Atmel Studio 7.0 build 582, AVRISP MKII, assembler menu Project Properties -> Tool, when I set ISP Clock it doesn't save the setting, it always defaults to 125 kHz.
Device Programming -> Settings is set to 'load from project = True'
I disappointed with launch icon, ladybug looks ugly. Small icon of bug renders bad too.
ATMEL Studio on the splash screen has a hole between letters A_T - bad kerning there.
"7" is not good looks too, looks like as it was modified or cuted from original font.
I would like to see more sense in the icons on the splash screen too. What is mean a lifebuoy on the one of the cubes?
I wrote it before, unfortunately my words didn't got the ATMEL. Atmel please, fix it too.
But Studio 7 is really startup faster than 6.2
I had a problem installing it - it hung after about 50%. I cancelled it and started again and it was OK.
It worked OK when I tried building a Tiny45 project.
Leon Heller G1HSM
I have problems inporting one project from as6.2 win7 to as7.0 win10.
All symbols in diferent configurations , debug release, etc are wrong. They're not well imported.
You can make a new C 6.2 project for atmega168PA save it and open in 7.0. On symbols you get DEBUG in release and debug, must be NDEBUG and DEBUG.
I always have troubles with configuration manager :)
Hi guys, I have just installed ATmel Studio 7 on my windows 8.1 PC and for whatever reason Visual Assist X is completely non functional. Things compile without a problem but when I try to use Goto Implementation commands, nothing works. The VAssistX menu is also grayed out as if it is not installed and I cannot enable it through the menu. I did have Visual Micro for Arduino installed previously, Can this potentially mess with Visual Assist and if so, any idea how one could fix it? I have already uninstalled it but to no avail.
-K
I have the same thing, I will keep an eye out for any solution but haven't been able to find it so far
If visual assist is 'greyed out', try to upgrade your graphics card driver (yes, I know it sounds mad...)
:: Morten
(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.
Really, wow never thought of updating my video card driver for VAssistX, I will give it a try when I'm at my PC.
Edit. Updated my driver but still no VassistX :/
Got the latest graphics drivers now, still the same issue:
15:02:35: [WARNING] Could not perform Goto Implementation, Please Make sure Visual Assist X Extension is installed and enabled
I also tried reinstalling Atmel Studio completely as well as MS Visual Studio, just in case something there was messing it up, it did not help.
Menu looks like this:
I have installed AS7.0 after de-installing AS7.0 beta. Works for compilation etc. Three issues:
I am using Windows 7 Professional SP1, AS 6.2, AS 7.0 and have a full Visual Studio Professional 2015 installation as well.
Can anyone help to resolve these issues?
Thanks
Hardware and Software Design, Arduino, AVR, c, c++, c#
Should this thread be now locked as AS7 is no longer Beta? Issues with AS7 could be handled in a new thread.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
Agreed - happy to repost or await moderator to move / start new AS 7.0 thread.
Hardware and Software Design, Arduino, AVR, c, c++, c#
I'll let Morten (the OP) make the decision.
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
We are aware of the Microsoft extensions. They are installed with a special 'global' flag, so we have still not found out how to remove them from Atmel Studio.
We don't have many extensions available yet (since this is a major upgrade, most extensions needs at least to be recompiled).
I think it is time to lock this, @JS :)
:: Morten
(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.
Pages