Exporting a START based project for someone else...

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

I have an AS7 / START based project that compiles, runs and -- crucially -- has the menu item "Project => Re-configure Atmel START Project" listed in its menu.  Now I want to send it to a friend so he can work on it.  So I created a .zip file of the folder that included the .atsln file as well as the Project directory, i.e. here:

 

  Sprint2/

    .vs

    Sprint2/

    Sprint2.atsln

 

I sent the .zip file to my colleague, but he was unable to reconfigure the project since, upon opening it, it lacked the "Project => Re-configure Atmel START Project" menu item.  Since then, I've tried the following myself, none have worked:

  • Expand the .zip file, launch AS7 by clicking on Sprint2/Sprint.atsln.  The program launches, the files are there, but it lacks the "Re-configure" menu item.
  • Expand the .zip file, launch AS7 by clicking on Sprint2/Sprint2/Sprint2.cproj file.  The program launches, the files are there, but it lacks the "Re-configure" menu item.
  • Launch AS7, click "File => Open => Project/Solution", select Sprint2/Sprint.atsln.  Same result.
  • Launch AS7, click "File => Open => Project/Solution", select Sprint2/Sprint2/Sprint2.cproj.  Same result.
  • Rename Sprint2.zip to Sprint2.atzip.  Double click it to launch AS7.  AS7 complains ".gpdsc file not found in the root directory"
  • Look for other ways to save or export a project.  I couldn't find any.

 

So please pardon if this question has come up before, but: how do you export or save a project so that someone else can open it and use START to modify parts of the project?

 

Last Edited: Wed. Nov 17, 2021 - 03:46 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think I see what's causing the trouble, but I don't understand why, nor what the fix is.

 

AS7 needs to see a directory named  .atmelstart, containing:

.atmelstart/

  atmel_start_config.atstart

  AtmelStartenv_conf

  AtmelStart.gpdsc

... but when I compress the enclosing directory, .atmelstart is not included in the .zip file.  It's not because it starts with a `.` -- there are other directories that start with a `.` that are included.

 

Does anyone know why this directory isn't included in the .zip file?

 

 

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

Does the directory have any unusual settings - hidden? ownership? security? etc ... ?

 

What are you using to do the zipping?

If I use the Windows 'Send To Compressed Folder', it does include a .atmelstart folder & contents ...

 

 

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 looked at the directory and file properties as carefully as I knew how -- nothing odd showed up.  I used the Windows "right-click" [compress to ZIP file] to compress it.  I s'pose I should try good old gzip or other app, but it certainly seems odd that .atmelstart gets special treatment, while other directories don't.

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

fearless_fool wrote:
it certainly seems odd that .atmelstart gets special treatment, while other directories don't.

Indeed - especially as my Windows seems to give it no special treatment.

 

I s'pose I should try good old gzip or other app

I believe that you can compress from the Win10 command line using the PowerShell ...

 

EDIT

 

https://superuser.com/questions/201371/create-zip-folder-from-the-command-line-windows/898508

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...
Last Edited: Fri. Nov 19, 2021 - 04:41 PM