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…

Code Restructure!

The stream of code bugs and necessary modifications continued running this week as well. I had to do some code modification, complete some features and solve some bugs here and there. This  really took longer than I thought it would! Hopefully it will finish soon. Customizable BRAM size. I had Read more…

Calling the Callbacks

This week I have tested all the plugin callbacks available in GCC The plugins list are defined by plugin.def in GCC. The plugin is initiated by plugin_init function, then the plugin is called through register_callback function. For each plugin, a register_callback is required, then the plugin function will be called and Read more…

Week 3: SPI Communication

This week I continue on the working of SPI. The main problem is the writing through the page border of EEPROM. To write across the page, it is required to resend the write command and assigned new address. Firstly, I wrote a code that will keep refresh the address inside Read more…

Compilation Dummy Contiki

This week I am working on dummy contiki OS to be compile using RISC V compiler. During compilation, there are a lot errors prone. Most of the errors happened during typo occur in the code, such as #if but without #endif, without semicolon in the ending code and so on. Besides that, Read more…

Necessary Changes!!

This week was relatively short, as the end of the week was the Eid Fitri holiday yet the week was so jammed with so many things needed to be accomplished. Like the past week the tasks were kind of unrelated to each other but eventually all of them are related Read more…

Compilation Stages

This week I’m going to write about compiler, which compiles our programming code into an executable file. I believe most people have used an IDE ( Integrated Development Environment) before to compile and run their codes before, especially in the early stages of learning how to program. No doubt an Read more…