# sam3s-ek+gcc(atmel studio 6) example....

**URL:** <https://forums.freertos.org/t/sam3s-ek-gcc-atmel-studio-6-example/3699>\
**Category:** Kernel\
**Created:** [August 30, 2012, 6:48am UTC](https://forums.freertos.org/t/sam3s-ek-gcc-atmel-studio-6-example/3699 "2012-08-30T06:48:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 30, 2012, 6:48am UTC](https://forums.freertos.org/t/sam3s-ek-gcc-atmel-studio-6-example/3699/1 "2012-08-30T06:48:37Z")

</div>

**anonymous** wrote on [Thursday, August 30, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/9fc591fa/#3ad3):

Hi,  
I’ m trying to get freertos running on my sam3s-ek using atmel studio. This far I only have been partly successful.  
What happens is that my applications get serviced only a few times. Then the sw hangs somewhere. The problem is there both during debug and normal execution. Though servicing of the app might work a little longer in debug with breakpoints.  
I’m using freertos 7.2.0 and the ARM-CM3 port.

Is there anyone else that have seen such behaviour or have any ideas for a solution?  
/Niklas

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [August 30, 2012, 7:45am UTC](https://forums.freertos.org/t/sam3s-ek-gcc-atmel-studio-6-example/3699/2 "2012-08-30T07:45:55Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, August 30, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/9fc591fa/#6b5c):

FreeRTOS V7.2.0 has a project for the SAM4S-EK using Atmel Studio 6 under FreeRTOS/Demo/CORTEX\_M4\_ATSAM4S\_Atmel\_Studio.&nbsp; As this part does not have an FPU the project is set up to use the Cortex-M3 FreeRTOS port (rather than the Cortex-M4F port).

If you checkout the latest SVN head revision from SourceForge you will also find SAM3X-EK and SAM3S-EK2 projects, both using Studio 6, in the FreeRTOS/Demo/CORTEX\_ATSAM3X\_Atmel\_Studio and FreeRTOS/Demo/CORTEX\_ATSAM3S-EK2\_Atmel\_Studio directories respectively.&nbsp; You can use the instructions on the SAM4S-EK documentation page to run these demos too (just use the files in the correct directory) [http://www.freertos.org/Atmel\_SAM4\_SAM4S-EK\_RTOS\_Demo.html](http://www.freertos.org/Atmel_SAM4_SAM4S-EK_RTOS_Demo.html)

Regards.
