How to switch to ASF4?

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

A week ago I installed Atmel 7 which appears to include ASF 3.47.0 by default. Now I can't figure out how to get ASF4 installed. The reason I need it: After sifting through a number of threads, I found out that I need ASF4 to be able to use the double-precision FPU built into the SAM E70.

 

When I go to Atmel START (start.atmel.com), I can't figure out how install ASF4 as a software package. I also can't find information on how to do this. What's the procedure to get this done?

Last Edited: Mon. Apr 13, 2020 - 05:23 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You dont install ASF4 as a software package... You configure on start.atmel.com and the project you download contains the parts of asf4 that you need...

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

OK, I see.  Thanks for the quick help.

 

I've configured a project and copied over my C code based on ASF 3.47.0. Now it appears a lot of functionality has been ported, such as pio_set_output(),  pmc_enable_periph_clk(), or enable_fpu(). So it looks like I have to go through the ASF 4 API reference manual to find replacements. D'oh!

 

Besides, I noticed the linker is still set to use the software-based FPU. It also has -mfpu=fpv5-d16 as a flag rather than -mfpu=fpv5-d16. Are there other parts I need to change in my environment to final get the hardware CPU going? I'm not sure I need to open another thread for this...

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

synthie wrote:
It also has -mfpu=fpv5-d16 as a flag rather than -mfpu=fpv5-d16.

Those are the same flags!?

 

 

FF = PI > S.E.T

 

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

Sorry, I meant to say that it says " -mfpu=fpv4-d16 " in the default settings.

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

Let's close this thread. After meolson's hint, I've restarted my work in Atmel Studio 7 after switching to ASF4. In general I am still struggling with getting the FPU used, hence my new thread here.