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…

Venturing into the Hardware Abyss

After a brief hiatus from work, I met Dr. Shawn on Sunday who gave a short briefing about my subsequent project which was to implement some features for the PIC32 on the board. He then provided me with reading materials to be read in the coming week which were divided into understanding how an RTOS works, familiarising myself with the Harmony library and working with MPLABX. However he told me that the programmer and the boards were all currently with Read more…

Last Bug ?

After I finished fixing the last bug , Dr Shawn asked me to do some testing to double check that everything is working properly. He told me to use it like it is not supposed to be used so that I can see whether there are still any bugs that need to be fixed. The bug that I found was users can enter past date when they want to schedule or reschedule the patients. I fixed the bug however in Read more…