Atmel start generation failure

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

I have just updated to Microchip Studio 7.0.2542 and Atmel start no longer worked.

 

I have just updated Atmel start as followed https://gallery.microchip.com/pa... now Atmel start seems to work and saves the config changes however it fails to generate the files and the following error shows:

 

10:13:11: [ERROR] Failed to Retrieve the Version Information for the utilty C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe with arguments -v

 

My project is an ATSAMD51P20A.

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


jonjow wrote:
10:13:11: [ERROR] Failed to Retrieve the Version Information for the utilty C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe with arguments -v

So what happens if you just run that command line manually at a command prompt?

 

eg,

 

 

If I use the -h for help, there is no mention of a -v option.

 

So it seems that START is, indeed, giving an invalid command line.

 

And why would it be doing anything with avrasm2 for an ARM project anyhow??

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

You are correct, why is it trying to use avr when arm is the only toolchain I have installed and was using before the upgrade?

 

I am unable to run that command because the avr rightly does not exist.

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

That's really bizarre!

 

surprise

 

I think you need to raise a case with Microchip on this.

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 had the same issue the other day. What I did to bypass it was to repair Microchip Studio and install AVR tools in the process.

 

However, beware that in my case at the end of the installation it failed and reverted all changes. To keep the AVR files I just copied everything under C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\ mid installation and after the installation rollback I copied them back to that folder. Hacky, messy, but got me working.