SAM E70 Xplained, migration from E70Q21B to Q21A problems

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

Hi,

I have SAME70 Xplained and wanted to open Atmel Start --> "LwIP example", but it shows dialog window with following message:

 

-------------------------------------------------------

Device support for ATSAME70Q21B is obsolete

Use button "Change package" to change device

or

if the projectfile is of type atzip, unzip to the folder and locate the *.atstart file

Open the projectfile *.atstart using any text editor

Replace the occurences of ATSAME70Q21B with ATSAME70Q21A-AN

If the Board Identifier is SAME70Xplained, change to CustomBoard

If the projectfile is of type atzip, zip the folder and rename from zip to atzip

Close this session and restart with the modified project

-------------------------------------------------------

+ also link (Migration Guide) to more detailed instructions:

 

Migration Guide
A guide to generate SAME70 Rev A example from SAM E70 Rev B example

1. Browse and Save configuration of the exiting example

2. Open the downloaded .atstart file using any text editor

3. Replace all the occurrences of

4. ATSAME70Q21B-AN to ATSAME70Q21A-AN
5. SAME70B to SAME70
6. Board Identifier from "SAME70Xplained" to "CustomBoard"

7. Go to start.atmel.com -> LOAD PROJECT FROM FILE and open the saved .atstart file

8. Export the project with modified configuration

 

So, I followed all instructions, made all required replacements, saved to .atstart, opened on Atmel Start via LOAD PROJECT FROM FILE, exported.

In Atmel Studio 7 opened via File/Import/Atmel Start Project.

But unable to compile it, a long list of undefined symbols GMAC_IMR_... appears.

 

When I tried to search for the missing symbols definitions, I found them under the original .atzip project downloaded from Atmel Start Examples (for E70Q21B), in header

"same70b\include\component\gmac.h"

 

But there is no directory "same70b" here, also don't exist for example:  armcc, CMSIS, gcc.

Please see the attached image, on the left is the file structure of original .atzip , on the right the new project after migration.

What else is needed to be done to complete the migration from Q21B to Q21A and make it compilable ?

 

I suppose everybody has to pass the "migration" procedure as the board contains Q21A and the 40 examples provided are intended for Q21B.

 

I am actually unable to find what is difference between ATSAME70Q21B-AN and ATSAME70Q21A-AN, on my board is ATSAME70Q21A-AN.

 

Is it really necessary to change the Device from B to A to make the example work ?

 

Please help me.

 

Attachment(s): 

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

From inside Atmel Studio's menu, select Tools->Device Pack Manager.  Scroll down to the SAME70_DFP section and verify device pack 2.3.98 is installed.  Mine looks like this:

 

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

Thank you very much ScottMN !

It wasn't installed. In the section SAME70_DFP there was only 2.2.91 installed.

After installation of 2.3.98 & restart & Import & Rebuild everything works.

 

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

Hi,

I try to  use SAM E70 Xplained, migration from E70Q21B to Q21A.

 

I have update the Atmel studio using Device Pack Manager, and followed this guide, but got error message as bellow. what I should do? thanks! 

 

Migration Guide
A guide to generate SAME70 Rev A example from SAM E70 Rev B example

1. Browse and Save configuration of the exiting example

2. Open the downloaded .atstart file using any text editor

3. Replace all the occurrences of

4. ATSAME70Q21B-AN to ATSAME70Q21A-AN
5. SAME70B to SAME70
6. Board Identifier from "SAME70Xplained" to "CustomBoard"

7. Go to start.atmel.com -> LOAD PROJECT FROM FILE and open the saved .atstart file

8. Export the project with modified configuration

 

Could not load project for identifier=None
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/atmelstart/project/repository/helpers/config_yaml.py", line 118, in populate_project_from_data_dict
data_output, changes = fix_invalid_v2_project(data)
File "/usr/local/lib/python2.7/site-packages/atmelstart/project/repository/helpers/serializers.py", line 366, in fix_invalid_v2_project
format(definition, str(e)))
UnknownIdentifierError: Unable to load driver config definition Atmel:SAME70_Drivers:0.0.1::ATSAME70Q21-AN::XDMAC::driver_config_definition::DMAC::HAL:HPL:DMAC: Unable to load config definition Atmel:SAME70_Drivers:0.0.1::ATSAME70Q21-AN::XDMAC::driver_config_definition::DMAC::HAL:HPL:DMAC: Could not find MiddlewareDefinition with identifier Atmel:SAME70_Drivers:0.0.1::ATSAME70Q21-AN::XDMAC::driver_config_definition::DMAC::HAL:HPL:DMAC

junp