Clock is Ticking

This week, I spent a while studying more about stringstream and boostsystem in order to be able to work on separating the upload and download feature into independent WResources to ensure that it can be called by other projects when required i.e. comprise of individual entrypoints. I made a step by step check-list of how I would want to proceed with the separation as all of them which had already been under the same WApplication. Retrieving the access_token was the priority Read more

PIC32 and WolfSSL (ノಠ益ಠ)ノ彡┻━┻ |

This is my seventh week in AESTE. Getting started on PIC32 with DM320004 and wolfssl library. ┏(-_-)┓┏(-_-)┛┗(-_– )┓┗(-_-)┛┏(-_-)┓ ┏(-_-)┛┗(-_– )┓┗(-_-)┛┏(-_-)┓┏(-_-)┛┗(-_– )┓┗(-_-)┛┏(-_-)┓┏(-_-)┛┗(-_– )┓┗(-_-)┛┏(-_-)┓ Getting Started with PIC32 The following are needed before starting pic32 MPLABX IDE Microchip Library for Application – MLA (I suggest 2013 June MLA version for DM320004) Install XC32 compiler then install PIC32 Legacy Peripheral Libraries(two setup with XC32 first) Follow this link to import TCPIP Stack for PIC32 (First Step with DM320004) Next is to compile the TCPIP stack example Read more

Timing Signals for CCD

This week is pretty interesting, as I was working on the timing signals for the CCD. In order to perform demosaicing, my supervisor advised me to understand on the operation of the CCD. The CCD Phase Signal The CCD sensor will only operate and controlled by the timing signals that are supplied to the pins. I found this link to be useful in understanding the fundamental of CCD, such as the phase shifting of CCD output. Besides, CCD would have Read more

Moving on from Dropbox

It works! It works! It finally works!! I can say my “Upload/ Download” finally works after weeks of struggling with it. That was a joyous moment for me. This would have my last week fighting to get the feature working. After a lot of trial and error with various syntax and protocols, I have succeeded in showing Dropbox Upload/Download feature functioning for sample .txt files. As I have mentioned in the last week’s blog, I had been stuck with Error 404, which Read more

Intimate Session with Wt

For this week, I’ve worked on several different things, mostly to complete the linking between schematic, compiler and processor simulator. To communicate among the components, I have used emit() in Wt which implement the signal and slot system. Jsignal and Jslot The signal and slot system allows user to send up to 6 arguments. In official Wt documentation, there is little elaboration on how to perform the Wt.emit function. In any web application, it is important to send information among Read more

HOTP for Wt

This is my sixth week of intern in AESTE. I started the week with discussing with Maisha on how should I get started on using Wt. She taught me some of the basic stuff of Wt and with the help of Peter, they set up a simple Wt Application template for me to write my HOTP library on the template and also so that my work will not conflict with theirs. I am really fortunate because all my current colleague Read more

Just so close

The struggle is real. As mentioned before, considering the fact that Dropbox is only created to support Javascript, Python, Ruby, HTTP etc. So there is faint hope of these being anything similar to what I am working on- witty, a library of C++. So their documentations are quite irrelevant to my case. Since the basic concept is the same, I have been using the HTTP documentation for reference. Initially in the week, I was struggling to grasp the idea of which part Read more

Creating an IO object in Javascript

Creating an IO object After nearly giving up and getting some hints from Dr. Shawn, I finally achieved my small task. As I am working on a virtual processor in Javascript, I am required to enhance the LW and SW instructions to be able to handle IO instructions on port-mapped addresses. There are a set of predefined addresses which are used to store the information of the IO. So, it is important that the IO addresses are being handled correctly. Read more

Hardware Implementation of Demosaicing Algorithm

This week I was assigned to draw the schematic for the demosaicing algorithm. The algorithm is separated into two parts, which is bilinear interpolation in the boundary of image, and PPG interpolation for the rest of image pixels. The Overview of Demosaicing Schematic The hardware implementation of the demosaicing requires the storing of pixels information in buffers (RAM), processing, and finally output in RGB form. As I was finding the way to store the buffer, I found that there is Read more

PIC18 SHA1/MD5 Performance and Internal Flash Storage

This is my fifth week of intern in AESTE. Continuing with synchronizing SHA1 for CLIENT and SERVER also added HMAC-MD5 into my project. The code to generate a HMAC-MD5 is exactly the same with the code I written for HMAC-SHA1 just slight different in the Hash function used (which is based on HASHES.c from TCPIP Stack provided by Microchip). After having both MD5 and SHA1 capable of producing HOTP value, I did some performance test for this 2 hashes, the Read more