Tagged: freertos

Not as Smooth as I’d thought

Week 5. I continued working on utilizing FreeRTOS for our board as last week I had done a very improper implementation. In my inexperienced eyes, everything was working, but more and more issues were appearing. That’s...

To FreeRTOS

This week I was tasked with migrating our PIC32 code so it would use the superior FreeRTOS architecture instead of a superloop. Having no experience in FreeRTOS whatsoever I began by skimming through the first 3 chapters...

RTOS result

There are few results that had been obtained to testing the performance of the RTOS. Compare the relationship between instruction cycle used for initialization with different optimization level in different type of RTOS For...

Context switching in FreeRTOS

FreeRTOS capable to run multiple tasks by using tasks switching method. Scheduler is the kernel who doing the task switching operation. The scheduler will changing the task into running state when it is require....

TCB in FreeRTOS

Last week, I found that the value pxCurrentTCB is different from the instruction address of my task created. After discuss with Dr Shawn, he told me that the value of pxCurrentTCB should be different from...

Stack pointer in FreeRTOS

This week I am trying to implement the stack initialization to the system. Other than that, the FreeRTOS required programmer to make functions to save and restore context of the system during tasks switching....

Starting FreeRTOS

This week I trying to port another RTOS to our microprocessor. The purpose to learn this OS because it usually run preemptive operation in event scheduler. Same as Contiki, FreeRTOS also a RTOS design for small and...

Contiki and FreeRTOS

Last week, I am still doing on contiki’s functions testing in my new porting microprocessor and platform. After 1 week plus of function testing, the basic functions are working in my porting microprocessor and...