Photo by Tim Gouw on Unsplash

Week Two

This was the second week being an Intern at Aeste. At the start of the week, Dr Shawn explained the overview of the main project that I would be handling during this internship. One of the tasks were to eventually interface a few other popular FPGA’s with the PIC microcontroller Read more…

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 when Dr. Shawn took a look at the chaos I’ve created. Basically I didn’t understand well Read more…

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 of documentation to get me started. Later I simply enabled the FreeRTOS third party library in Harmony Configurator Read more…

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 initialization OS, FreeRTOS is much more higher than Contiki. The is due to there are a Read more…

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. But when the yield, block or suspend functions is called, the scheduler will switching other task Read more…

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 the instruction address of task created inside elf file. The pxCurrentTCB is holding the stack address Read more…

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. Every tasks in FreeRTOS required to save into the stack. The task is assigned to the Read more…

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 memory constraint processor. Currently, FreeRTOS had successfully ported to plenty of microprocessor which consist products of Altera, Read more…

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 platform. The process in contiki OS called protothread. All of those protothread are scheduled in cooperative manner. Read more…