RTOS Porting on M7.

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

Is possible to port FreeRTOS/ERIKA rtos on SAM V71 Xplained Ultra Evaluation Kit - Atmel?

Last Edited: Thu. Oct 15, 2015 - 11:33 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm sure it is - about the only bit of hardware FreeRTOS uses is a timer to provide the time slicing interrupt. After that it's just about storing the context from the register set.

 

FreeRTOS comes with examples for other Cortex so the approach should be very similar.

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

NUTTX has a port for that board. There's also a port of uclinux for the M7, but not specifically for the Atmel V7.
Greg Nutt comments that he considers the chip fast - up with the SAMA5. The crypto is pretty quick - 12clocks for AES128 - 25million per second.

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

Though not an RTOS mbed OS may be an acceptable alternative to uClinux or an RTOS; mbed OS has security domains, a TLS, and significant networking.

Atmel is an mbed partner but no Atmel boards yet though two Atmel Cortex-M0+ are in.


ARM mbed

mbed OS

http://www.mbed.com/en/development/software/mbed-os/

...

mbed OS is by default a single-threaded, event driven architecture, rather than a multi-threaded (real time operating system) environment.

...

However, for those applications that do require multithreading functionality, we intend to re-introduce it in 2016, after integrating it with our security and power management components.

...

ARM mbed

Partners

Atmel

http://www.mbed.com/en/partners/atmel/

A competitor's relatively inexpensive ARM Cortex-M7 board :

ARM mbed Developer Site

Platforms

DISCO-F746NG

https://mbed.arm.com/platforms/ST-Discovery-F746NG/

Atmel SAMD21J18A, SAMR21G18A :

https://developer.mbed.org/users/mbed_official/code/mbed-src/file/9c82b0f79f3d/targets/hal/TARGET_Atmel/

"Dare to be naïve." - Buckminster Fuller

Last Edited: Wed. Sep 16, 2015 - 01:55 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

SAM V71 is actually uClinux support by the same guys that did support for ST MCU (can't remember their name right now).

 

But uClinux is a very bad choice. It needs a lot of RAM and Flash (there is no way embedded RAM and Flash will be enough for a usable system). It also does not make much sense for deeply embedded applications, and the "Linux" part of it means basically nothing, since you can't make very fundamental things work without MMU (like dynamic libraries, for example).

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

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

alexru wrote:
SAM V71 is actually uClinux support by the same guys that did support for ST MCU (can't remember their name right now).
Emcraft Systems (Russia, California) ?

Emcraft Systems

Products

http://www.emcraft.com/products

 

"Dare to be naïve." - Buckminster Fuller

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

gchapman wrote:
Emcraft Systems (Russia, California) ?
Yep, them. There was a press release a few days back.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

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

There's been a few commercial products that use ucLinux over the years, so it can't be too bad. Sure, there's limitations but that doesn't make it 'bad'!

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

SnapGear Linux was one for gateways and routers.

LWN.net

SnapGear Embedded Linux

April 29, 2003

by corbet

https://lwn.net/Articles/30643/

...

The distribution brings together embedded Linux support for deeply embedded microprocessors that lack a memory management unit (MMU) such as Motorola ColdFire, ARM and LEON SPARC ...

...

"Dare to be naïve." - Buckminster Fuller

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

FreeRTOS for the SAM V71 was released on the same day the SVM V71 was launched:  http://www.freertos.org/Atmel_SA...

 

+ http://www.FreeRTOS.org
The de facto standard, downloaded every 170 second during 2019.

 

 

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

@Barry: Yeah, Thanks for providing the link about the FReeRTOS porting on the same board.