Page 1 of 1

Supported releases

Posted: Wed May 01, 2013 5:52 am
by z900collector
G'Day,

I am an avid user of the Arduino platform and have several models which I am developing for, I am looking for an OS which allows some level of multitasking/concurrent operation and ChibiOS has been recommended over FreeRTOS so I want to give it a serious go, however after reading of the help pages on the ChibiOS web site I am not sure which release of the code is usable with the different Arduino boards I have. Can someone give me some direction on what I should be downloading for:

1. arduino duemilanove.
2. arduino mega 2560.
3. arduino Due (dont have this yet but will be purchasing a few shortly).

While some of these may have performance issues like the first 2, I do at least want to understand the issues involved. I also want to implement a UDP/TCP/IP stack so some direction here would be great.

Thanks

Sid

Re: Supported releases

Posted: Wed May 01, 2013 7:31 am
by Giovanni
Hi,

The default distribution does not have any demo for Arduino boards, only a generic AVR port that can be easily adapted. If you want to use Arduino I suggest to visit this link: http://arduino.cc/forum/index.php?PHPSE ... c=145716.0

The user fat16lib is maintaining a specific ChibiOS port for Arduino with examples.

Giovanni

Re: Supported releases

Posted: Tue May 07, 2013 3:22 am
by z900collector
Thanks for the reply Giovanni, I downloaded his port and it works fine, I'm already up and running with it so thats a good sign!

I'm not sure if this is the right place to ask this but how would I go about implementing the Arduino TCP/IP stack, I was thinking tasks and message queues for the protocol support, but I still have to get my head around implementing the WIZNET chip driver and the API for the sockets.

Any thoughts or pointer to a possible direction appreciated :D

Sid

Re: Supported releases

Posted: Tue May 07, 2013 7:59 am
by Giovanni
Hi,

I don't know that stack but in general you can integrate a functionality like that into a thread and let it run in parallel with the rest of the system. In ChibiOS there is support for the lwIP stack and it is done exactly this way, a dedicated thread runs the TCP/IP.

Giovanni