I bought a BoostC 7 Pro licence a few months ago, and finally got the time to get aquainted with it.
After one week and some 8 working programs I decided its time to start messing around with the NOVO RTOS.
With your help (in this forum) I already managed to put 5 or 6 NOVO test programs to work. There were very simple programs playing with some LEDs and an ADC.
By the way, my test hardware is the Microchip Pickit 28 pin demo board fitted with a PIC16F886 mcu that come with my PicKit Serial Analyzer.
The next step in my "self-teaching" is a more complex project.
I'm in the process of migrating to NOVO the demo program that Microchip fitted to the above mentioned demo board (original in ASM)..
Now that I put you all in context, the questions:
This demo program has a power on sequence that flashes the 4 leds in several ways before entering normal operation.
I'm facing several options to implement this:
a- Execute this startup sequence before starting the NOVO kernel
I would have to use normal BoostC delays as Sys_Sleep() won't be available.
b- Create a standard task that runs only once and then waits forever on a semaphore that nobody signals.
c- Only Start this led show off task and use a semaphore at the end to tell the main() function to Stop it and Start all the others.
While looking at these and other more twisted options, some doubts about NOVO aroused.
1) Can a task stop himself? Is it "legal" to call Sys_StopTask from within the task beeing stopped?
2) If I use priorities, what is the priority of the idle task?
3) By the way is it correct to call "Idle Task" to the "while(1){Sys_Yield();}" loop in the "main()" function? Or there is some "Idle Task" hidden inside the NOVO kernel?
Its not my first experience with multi-tasking kernels, either cooperative or preemptive. But its a first time on such small devices. Anyway each kernel as its own semanthics so I'd better start from the begining.
Any toughts or advice would be very appreciated.
Best regards
Jorge
PS: So far I'm really liking BoostC and NOVO, they look like great tools. Congrats to the SourceBoost team.
Edited by JorgeF, 16 February 2012 - 09:27 AM.











