[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

IoAbstraction tasking platform and comparison with other tasking platforms RSS feed
Forum Index » IoAbstraction & TaskManagerIO
Author Message
scjerry


Joined: Jul 12, 2020
Messages: 4
Offline
Hi Dave
Looking at using a SAMD processor (Adafruit Feather M0). Can you compare with other tasking frameworks such as RTOS https://cypresssemiconductorco.github.io/abstraction-rtos/html/index.html and FreeRTOS
http://ww1.microchip.com/downloads/en/appnotes/atmel-42382-getting-started-with-freertos-on-atmel-sam-flash-mcus_applicationnote_at04056.pdf ?
Jerry
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
They are both very different to be honest. Task manager is basically more similar to a co-routines implementation than an RTOS, in fact, taskManager runs on top of mbed RTOS. There a huge debate around if it's better to do things on one thread, or to start many threads, but task manager sits on the side of doing things on one thread. This means your core business logic does not need to be thread-safe, it will never be invoked on multiple threads. Therefore, anything that needs to done asynchronously is either submitted to task manager for future processing, or an asynchronous task started that results in a new task being added to task manager when finished (or an interrupt raised).

What you use it up to you, based on the project that you need to work on, we don't have a port for FreeRTOS, so if you go that route, it's unlikely task manager would work without modifications and we don't support that configuration at the moment.

Boards that we fully support:

* mbed RTOS 5 in full, including all abstractions. Tested on ST microelectronics cortex 4 board.
* Arduino on AVR (Uno, Mega, Mighty etc), SAMD (MKR and Zero), Nano (IoT and Nano 33 BLE).
* ESP8266 and ESP32 in full via Arduino, augmented as needed with native API calls to fill the gaps.

Dave.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
I just re-read again. Do either of those RTOS libraries work on an Atmel cortex M0 with 32K RAM and 256K flash? The board specs look very light for that usage. Maybe it works, I don't know.

Personally, when I use mbed RTOS, I use really big boards with 256K RAM and Cortex M4 processors. Even the new Arduino Nano BLE and ESP32 that both run an RTOS have much larger RAM and clock speeds.

Like I say, this is just my opinion, as the old saying goes, "your mileage may vary".
 
Forum Index » IoAbstraction & TaskManagerIO
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.