FreeRTOS Memory Heap Problem

This week I pushed my basic FreeRTOS port onto a release branch on GIT (yay) as functionality is good. It’s very simple. It has 3 apps related to USB, FPGA and TCP/IP. The USB CDC app task maintains the state of the driver and creates another task whose job is checking the status of certain global 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…

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…

Running Tasks with Contiki

In contiki os, there are a lot of functions predefined in the core file. During programming in contiki os, programmers require to follow the contiki programming style to create their own code. These functions are PROCESS_BEGIN(), PROCESS_END(), PROCESS_YIELD() and so on. All of the functions have its own uses but some of it only Read more…

Working on Contiki OS

This week I having more explore on Contiki OS. Dr. Shawn explained on our processor architecture which gave me clearer picture what I need to do my project. Besides that, he also explained on the concept of RTOS system. The first two days, I trying to run a “Hello world” program in Contiki Read more…

First week of internship

This is the first week internship in Aeste Work (M) Sdn. Bhd.. The first day, Dr Shawn introduced the project background to us and I will work on the operating system of the project. The first and second day, I am practicing on using GIT tool for programming. GIT able Read more…