Studio 7: compiler omitting startup file (was "generating tiny binaries")

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

I'm running AS 7.0.1931 with recent Atmel Kits (7.0.122) and developing on a SAM E54 Xplained Pro board.  

 

I used Atmel START to create the "Low Power Modes" project and imported it into Atmel Studio.  It compiled without any errors.

 

But when I clicked on "Start Debugging and Break", it (evidently) programmed the SAM E54, but instead of breaking at main(), it opens a Disassembly window with the cursor pointing at address B9337822 with "Memory out of bounds or read error". 

 

If the base FLASH window is to be believed, it appears that the part did not program correctly: you can see B9337822 as the start vector address.

 

 

Re-starting Atmel Studio does not solve the problem. 

Cleaning and rebuilding the project does not solve the problem.  

Other projects (e.g. stdioE54X, listed in the Solution Explorer above) load and execute without trouble.

 

Any ideas as to why this is failing and how to fix it?

 

Last Edited: Wed. May 22, 2019 - 09:20 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Update:

 

What did (finally) work: 

  1. remove the project from the solution
  2. delete the project folder from the filesystem
  3. re-import the .atzip project file
  4. re-build

 

I'd still like to know what caused the problem in the first place, but this is a suitable workaround.

 

 

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

Update 2:

 

I looked at the .hex file in one of the failing cases (different project, same symptoms).  It is much too short.  Here it is in its entirety:

 

:1000000010B5054C237833B9044B13B10448AFF352
:1000100000800123237010BD0000002000000000BC
:100020008C0000000C4B43B10C480D4910B5AFF3E8
:1000300000800C48036823B910BD0A48036833B92F
:100040007047094B002BF7D0BDE810401847064B0E
:10005000002BF5D0184700BF000000008C00000006
:10006000040000208C00000000000000F8B500BF74
:10007000F8BC08BC9E46704725000000F8B500BFDC
:0C008000F8BC08BC9E4670470100000060
:00000001FF

 

There were no compiler nor linker errors when I built this.  Any idea on what would cause this?

 

And here's the full transcript of the build.  Note that program memory usage is 140 bytes, which is clearly too short:

 

------ Build started: Project: Tick1MS, Configuration: Debug ARM ------
Build started.
Project "Tick1MS.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files\Atmel\Studio\7.0\Vs\Compiler.targets" from project "E:\Studio7\SAME54X\SAME54X\Tick1MS\Tick1MS.cproj" (target "Build" depends on it):
	Using "RunCompilerTask" task from assembly "C:\Program Files\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
	Task "RunCompilerTask"
		Shell Utils Path C:\Program Files\Atmel\Studio\7.0\shellUtils
		C:\Program Files\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 3 --output-sync 
		Building file: ../Device_Startup/system_same54.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "Device_Startup/system_same54.d" -MT"Device_Startup/system_same54.d" -MT"Device_Startup/system_same54.o"   -o "Device_Startup/system_same54.o" "../Device_Startup/system_same54.c" 
		Finished building: ../Device_Startup/system_same54.c
		Building file: .././driver_init.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "driver_init.d" -MT"driver_init.d" -MT"driver_init.o"   -o "driver_init.o" ".././driver_init.c" 
		Finished building: .././driver_init.c
		Building file: .././atmel_start.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "atmel_start.d" -MT"atmel_start.d" -MT"atmel_start.o"   -o "atmel_start.o" ".././atmel_start.c" 
		Finished building: .././atmel_start.c
		Building file: ../examples/driver_examples.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "examples/driver_examples.d" -MT"examples/driver_examples.d" -MT"examples/driver_examples.o"   -o "examples/driver_examples.o" "../examples/driver_examples.c" 
		Finished building: ../examples/driver_examples.c
		Building file: ../hal/src/hal_atomic.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_atomic.d" -MT"hal/src/hal_atomic.d" -MT"hal/src/hal_atomic.o"   -o "hal/src/hal_atomic.o" "../hal/src/hal_atomic.c" 
		Finished building: ../hal/src/hal_atomic.c
		Building file: ../hal/src/hal_cache.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_cache.d" -MT"hal/src/hal_cache.d" -MT"hal/src/hal_cache.o"   -o "hal/src/hal_cache.o" "../hal/src/hal_cache.c" 
		Finished building: ../hal/src/hal_cache.c
		Building file: ../hal/src/hal_delay.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_delay.d" -MT"hal/src/hal_delay.d" -MT"hal/src/hal_delay.o"   -o "hal/src/hal_delay.o" "../hal/src/hal_delay.c" 
		Finished building: ../hal/src/hal_delay.c
		Building file: ../hal/src/hal_init.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_init.d" -MT"hal/src/hal_init.d" -MT"hal/src/hal_init.o"   -o "hal/src/hal_init.o" "../hal/src/hal_init.c" 
		Finished building: ../hal/src/hal_init.c
		Building file: ../hal/src/hal_gpio.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_gpio.d" -MT"hal/src/hal_gpio.d" -MT"hal/src/hal_gpio.o"   -o "hal/src/hal_gpio.o" "../hal/src/hal_gpio.c" 
		Finished building: ../hal/src/hal_gpio.c
		Building file: ../hal/src/hal_io.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_io.d" -MT"hal/src/hal_io.d" -MT"hal/src/hal_io.o"   -o "hal/src/hal_io.o" "../hal/src/hal_io.c" 
		Finished building: ../hal/src/hal_io.c
		Building file: ../hal/src/hal_sleep.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_sleep.d" -MT"hal/src/hal_sleep.d" -MT"hal/src/hal_sleep.o"   -o "hal/src/hal_sleep.o" "../hal/src/hal_sleep.c" 
		Finished building: ../hal/src/hal_sleep.c
		Building file: ../hal/src/hal_usart_sync.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/src/hal_usart_sync.d" -MT"hal/src/hal_usart_sync.d" -MT"hal/src/hal_usart_sync.o"   -o "hal/src/hal_usart_sync.o" "../hal/src/hal_usart_sync.c" 
		Finished building: ../hal/src/hal_usart_sync.c
		Building file: ../hal/utils/src/utils_assert.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/utils/src/utils_assert.d" -MT"hal/utils/src/utils_assert.d" -MT"hal/utils/src/utils_assert.o"   -o "hal/utils/src/utils_assert.o" "../hal/utils/src/utils_assert.c" 
		Finished building: ../hal/utils/src/utils_assert.c
		Building file: ../hal/utils/src/utils_syscalls.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/utils/src/utils_syscalls.d" -MT"hal/utils/src/utils_syscalls.d" -MT"hal/utils/src/utils_syscalls.o"   -o "hal/utils/src/utils_syscalls.o" "../hal/utils/src/utils_syscalls.c" 
		Finished building: ../hal/utils/src/utils_syscalls.c
		Building file: ../hal/utils/src/utils_event.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/utils/src/utils_event.d" -MT"hal/utils/src/utils_event.d" -MT"hal/utils/src/utils_event.o"   -o "hal/utils/src/utils_event.o" "../hal/utils/src/utils_event.c" 
		Finished building: ../hal/utils/src/utils_event.c
		Building file: ../hal/utils/src/utils_list.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hal/utils/src/utils_list.d" -MT"hal/utils/src/utils_list.d" -MT"hal/utils/src/utils_list.o"   -o "hal/utils/src/utils_list.o" "../hal/utils/src/utils_list.c" 
		Finished building: ../hal/utils/src/utils_list.c
		Building file: ../hpl/cmcc/hpl_cmcc.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/cmcc/hpl_cmcc.d" -MT"hpl/cmcc/hpl_cmcc.d" -MT"hpl/cmcc/hpl_cmcc.o"   -o "hpl/cmcc/hpl_cmcc.o" "../hpl/cmcc/hpl_cmcc.c" 
		Finished building: ../hpl/cmcc/hpl_cmcc.c
		Building file: ../hpl/core/hpl_core_m4.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/core/hpl_core_m4.d" -MT"hpl/core/hpl_core_m4.d" -MT"hpl/core/hpl_core_m4.o"   -o "hpl/core/hpl_core_m4.o" "../hpl/core/hpl_core_m4.c" 
		Finished building: ../hpl/core/hpl_core_m4.c
		Building file: ../hpl/core/hpl_init.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/core/hpl_init.d" -MT"hpl/core/hpl_init.d" -MT"hpl/core/hpl_init.o"   -o "hpl/core/hpl_init.o" "../hpl/core/hpl_init.c" 
		Finished building: ../hpl/core/hpl_init.c
		Building file: ../hpl/dmac/hpl_dmac.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/dmac/hpl_dmac.d" -MT"hpl/dmac/hpl_dmac.d" -MT"hpl/dmac/hpl_dmac.o"   -o "hpl/dmac/hpl_dmac.o" "../hpl/dmac/hpl_dmac.c" 
		Finished building: ../hpl/dmac/hpl_dmac.c
		Building file: ../hpl/gclk/hpl_gclk.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/gclk/hpl_gclk.d" -MT"hpl/gclk/hpl_gclk.d" -MT"hpl/gclk/hpl_gclk.o"   -o "hpl/gclk/hpl_gclk.o" "../hpl/gclk/hpl_gclk.c" 
		Finished building: ../hpl/gclk/hpl_gclk.c
		Building file: ../hpl/mclk/hpl_mclk.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/mclk/hpl_mclk.d" -MT"hpl/mclk/hpl_mclk.d" -MT"hpl/mclk/hpl_mclk.o"   -o "hpl/mclk/hpl_mclk.o" "../hpl/mclk/hpl_mclk.c" 
		Finished building: ../hpl/mclk/hpl_mclk.c
		Building file: ../hpl/osc32kctrl/hpl_osc32kctrl.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/osc32kctrl/hpl_osc32kctrl.d" -MT"hpl/osc32kctrl/hpl_osc32kctrl.d" -MT"hpl/osc32kctrl/hpl_osc32kctrl.o"   -o "hpl/osc32kctrl/hpl_osc32kctrl.o" "../hpl/osc32kctrl/hpl_osc32kctrl.c" 
		Finished building: ../hpl/osc32kctrl/hpl_osc32kctrl.c
		Building file: ../hpl/oscctrl/hpl_oscctrl.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/oscctrl/hpl_oscctrl.d" -MT"hpl/oscctrl/hpl_oscctrl.d" -MT"hpl/oscctrl/hpl_oscctrl.o"   -o "hpl/oscctrl/hpl_oscctrl.o" "../hpl/oscctrl/hpl_oscctrl.c" 
		Finished building: ../hpl/oscctrl/hpl_oscctrl.c
		Building file: ../hpl/pm/hpl_pm.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/pm/hpl_pm.d" -MT"hpl/pm/hpl_pm.d" -MT"hpl/pm/hpl_pm.o"   -o "hpl/pm/hpl_pm.o" "../hpl/pm/hpl_pm.c" 
		Finished building: ../hpl/pm/hpl_pm.c
		Building file: ../hpl/ramecc/hpl_ramecc.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/ramecc/hpl_ramecc.d" -MT"hpl/ramecc/hpl_ramecc.d" -MT"hpl/ramecc/hpl_ramecc.o"   -o "hpl/ramecc/hpl_ramecc.o" "../hpl/ramecc/hpl_ramecc.c" 
		Finished building: ../hpl/ramecc/hpl_ramecc.c
		Building file: ../hpl/rtc/rtc_lite.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/rtc/rtc_lite.d" -MT"hpl/rtc/rtc_lite.d" -MT"hpl/rtc/rtc_lite.o"   -o "hpl/rtc/rtc_lite.o" "../hpl/rtc/rtc_lite.c" 
		Finished building: ../hpl/rtc/rtc_lite.c
		Building file: ../hpl/sercom/hpl_sercom.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "hpl/sercom/hpl_sercom.d" -MT"hpl/sercom/hpl_sercom.d" -MT"hpl/sercom/hpl_sercom.o"   -o "hpl/sercom/hpl_sercom.o" "../hpl/sercom/hpl_sercom.c" 
		Finished building: ../hpl/sercom/hpl_sercom.c
		Building file: .././main.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "main.d" -MT"main.d" -MT"main.o"   -o "main.o" ".././main.c" 
		Finished building: .././main.c
		Building file: ../stdio_redirect/gcc/read.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "stdio_redirect/gcc/read.d" -MT"stdio_redirect/gcc/read.d" -MT"stdio_redirect/gcc/read.o"   -o "stdio_redirect/gcc/read.o" "../stdio_redirect/gcc/read.c" 
		Finished building: ../stdio_redirect/gcc/read.c
		Building file: ../stdio_redirect/gcc/write.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "stdio_redirect/gcc/write.d" -MT"stdio_redirect/gcc/write.d" -MT"stdio_redirect/gcc/write.o"   -o "stdio_redirect/gcc/write.o" "../stdio_redirect/gcc/write.c" 
		Finished building: ../stdio_redirect/gcc/write.c
		Building file: ../stdio_redirect/stdio_io.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "stdio_redirect/stdio_io.d" -MT"stdio_redirect/stdio_io.d" -MT"stdio_redirect/stdio_io.o"   -o "stdio_redirect/stdio_io.o" "../stdio_redirect/stdio_io.c" 
		Finished building: ../stdio_redirect/stdio_io.c
		Building file: .././stdio_start.c
		Invoking: ARM/GNU C Compiler : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe"  -x c -mthumb -D__SAME54P20A__ -DDEBUG  -I"C:\Program Files\Atmel\Studio\7.0\Packs\ARM\CMSIS\5.4.0\CMSIS\Core\Include" -I"../Config" -I".." -I"../examples" -I"../hal/include" -I"../hal/utils/include" -I"../hpl/cmcc" -I"../hpl/core" -I"../hpl/dmac" -I"../hpl/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"../hpl/ramecc" -I"../hpl/rtc" -I"../hpl/sercom" -I"../hri" -I"../stdio_redirect" -I"C:\Program Files\Atmel\Studio\7.0\Packs\Atmel\SAME54_DFP\1.1.134\include"  -O1 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m4 -c -std=gnu99 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -MD -MP -MF "stdio_start.d" -MT"stdio_start.d" -MT"stdio_start.o"   -o "stdio_start.o" ".././stdio_start.c" 
		Finished building: .././stdio_start.c
		Building target: Tick1MS.elf
		Invoking: ARM/GNU Linker : 6.3.1
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe" -o Tick1MS.elf  atmel_start.o Device_Startup/system_same54.o driver_init.o examples/driver_examples.o hal/src/hal_atomic.o hal/src/hal_cache.o hal/src/hal_delay.o hal/src/hal_gpio.o hal/src/hal_init.o hal/src/hal_io.o hal/src/hal_sleep.o hal/src/hal_usart_sync.o hal/utils/src/utils_assert.o hal/utils/src/utils_event.o hal/utils/src/utils_list.o hal/utils/src/utils_syscalls.o hpl/cmcc/hpl_cmcc.o hpl/core/hpl_core_m4.o hpl/core/hpl_init.o hpl/dmac/hpl_dmac.o hpl/gclk/hpl_gclk.o hpl/mclk/hpl_mclk.o hpl/osc32kctrl/hpl_osc32kctrl.o hpl/oscctrl/hpl_oscctrl.o hpl/pm/hpl_pm.o hpl/ramecc/hpl_ramecc.o hpl/rtc/rtc_lite.o hpl/sercom/hpl_sercom.o main.o stdio_redirect/gcc/read.o stdio_redirect/gcc/write.o stdio_redirect/stdio_io.o stdio_start.o   -mthumb -Wl,-Map="Tick1MS.map" --specs=nano.specs -Wl,--start-group -lm  -Wl,--end-group -L"..\\Device_Startup"  -Wl,--gc-sections -mcpu=cortex-m4 -Tsame54p20a_flash.ld  
		Finished building target: Tick1MS.elf
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O binary "Tick1MS.elf" "Tick1MS.bin"
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature  "Tick1MS.elf" "Tick1MS.hex"
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O binary "Tick1MS.elf" "Tick1MS.eep" || exit 0
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objdump.exe" -h -S "Tick1MS.elf" > "Tick1MS.lss"
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature  "Tick1MS.elf" "Tick1MS.srec"
		"C:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-size.exe" "Tick1MS.elf"
		   text	   data	    bss	    dec	    hex	filename
		    140	      0	  65568	  65708	  100ac	Tick1MS.elf
	Done executing task "RunCompilerTask".
	Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
	Task "RunOutputFileVerifyTask"
				Program Memory Usage 	:	140 bytes   0.0 % Full
				Data Memory Usage 		:	65568 bytes   24.3 % Full
	Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "Tick1MS.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files\Atmel\Studio\7.0\Vs\Avr.common.targets" from project "E:\Studio7\SAME54X\SAME54X\Tick1MS\Tick1MS.cproj" (entry point):
Done building target "Build" in project "Tick1MS.cproj".
Done building project "Tick1MS.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

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

Update 3: I've tracked it down to a specific symptom, but not a specific cause:

 

When this bug appears, startup_same54.c is absent from the .cproj file.  Here's an excerpt of from a "good" .proj file:

 

    <Compile Include="Config\stdio_redirect_config.h">

      <SubType>compile</SubType>

    </Compile>

    <Compile Include="Device_Startup\startup_same54.c">

      <SubType>compile</SubType>

    </Compile>

    <Compile Include="Device_Startup\system_same54.c">

      <SubType>compile</SubType>

    </Compile>

 

... and an excerpt from the same project when the bug is manifesting itself:

 

    <Compile Include="Config\stdio_redirect_config.h">

      <SubType>compile</SubType>

    </Compile>

    <Compile Include="Device_Startup\system_same54.c">

      <SubType>compile</SubType>

    </Compile>

 

For the nonce, I've changed my system preferences to use only one process in Atmel Studio 7 -- I can't help but feel this might be a multi-threading issue.  So I'll see if it appears again.

 

I'm also changing the title of this issue to be more informative.