rnbrock wrote on Thursday, May 07, 2009:
Thanks for the feedback. I am determined to get a handle on this RTOS. I understand the idea of using the demo, but whenever I make what seem like small changes to it, I don’t get the results I’m expecting. For example, in the ATMega323 demo, I simply added a DDRA= 0xFF and PORTA = 0xFF to turn on all of the LEDs on my development board, but got nothing. I assume the demo has defined the port for another purpose, I just didn’t stumble on it. It uses PORTB to control some LEDs, but on my board they are tied to PORTA.
It also seems to me that it shouldn’t be that hard to build up an app from scratch, but I am sure struggling a bit. I just want to see a few tasks running with a message queue and a couple of semaphores. I didn’t even see a semaphore in the ATMega323 example.
Related to Richard’s response, is the tick interrupt tied to a timer? Can you point me to the right section in the documentation?