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, there are quite interesting error occur, which is variable conflict happen during compilation RISC V on contiki system. This error occur due to both RISC V and contiki core system Read more…

Modifications to the Schematic Editor

Bugs, bugs, and more bugs! I think that summarizes the past week! We haven’t introduced much features to the project, but rather we spent the week improving the code, and solving the problems that arise. I basically worked on creating the components for the schematic editor, moving the schematic files from Wt’s app root to the server temporary directory, and doing some enhancements here and there. Schematic components If you remember my post from last week, it had a section 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 to the main big project. Temporary path files: My first task of this week was to adjust or modify the current code so that all the transient operation will take Read more…

The Organization of File Storage

This week, I focused with the structuring of my previous coding. As being told by my supervisor, the way I programmed was not well planned yet. The main problem that causes these, is the bad habit of hard coding. I tend to hard-coded many things that I am uncertain with. And I found that, this habit actually lead to more work to do, as I need to clean up the code again and solve some other problems that came out with, 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 IDE is an easy-to-use tool and it can certainly do magic tricks where we just have to input the source codes, then compile and lastly run it. Voila, the output Read more…

UART and SPI Communication

This week I worked on the UART communication. My task is to transmit and receive the bytes of data via the RS232 port of the PICDEM.net 2. Dr. Shawn gave me a brief on the process and introduced the minicom program to me, in order for me to verify whether there is transmission of data. After reading and researching, I wrote a simple code of UART but it only generated corrupted words. I suspected that the problem behind is the Read more…

Working on the schematic editor

For the most part of this week, I was working on the project user interface. As we are preparing for an early release, we need to optimize the code, fix the bugs, and do some code cleanup. I started this week by creating the SVG graphics for the board. After that, and until the end of the week I worked mostly on the UI part. The board graphics Last week the board design was finally finished. Now that we are Read more…

Wrappers Classes and Modules

This week was really different!! Usually at the beginning of each week we used to be aware of the specific task that we have to achieve but in this week, things were different!! Issues were being opened on daily basis and as soon as you close one you get three in return (Buy one and get three free ) that definitely made opening your Gmail account a NIGHTMARE . And because the past claws its way out… All the issue 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 OS using AVR cpu. In the build process of “Hello world”, I had more understand on Contiki programming style. Which is I need to declare when the program begin and Read more…

Interfacing with the Simulator

Continued from last week progress, I started to port the previous debugger code and simulator code into the simulator without the web worker. For the moment, I still unable to find any drawbacks of not using a web worker. Luckily, there is no major modification on the debugger code, which makes my life a little bit simpler. I had also worked with the other project code to call the simulator. This really took me some time as I would need Read more…