Chapter 5: My fifth week in AESTE

This is my fifth week in AESTE. Yes !! I had solved the 4096 RSA key encrytption problem. The solution is change the FP_MAX_BITS to 8192, then all the problems solved. This week my task is to generate a 1024 RSA key by PIC32, generate serial number and MAC address. Generate 1024 RSA key by PIC32: PIC32 need to generate 1024 RSA key and print the public key. There are few problems I faced when I doing this.  I found that Read more…

Learning

Guess who have completed the front-end and the back-end of the system this week? Yes, it’s me. Like finally I did it..with the help of Dr.Shawn haha. I feel happy even though I know I’m still slow but somehow I show some progress. Thank you Dr.Shawn for your patience in teaching me and you know it’s a pleasure to get scolded by you haha. Getting scolded at work is definitely a learning process 🙂  #positive Next up, since I already completed Read more…

Chapter 4: Encryption and Decryption

This is my fourth week internship in AESTE. This week my task is to send a string from PIC32 to desktop. Then, using wolfSSL encrypt function to encrypt the string and type out again to desktop. After type out, using our precreate private key to decrypt and check whether same with the string inside PIC32 or not. Unfortunately, I cannot complete my task before Saturday. When Dr Shawn came on Saturday, he teach me how to use the encryption function Read more…

Keys to the Kingdom

I continued to work on integrating with cloud storage services this week. As of now, it is important that I get something working as soon as possible, therefore my focus was to just get the SSHFS protocol to work as expected. Last week, I worked on the CREATE part of the REST API endpoint that mounts the remote filesystem. For some reason I got confused and change the CREATE method to save an uploaded file to the cloud server after Read more…

Little by Little

I started off with the project by writing some test cases and carry out some automated testing. I didn’t understand everything that was going on at that point, but I hoped that testing would shed some light on the behaviour of the back end. The first thing to do when making a test is to make an assumption or have some expectation on some behaviour of the application. The Wiki page of the project’s Git repository contains documentation for each REST Read more…

RE-DO

This week started with me trying to update the REST API to accept multi-piece scoring and update the computation algorithm to handle multiple scores.  I’ve modified the REST API to accept multi-piece scoring from the front-end but there is an error when I tried to run the system. ERROR : CREATE UNIQUE INDEX From the error information, I know that it is about the security of the system. Create unique index syntax is duplicate values are not allowed which means Read more…

Chapter 3: Real World is Coming

Last week I had tested the keyboard typing speed by different buffer size and different CPU frequency. After collected the data, I had plotted 2 graph to make a conclusion. PIC32 keyboard typing speed is won’t be affected by changing buffer size or CPU frequency. The typing speed is remain in 2ms per character. The graphs are as shown in below. After almost 2 weeks to familiar with PIC32MX Starter Kit and Microchip Harmony, the real world is coming which Read more…

I Feel It Coming

I am more focusing on the back-end of the system this week since I have completed the front-end development which is GUI updated to handle multi-piece scoring on Wednesday. The  Json score object which is absolute score now is in the array and it accepts the multi-piece scoring from the slider. There are several methods for adding new items into an array but for this case, I just use push() method. Make sure that the absolute score needs to be Read more…

Chapter 2: PIC32 USB Keyboard Experiment

This is my second week in AESTE. This week I continue to workout the USB function in PIC32 starter kit. Before that, I had studied the USB theory in order to know how it works and how the USB device can communication with the USB host(PC). There are 3 stages: dynamic detection, enumeration and configuration. Dynamic detection is the recognition of a change in the state of a USB port. Enumeration is the process of assigning a unique address to Read more…

The Apprentice

Hello, everyone. I have returned. Well it turns out my last post wasn’t really my last. This time, however, I’m not writing as an intern any longer. I am now a so called “apprentice”, as stated by Dr Shawn. It’s exciting to be working on a new project. The current project I am tasked to work on now is one of AESTE’s very own in-house project, i.e some cool project management web application. It has been in development for some Read more…