Errors after loading ASF wizard

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

Hello, I think my Atmel Studio is broken.

 

When I do the following steps:

 

- New project -> GCC C Executable Project

- Select chip (UC3B026)

- Starting the ASF wizard from the project

- try to select a board but no board selection is possible

- After hitting "cancel" and loading the INTC driver

 

when I try debugging the unchanged project, errors are thrown:

 

Severity    Code    Description    Project    File    Line
Error        first defined here    UC3B0256_Test5    c:\program files (x86)\atmel\studio\7.0\toolchain\avr32\avr32-gnu-toolchain\avr32\lib\ucr1\crt0.o    1
Error        first defined here    UC3B0256_Test5    c:\program files (x86)\atmel\studio\7.0\toolchain\avr32\avr32-gnu-toolchain\avr32\lib\ucr1\crt0.o    1
Error        recipe for target 'UC3B0256_Test5.elf' failed    UC3B0256_Test5    C:\Users\Markus\Documents\Atmel Studio\7.0\UC3B0256_Test5\UC3B0256_Test5\Debug\Makefile    206
Error        multiple definition of `_start'    UC3B0256_Test5    c:\users\markus\Documents\Atmel Studio\7.0\UC3B0256_Test5\UC3B0256_Test5\src\ASF\avr32\utils\startup\startup_uc3.S    61
Error        multiple definition of `_stext'    UC3B0256_Test5    c:\users\markus\Documents\Atmel Studio\7.0\UC3B0256_Test5\UC3B0256_Test5\src\ASF\avr32\utils\startup\startup_uc3.S    73

 

I absolutely don't have a clue what to do now sad

 

 

Last Edited: Sat. Aug 12, 2017 - 02:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Those errors occur because your project is using the wrong C startup code.
go to the menu : Project -> ... Properties -> Toolchain -> AVR32/GNU Linker -> General and tick the "Do not use standard start files (-nostartfiles)" option.

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

Great, that solved the problem. Thank you!