Modem State Machine

This week was an intense week. The week started with me demonstrating the modem to Dr. Shawn and with a short check of the modem’s code by him. He noticed that there was no obvious state machine in the code which prompted a rewrite of the code to include one. Read more…

Modem Fixes

This week, I finished a working version of the modem which now supports sending data and properly detecting when there is a disconnect to allow reconnecting properly. There are however, a few limitations as of now. One of them is that for some reason on the current firmware, I am Read more…

Emulating a Modem

This week, I wrapped up work on separating the USB features of the firmware which consists of the HID Keyboard and CDC Debugging Console into 2 seperate files together with 1 USB base file where functionalities are shared. These were written to resemble a library which helps to simplify usage Read more…

USB Keyboard

This week, I was able to pinpoint the reason behind the erratic behaviour of the board. Upon rereading the documentation for the Harmony USB Libraries, I found out that in particular for the PIC32MZ family of microcontrollers which includes the board that we were working on, the buffers that are Read more…

Erratic behaviour

This week, I explained to Dr. Shawn about the fact that the USB code managed to work on the PIC32MX but not the real boards in which he suggested to reduce the clock speed of the real boards to match the ones on the PIC32MX as it could be some Read more…

Board Migration

After having much fun with the PIC32 Starter Kit, I am currently moving on to the real boards. As expected, the previous USB code that worked on the starter kit no longer work properly on the real boards. Got the 2 LEDs to work on the boards and hence started Read more…