Using Atmel Start and (Re-configure Atmel Start from inside) Atmel Studio 7 IDE

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

 

I recently created a project/solution from the Atmel web site http://start.atmel.com.

Seems pretty nifty and saved me the drudgery of naming all my pins, my crystal/clk, the serial port worked as expected (after adding a little of my own code) and generated a lot of basic stuff to get me going on my custom board.

I was able to take the basic project and add my own stuff to it without a lot of effort and so far it has worked fine.

 

(Side note[s]:

The debugger was screwy when dealing with my serial port ISR things appeared to be optimized away as if I as if I had set the -O option to to high a level and the break points would not hit or step properly it also appeared/acted like I wasn't using volatile vars (but I was).  

I went old school and got things going without a debugger by fiddling with bits/pins and looking with an o'scope.

I don't think it is related to the ASF frame work but it could be I suppose.

It is also not obvious to the uninitiated(me) but the way I got it to work was by creating a project on the web site then exported the project as a zip.

I then I got it into Atmel Studio 7 IDE under the File->Import->Atmel Start Project.

Also the ASF wizard inside the IDE is a different thing (according to Atmel tech support) than Atmel Start.

I'm still fuzzy on the exact details but the ASF wizard creates a project from an ASF frame work and Atmel Start creates a project from an ASF frame work is my understanding thus far???  

My guess is that they are different frame works???) 

 

Once I imported the project I noticed inside the solution explorer if I right clicked on the Project folder I have the choice to re-configure the Atmel Start Project.

It looks and feels like I've reopened a saved (different from an exported project as an exported project creates .atzip file whereas a saved project creates an .atstart file ) project on the web site.

Except it doesn't really do any thing I can't make it scroll or if I click on the pin mux nothing happens.

I can click on the setup for a serial port but when I click on a check box or try to edit a field nothing happens.

(maybe this was never supposed to work???..but it doesn't appear that should be the case it looks like something is wrong with my environment or project ).

Is there anyone out there that knows if this works/has ever seen it work/had it work for their Atmel Start Project?

Or knows what I might do to make it work to modify my project or knows of a config file or somewhere that I might poke around in etc.

Also as an experiment I tried to create a Start project from inside the IDE (one of the choices File->New->Atmel Start Project) thinking the imported project from the web site was the cause of my troubles but wound up in the same state and could not get a start project going at all.

 

The headers in the project warn that if you don't save your changes this could be over written when changes are made to the project so I'm taking them at their word that this is the case. 

If someone knows/understands/has given a little thought to the process saving what you have added somewhere safe and making changes either on the web site or from inside the IDE (assuming that it works) then I'd be grateful for that and any other suggestions or comments that come my way.

Seems with a little more polish/work this could be a useful tool but it doesn't appear to be ready for prime time as it is...maybe it is just my particular setup. 

 

PC

 

 

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

pcoiner wrote:
My guess is that they are different frame works???)
Yes

Atmel Software Framework

http://www.atmel.com/tools/avrsoftwareframework.aspx 

Microchip Technology Inc

Microchip

Advanced Software Framework (ASF)

http://www.microchip.com/development-tools/atmel-studio-7/advanced-software-framework-(asf)

Atmel START

Atmel Software Framework 4 (ASF4)

Introduction

http://atmel-studio-doc.s3-website-us-east-1.amazonaws.com/webhelp/GUID-4E095027-601A-4343-844F-2034603B4C9C-en-US-1/index.html?GUID-D988E54F-D11D-4617-8C23-60B4CACFCB68

 

Edit : Microchip URL

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Mon. Apr 10, 2017 - 04:37 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

PC, the familiar ASF wizard only works up to ASF 3. The Atmel START framework is ASF 4. There does not seem to be any way to incrementally add features or drivers after the code generation step. You can go back to configuration and make changes, then regenerate the project (losing any code you may have added).

 

On my system the Atmel START tab is seemingly working in that I can change settings.

 

Perhaps you need to update to the latest AtmelStudio and ASF version. To update AtmelStudio you have to use the Help-Check for updates button, it does not update automatically. Then after updating you have to go to  Tools-Extensions and Updates - Available Downloads - Updates, then select and download all the available updates. I did this on July 14th but today a new update is available for Atmel Start so the updates are coming at a rapid pace. 

 

OlTechie

Last Edited: Mon. Jul 17, 2017 - 04:06 PM