Pages: 1 ... 11 12 [13]   Go Down
Author Topic: DuinOS: small and simple rtos  (Read 49285 times)
0 Members and 1 Guest are viewing this topic.
Argentina
Offline Offline
Full Member
***
Karma: 0
Posts: 188
Sé feliz
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Some yes, and some no:

- OneWire and Servo are not tested now, but no work has been done there as far as I know (is it correct?)

- printf has been replaced by Yannick56 in the v0.3, with the mprintf from Paula's library (http://www.out--there.com/blog/the-devil-is-in-the-details-atmega-startup-to-freertos/)

- WiShield: Don't know.

- Tone: Must be working since the DuinOS v0.2 released by CHERTS.

Thanks Yannick! Very great work!

Cheers!
Julián
http://robotgroup.com.ar
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 39
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I tested with the 2560 and OR must have done something wrong or there must be something wrong where the RTOS doesn't support the board:  #error "Device is not supported by DuinOS", is one of many.

Any ideas Yannick?

Thanks!
Logged

France
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Stijn

Can you reply to my  personal message in this forum ?

>So I tested with the 2560
Do you test with the latest source code (commit r27) in SVN here http://code.google.com/p/duinos/source/list ?

>#error "Device is not supported by DuinOS"
This message is at the end of the file FreeRTOSConfig.h here :
http://code.google.com/p/duinos/source/browse/trunk/arduino.DuinOS/FreeRTOSConfig.h

Yannick

Logged

France
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello DuinOS users,

I have updated DuinOS 0.2 source code for a DuinOS 0.3 release.

You can find the changes here in the readme.txt file :
http://code.google.com/p/duinos/source/browse/trunk/Readme.txt

or in the commit list here :
http://code.google.com/p/duinos/source/list

To get the latest source code, use the svn command here
http://code.google.com/p/duinos/source/checkout

Please test and report bugs or things that don't work in this forum.

Yannick.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you for this release
I  want just to know if this version 3.0 accepts: micros(), delayMicroseconds() and pulseIn(), because I use them to measure distance with an ultrasonic sensor.
Logged

France
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@chaoui

>thank you for this release
It is not a release.
It's for testing by users before a release
and to know if some arduino card works or not.

If you want to test, then follow the part
"Install for DuinOS 0.3 Dev SVN for testing only "
at
http://robotgroup.com.ar/duinos/wiki/index.php?title=DownLoad_and_Getting_Started.

>I  want just to know if this version 3.0 accepts: micros(), >delayMicroseconds() and pulseIn(),
Maybe, if it is in Arduino IDE 0021 API or FreeRTOS 6.1.0 API.
You need to test it.

Note : in the next days, I will try to replace Timer1A by Timer 0 OVF used by DuinOS kernel to improve compatibility with Arduino standard libs ( Here, I think about Servo lib).
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you very much I'll do it soon
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Guys!

I've been trying to work with a servo and I tried the basic SWEEP example but I keep receiving the following error message :
core.a(port.c.o): In function `__vector_11':
E:\ARDUINOsoft\arduino-0021_duinOSv0.3\arduino-0021\hardware\arduino\cores\arduino.DuinOS\DuinOS/port.c:478: multiple definition of `__vector_11'
Servo_renamed\Servo.cpp.o:E:\ARDUINOsoft\arduino-0021_duinOSv0.3\arduino-0021\libraries\Servo_renamed/Servo.cpp:103: first defined here


The example works perfectly fine if I don't use DuinOS.

Can you please help me??  Thank you in advance!
Logged

France
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

>I've been trying to work with a servo and I tried the basic SWEEP
> The example works perfectly fine if I don't use DuinOS.
> Can you please help me??  Thank you in advance!

Yes, you must have this error because in the file      DuinOS_v0.3_Alpha_dev_svn20101222.zip, DuinOS use Timer 1 for its kernel.
Timer 1 is 16 bits.
But Servo lib need Timer1.
And you use the Servo Lib that is not patched to not use Timer 1.

Then use patched Servo lib (from Arduino IDE 0021) with Timer1 disabled because DuinOS uses the timer 1 for its kernel,
if you have a card with AtMega 128, 1280, 1281, 2560, 2561, 32U4, AT90USB646, AT90USB1286.
This patched Servo lib with Timer disabled is in the file DuinOS_v0.3_Alpha_dev_svn20101222.zip.
And for the other cards, I have added ServoTimer2 lib to replace Servo for AtMega 88,168,328,644 - use the 8 bits Timer2 to manage up to 8 servos
  ServoTimer2 lib website : http://code.google.com/p/tricopter/source/browse/trunk/arduino/#arduino%2Flibraries%2FServoTimer2

Or you can get the latest DuinOS souce code here
http://code.google.com/p/duinos/source/checkout
where I have replaced Timer1 by Timer0 for the timer used by DuinOS kernel.
« Last Edit: December 29, 2010, 09:17:25 am by yannick56 » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have tested micros(), delayMicroseconds() and pulseIn() with blinking LEDs, with a very simple examples on an Arduino Mega (1280), it seems to be working fine smiley
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've tested semaphores being set via interrupts on Arduino v22.

Note the hardware directory is a little different but seems to compile, load, and run correctly.

Does it makes sense for someone to put a regression test outline on the Google project site?  The thought here is if we have various parties checking off a known set of previously supported features, we can move the process along.  

Also, if there were a list of unresolved and untested subsystems, those interested could work on those as needed and contribute to the project.

Thoughts?
Logged

Pages: 1 ... 11 12 [13]   Go Up
Jump to: