Admin-On-Rest

This week started off with me making a terrible mistake. Dr. Shawn asked me to restructure the code as we need to start pushing any work related to front-end to the remote repository. I was instructed to download the zip file from admin-on-rest, unzip the file and push the whole thing into the remote repository.  However, I went on git cloning the admin-on-rest repository and pushing it to  the project repository, as I had always thought git cloning and zipping Read more

Tying up C++ Drivers

Last week I successfully completed the Gpio and Spi driver heavily inspired by a third-party API so that there is consistency in the way the code is written and how it is called. Referring to the latter, I’ve alse included a T3 namespace so that functions are now called via the format, T3::Gpio::Write(int dvalue) for example. This week I will be wrapping up by internship in Aeste, it has been a tremendous learning experience so far, I’ve managed to hone Read more

New Project

This week I have fixed the last bug. I thought I have check and fix all the bugs but when Dr Shawn checked my works he said that there still a few bugs that he found in the project. I have to recheck and fix the bugs. It is my mistake for not being meticulous when checking the project. I also have started working on Admin on Rest for new project. I have to handle the front end of the Read more

Having fun with PIC32

Upon receiving the board, I started by getting the typical Hello World program to work (i.e. getting LEDs to light up). Of the 2 methods that can be used to toggle a pin which are 1. Directly writing values to TRISDX and RDX and 2. Using the PLIB Library which is provided by Harmony, Dr. Shawn thought about the pros and cons of both methods and decided to make our lives easier by going with the PLIB Library method which Read more

Moving on to Front-End integration

First of all, I’m glad that the days of digging into POCO library and locating the code segment which removes elements upon exipration didn’t go wasted. I managed to get the caching expiration mechasmin done without any error despite having run into several problems before. For example, the actual code implements class template which is nested. I was initially quite confused by this but I managed to understand it and implement it at the end. The other challenge was constructing Read more

The end of a journey

After working with the project for 9 weeks, I am definitely more confident and productive than I was before. One of my task for this week is to write a REST api for the GNU debugger. I am familiar with the structure of a REST api because I have been  interacting with other existing REST application programming interfaces for the past few weeks. Hence, I was able  to finish the debugger api in three days. This week, I spent most Read more

Implementing an API

Based on my working code which was verified via the simulator, I started the week by implementing the API for the GPIO driver. Prior to this internship I have only used standard libraries on C & C++ and this would be the first time I’m implementing an API. Initially I didn’t know where to start and began by just reading the documentation on the API website over and over and over again until I made the connection to rewrite my Read more

Struggling with binary

This week, I am working on retrieving binary data from the session storage. Even though the data I retrieved are in elf, but I couldn’t proceed to handle the data because the data are corrupted. Hence, I started to find out which method corrupts the binary data. After testing, I found out that the binary data are fine before the Ajax request but when I log the data I got from the response, it is not the same as the Read more

The Wall

Last week, I spent time learning up on MSPI so that I am able to understand how the protocol works so that my drivers would be compatible. Moreover, despite finishing to format and verifying the it on S3LAKU, Dr. Shawn has shed light and helped me understand that this only verifies the DATA side and doesn’t necessary mean the ADDRESS side is correct. Therefore, I have hit a figurative wall in my understanding and have spend the past 4 days Read more

Exploring GDB

When I was trying to simulate the codes line by line, I found out that the logging file for GDB does not contain the information I was expecting. At first, I suspected that there were some mistakes in the source code. However, after testing and understanding the code, I knew I made the wrong assumption. Apparently, things went wrong when I run the GDB. I forgot to add the debugging information to the ELF file I’ve generated. Hence the debugger Read more