Problem with avr studio 4 as a student (pleas read inside )

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

Hello. I am a student in a university and we use in the computers avr studio 4 ( version 4.19). I did a format in my pc because i buy a new ssd (m.2 format ) and want the window to be in the ssd. Then i try download avr studio 4 to do some homework , but when i click the instal button , don't do anything .What can i do. (sorry for my bad english , isn't my first language )

This topic has a solution.
Last Edited: Mon. Jun 20, 2022 - 09:30 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

talk to your advisor/teacher and ask then how to install, the last time I did it, I had to install 4.18 to get the full install and then the 4.19 update.

But your teacher should know what is needed.

 

PS: welcome to AVRFreaks!

Good luck with your studies

 

Jim

 

 

FF = PI > S.E.T

 

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

 Thank you for your wishes.

 

I sent to him and he didn't know. I sent to him this video with the problem ( https://youtu.be/Y20HKI9Pn_k ) and he didn't know. 

 

Thanks for the help

 

 

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

Congratulations!   You have learned one of the most important things in your new engineering career.  Which is:

 

>>>> If it works, don't F*** with it!!!<<<    {Hope that you understand the English idiom, it's pretty basic.}

 

In other words, if you have a program or a set of data that is critically important to your work, school grade, or livelihood, don't change it!!!  Don't fix it, don't experiment with it, and -especially- don't upgrade it!   And don't ever replace or alter on a system level the folders that hold the operating system.   Don't add a solid state drive, format the original hard disk drive, and expect it all to work as it all worked before.  It won't! And this is more true when you use Windows.   Windows programs will -just stop working- for no reason when you change -anything- on the Windows system, even if it has nothing to do with your application program.   Rule #1 of modern electronics: Software is the most fragile component of any electronic system.  And software degrades over time: even if you do nothing to it.  Software entropy is real, although logically, it is impossible.  Accept it.

 

If you have a 10-year old program, running on a 10-year year old Windows version, running on a 10-year old PC  (like Atmel Studio 4.19, running Windows 7 on a PC in college electronics lab), then you aren't going to get it running any better than it is already.  If you want to use a solid state drive to host your operating system,  then buy an entire new computer that comes with the SSD pre-installed with the latest Windows already functional.

 

>>> The extra money that you spend on a new PC is less than the monetary value of your time that you will be spending when you try to get your current PC "upgraded" in a way that involves any kind of licensed commercial software (like lawyer-obsessed Microsoft Windows) or any microprocessor firmware-development IDE platform that is written specifically for professional engineers (who have ample budgets to buy the latest PCs and IDEs so they don't have to deal with this bulls**t ).

 

Half of the people working at Microsoft speak English as a 2nd, 3rd, or next language.   Most of the time, they know what they are doing.  But they can't explain it just right in English.  And if English is your alternate language, then everything is much more difficult.  So, yes, it is possible to do anything with PCs and Windows if you know already what you are doing.  But it's not likely that you are going to find anyone that will be able to help you.  Especially your teacher or lab assistant.  If they could expertly repair and configure Windows applications, then they would be doing that instead of being a teacher or lab assistant.  Because it pays a lot more.

 

   Have you ever considered becoming a certified electrician instead of a software developer?  It pays the same and everything about the job doesn't change every five years.

 

 

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

ARGGGGG! lost my last posting:

 

I checked my computer with AS4 on it, it has AS4.18 installed along with AS4.18.sp3(716)

If I recall correctly, AS419 required the installation of gcc and some manual configuration, while the 4.18+sp3 was a complete install.

You can find them here: https://www.microchip.com/mplab/...

scroll down to the AS4 installations, you only need the base AS4.18 and the last AS4.18.sp3 files

 

That should work for you.

Good luck with your studies

Jim

 

 

FF = PI > S.E.T

 

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

I know about that idiom . I didn't have any space in my computer and i need it because in a week i have to present assignmennts and the m.2 it was a Christmas gift.

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

One you thing you should do is run the install as an administrator, I have been going trough the pain of installing Win10 on my computer and running install programs as administrator has helped.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

AS4 does two things, if I recall correctly.  One, it acts as an IDE for the GCC compiler.  It lets you write, save, and compile ordinary C code for the AVR.   Two, it acts as a flash programming front-end for your flash programmer.   I assume that you are using the in-system programming method to get your code into the flash memory of the AVR (as opposed to using a bootloader).

 

  You can use the Arduino IDE to write your code in standard C for the ATmega328P.  You only need to split the main() function into two parts: the void setup() which has the code that runs only at power-on/reset, and the void loop() function, where all the code that repeats goes.  And your code file has the extension of .ino instead of .c   One last thing is that your .ino file needs to be in a folder with the same name as your file name.  For example:  a folder named myBlink will have a source code file called myBlink.ino.  You don't need to use any of the Arduino code libraries: you can use standard register and peripheral bit setting names for your AVR device.

 

Use the setting for Export:Compiled Binary instead of Compile/Update.  This will put your code into a hex file found in the same folder as the source.  You can now use a common USB-ASP programmer and avrdude.exe on the command line to load this code into your AVR.  AVRdude (on the command line) will be able to handle any flash programming device that you have.   It's somewhat awkward: but everything about MCU programming is convoluted and awkward.  I only use Arduino C for AVR (mega328P) development now.  It is the only reliable method for doing AVR development that I've found (after using AVRs since 1999). 

 

Current versions of Atmel Studio (or whatever the current Microchip IDE platform is today) are a complete incomprehensible mess.  No one in the microcontroller business seems to understand that an IDE needs to have two selection boxes and a single run button as its complete user-interface.  One selection box has the size of the AVR that you are using (small:Tiny85  medium:Mega328P  or large: Mega2560), the second box has whether you are using a bootloader (with selectable COM port) or an ISP as the flash loader, and the button when pressed does compile- load in one operation.  That's it.  Nothing else.   Pure and simple.   And lots of Help information.   An IDE program that is 100 megabytes in size should have 10000 pages of documentation that covers every possible thing that could go wrong, why it went wrong, and suggestions on how do deal with it.   And this documentation should be in the IDE itself and not on-line on the internet.  The only thing that has improved with C compilers since they were invented in the 1970s has been to put the comments in a different text color.  They all still give the same stupid, worthless, and incomprehensible 6-8 word error messages that they did back when $100,000 bought you a Mini-Computer (VAX anyone?, how about an Amdahl?) with 2048 bytes of RAM.  A journey of a thousand miles begins with a single step.  C compilers have been walking in little circles since 1972 and they still have a thousand miles to go before ordinary people can use them.

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

@Simonetta

The OP has not asked for your usually useless and self righteous opinion.  The OP asked for help in the problem they are having with AS4.19 and getting it working on their system.

 

If you have nothing to contribute to help the OP with their exact problem, go back under your rock and stay there......

 

Jim

Moderator.

 

 

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

There is an AS4.19 download available at microchip; it installed OK for my on a W10 32bit system (Administrative user.)  I'm experimenting with some other versions to see if I can duplicate your problem.  (Good Video, BTW.  Short, shows exactly what's happening...)

I'm experimenting with some other version combinations.  (on VMs.  Sigh; they all want to update first.)
 

 

A couple of thoughts:

 

Old software may have problems with install directory names containing spaces and funny punctuation (like "Program Files (32 bit)"  Sigh.)

Old software may require installation by an administrative user.

In the short term, depending on how well-equipped your system is (you' are trying to install on YOUR PC, not upgrade one of the school PCs, right?), you might be able to download virtual box and run one of the 90-day "testing" versions of W7, just for use by AVR Studio.

 

 

 

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

I just looked and I have Studio 4.19 installed on my Win10PRO/64bit machine and it runs just fine.

 

Upon more thinking I remember it mentioned that if you want to run Studio 4.19 AND AS7(the latest version of Studio) on the same machine you must first uninstall BOTH programs, THEN install Studio 4.19 FIRST...THEN install AS7.

 

If you have no need for AS7, then make sure it is fully uninstalled, as well as 4.19, then restart your PC, and re-install Studio 4.19 along with WinAVR C compiler.

 

Hope this helps!!

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

I use AVR studio 4.19 on a daily basis on my Win 10 64bit, Win XP 32 bit, a Deb linux distro running win10 in a virtual machine and it seems to work fine. Did you get a clean copy of AVR studio? Also you might need to change your compatibility mode in win10 (right click the install program and choose " Troubleshoot Compatibility").  Might need to run as administrator as previously mentioned. 

I reserve my right to assemble!
Brawndo's got what plants crave... It's got electrolytes!

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

According to this thread:https://www.avrfreaks.net/forum/studio-419-build-730-windows-10 you are going to have to jump through many hoops.

Good Luck

 

The alternative is running Studio-4 in a virtual machine (like I do).

 

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

For one customer I keep the setup for 4.18 (that was the one to use at that time I started about 10 years ago), and I remember that unless you have one of the new chips 4.19 support there was no reason to update, and the the 4.19 had some problems with some reporting of size or errors or something like that. But make sure that you use a newer compiler that it come with, use WinAVR-20100110 . (the org compiler works normally fine but sometimes it make useless code) 

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

sparrow2 wrote:
But make sure that you use a newer compiler that it come with, use WinAVR-20100110 . (the org compiler works normally fine but sometimes it make useless code) 
AS4 didn't come with a compiler? You always had to install it separately. Up to version 4.18 it would (via the registry) automatically spot if you had WinAVr installed but for 4.19 it only recognises an "Atmel toolchain" (presumably they give the compiler location in a different registry key to WinAVR?). So personally I would recommend either 4.18 or 4.19. For compiler I'd just get Atmel/Microchip's latest "toolchain for Windows" (which is the same 5.4 as you get with Studio 7). If you do want to use the legacy WinAVR with 4.19 you need to see the sticky thread at the top of the Studio forum which explains how to get around the fact that 4.19 cannot "see" WinAVR.

Last Edited: Mon. Jan 18, 2021 - 12:32 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did it but nothing happens.

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

I change the directory , the same problem.
I did it with administrator but the same.

 

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

We don't use for university the AS7 .We use AS4.19. I know how old is this version so after my format , it was the first program that i try install. 

 

But before the format , i have only one HDD and the program work fine. With the format, i install an m.2 because it was a gift and i didn't have any space in my computer and the AS4.19 can't install.

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

I choose  Troubleshoot Compatibility and the problem stays exactly the same as the video i post it ( https://www.youtube.com/watch?v=... ). I also run it as administrator and nothing happen 

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


try 4.18 with this setting for the tool (or where ever you have it):

 

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


Have you considered that the actual install file you are trying to use might be corrupt? Maybe download again and see if that helps.

 

Atmel/Microchip have archived install programs here:

 

https://www.microchip.com/mplab/...

 

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

Ex0d1c wrote:
I change the directory , the same problem.

 

Why are you changing ANYTHING? to begin with?

 

As long as you do not have another version of Studio on the drive just install AS4.19 and be done with it. 

 

I looked at my install and I have no compatibility settings configured, nor Run as Administrator.

 

 

AHHH!!  Heres a thought.  Try disabling your anti-virus/Anti Malware software (Windows Defender).  THAT might be getting in the way.  I looked, and I have no exceptions in my Anti-nasty software, but thats not to say yours needs to be made aware of this.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

clawson wrote:
the actual install file you are trying to use might be corrupt? Maybe download again and see if that helps.

When that's happened to me, I've found that (some?) browsers may think, "I've already done this" - so it will "helpfully" (sic) just give you the same file again, instead of actually re-doing the download.

 

frown

 

So might be worth doing the download on a different computer and/or a different browser ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I see from your youtube video that you are using a Greek version of Windows (you failed to mention that) Also "C:\Program Files (x86)"  isn't named that on your computer. Instead the folder has a Greek name.

 

Now all that may be a complete red herring but these older installers may have problems with alternate multi-byte character sets or even non-English Windows in general.

 

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

N.Winterbottom wrote:
but these older installers may have problems with alternate multi-byte character sets
Which may be further argument for trying to install it in a VM. Start with one that has a US version of Windows.

Last Edited: Mon. Jan 18, 2021 - 04:59 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jim:

  The OP asked for help.  I write the best help that I can after working with AVRs for over 20 years.   OPs like this never focus on what they actually need, which is getting their system to develop AVR code. 

 

   Yes, it is possible to get Atmel Studio 4.19 working in 2021.

 

   But I would be remit in my professionalism to people entering this profession if I did not provide insight as to why using the advice generated by the other responders is not best for their particular situation, as they have presented it.

 

  And, the opinion that my opinion is a usually useless and self righteous opinion is your opinion, not that of the original poster, who, has expressed no opinion on my opinion.  My opinion is based on my professional experience after working with AVRs for 20+ years.

 

  Thank you for your opinion of the OPs opinion of my opinion.   Have a nice day.

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

I follow it and didn't make any difference. Probably i will run it in a VM

 

Thanks for the help

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

Just a side step......

 

What is the file called that you downloaded?

and where did you download it from?

 

IIRC ( as already stated) there were some issues with anti virus software that blocked the installation.

Also if you accidentally have downloaded only the service pack installer indeed nothing will happen as it does not find a valid base install to update.

 

do you get any error message or warning at all when you start the installer?

IIRC there should be a splash screen at least showing.

 

 

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

I download from the microchip site ( https://www.microchip.com/mplab/... ) and i click this link ( https://prnt.sc/x84rx6 ) .

 

I don't have as i know the problem with the anti virus because i set the installation to skip the anti-virus. 

 

Also no errors and no warnings in the installer ( https://youtu.be/Y20HKI9Pn_k )

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

Ex0d1c wrote:

I don't have as i know the problem with the anti virus because i set the installation to skip the anti-virus. 

 

Also no errors and no warnings in the installer ( https://youtu.be/Y20HKI9Pn_k )

 

 

My AV software will stop the .exe from running unless I create an exception.  Even if I run as an Admin. or install as an admin.

 

If you are using the stock Windows Defender application, then you should be OK.

 

JIm

 

EDIT:

 

I just watched your video, and after you click INSTALL, I see you get the screen that asks you to click NEXT, but instead you terminate the process....WHY?  You need to click NEXT so the software completes the drivers installation(I think thats what happens.)

 

I am going to see if I have a machine here without ant Atmel installed on it and do an install and I'll get back to you.

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

Last Edited: Tue. Jan 19, 2021 - 05:40 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, I grabbed a Microsoft Surface laptop running Windows10PRO/64.  Grabbed teh Studio 4.19 install and double clicked it....Did not select run as administrator....Just raw launch.

 

I simply agreed to everything.  And I get a long status bar as it installs the application.  Then when it finished I clicked NEXT(like I told you to do in post #30) and it then brings up the Jungo Driver install.  Again I click NEXT, or AGREE to everything and it was off to teh races.  When prompted I clicked INSTALL and about 20 seconds after that, teh setup said COMPLETE! and I clicked FINISH and that was it.  I now have Studio 4.19 running on this laptop.

 

 

Maybe you are skipping steps?

 

I did try what I saw in your video and the software barfed.

 

Try reinstalling it again....but be PATIENT, and just click NEXT/AGREE/INSTALL.....

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

"just watched your video, and after you click INSTALL, I see you get the screen that asks you to click NEXT, but instead you terminate the process....WHY? ."

 

If you see the video , i press install after i choose  the folder installation , the window that open  ,i can't click it , i alt tab and don't do anything . Thats why i terminate the process

 

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

Its seems that doesn't let me do the Jungo driver install. When i choose the installation folder and press next, the program just stops working. I will try to do the Jung Driver installation manually and i will update 

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

The interesting of all of this is that i have one laptop with m.2 and it have the same problem

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

I download the 4.19 version 3 times and it happening every time

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

Do NOT select any folders!  Just click NEXT.  The installer will do the rest.

 

Barring some other phenomenon there should be no reason why this is not installing properly.

 

NO need to keep downloading install packages.  The problem is with your machine.  the m.2 format should have no effect on the install.

 

What happens if you remove the m.2 drive and use a conventional hard drive?  Does it work?

 

Post a screenshot of your SETTINGS>SYSTEM>ABOUT screen.  Both the device specifications and the Windows specifications.  Maybe we can spot something....

 

 

If this were AS7 I can see having a hard time, but 4.19, just installs and works.  We are missing something.

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

I just click next next, i don't select any folder. I just install it in the default spot (it's the m.2 ). The strange is that i have one laptop with m.2 and it has the same problem.

 

In m.2 i have the windows so i can't remove it 

 

Here is the screenshot but just to know its in greek ( https://prnt.sc/xags4b )

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

I don't know what to tell you.  I tried the AS4.19 install on two other computers and it went through without a hitch.

 

 

Without physically looking at your machine, I don't know what more I can say/type/do.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

Seems to me rights problems/anti-virus are the most likely potential culprits here.
.
If possible I'd isolate things in a VM where rights/virus restrictions can be relaxed without potential danger.
.
(BTW haven't read the whole thread but why Studio 4 not Studio 7?)

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

I will add :

Let the VM run a English windows to make sure that it's not a font/path problem 

 

Add:

The computer I type on now is an 10 year old computer with a danish windows 7, and that works fine (with 4.18), but I never use danish letters in a path etc. (and we have all the English letters) 

Last Edited: Wed. Jan 20, 2021 - 06:28 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
(BTW haven't read the whole thread but why Studio 4 not Studio 7?)

 

Based on what the OP his posted it is a requirement of his school.  If they are using some of the old Legacy AVR's as many do, I suppose as long as they aren't going to use anything bigger than a dragon for debugging(if anything at all) why not use 4.19 and not load the bloat?

 

Jim

 

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ι close the firewall and also in anti virus i close it and also i put it in ''do not scan" list

 

We are using Avr studio 4 because the Jtags that we use , our university give them to us and they are old .

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

The path that i use is in English. Only the words are translate in greek 

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

I'm experimenting with some other version combinations.

I was unsuccessful in duplicating your problem :-(

 

When running from an non-admin account, the installed will abort and insist that you "run as administrator" and provide an administrator password, so that seems unlikely to be a cause of problems.

One time I did have a problem where the installed AS4 wouldn't actually run, but I don't even seem to be able to duplicate that.

 

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

Ex0d1c wrote:
I did a format in my pc because i buy a new ssd (m.2 format ) and want the window to be in the ssd.

Can't you just re-install the old hard drive (or SSD or whatever) to get this homework done?

 

Every time I've done an SSD upgrade, the SSD has come with a utility to "clone" the hard drive it's replacing - could you do that?

 

If all else fails, you could try an online compiler:

 

https://www.avrfreaks.net/commen...

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I will try , but i have also work to do with jtag and i don't know if i can conect with the online compiler

 

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

Hi, I ran into this exact problem. I managed to solve it by reinstalling windows. I can no longer receive updates. Therefore, as a student, I have to use this important source to be able to do everything for college on time until I fix my computer. I will use it, especially as we are now passing on a very interesting topic, world war 2. This is one of the most interesting themes to pass in avr studio.

Last Edited: Tue. Jun 21, 2022 - 01:31 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi "karen"  thanks for the spam

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!