Restructuring keyboard code

This week I restructured the code for the usb keyboard, the aim is to modify as little as possible from the original demo code, so that there is a clear separation of my code from the one provided by microchip in its demo code and also reduces the amount of code that Read more

Firmware testing

This week I proceeded to test the firmware created by the previous interns. The first thing I needed to do was replicate their result. One thing I realised from this is not to remove the board support package in the harmony configurator, as it turns out to be important in the Read more

Switching to actual board

Started the week by continuing on with implementing a hid keyboard on the pic32. While doing this I encountered two major problems, one is that the keyboard refuses to output two of the same characters consecutively, the other  problem was when I tried going through the character array starting from Read more

First Week as Intern

Started off my first week as an intern here at AESTE. Before coming here I had less than 2 weeks to study my pre-internship materials, as I had applied here late. First week involved studying using Git and also trying to understand the pre-internship study materials that I was given. Among Read more

Final week at Aeste

This week I am still working on the data corruption error when testing the write operations of each modules together. It took me quite a while to find out which part of JavaScript went wrong as I have to analyze every line of JavaScript codes related. The error occurs in Read more

Display Data on Schematic

This week I tried to show the data values on the simulator schematic when performing data transmission with UART, MSPI or I2C. When successfully reading or writing data, user will be allowed to see that the data in hexadecimal values are displayed beside the related ports of the module. To Read more

Null Termination Issue

This week I have been trying to make the read and readstring function working in the simulator. There are two main problems: Read function can only return the same data byte every time it is called. For example, when a string “HELLO” is written to the data register, read function Read more

Object Mapping Issues

This week I am rewriting the read and write functions in C programming for UART. Dr Shawn really taught me a lot about the easy and correct way to write the codes. Next I need to make sure that the information are stored to the respective address correctly when the instructions Read more

Registers for UART, SPI and TWI

This week Dr Shawn has explained to me the internal registers of UART, SPI and TWI. Basically these modules has two registers: status register and data register. Status register, from its name we know that this register contains information about the state of the device. Data register contains the data Read more