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 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 Read more…

Enlightenment

This makes my 11th week with Aeste. I started off by implementing the generation of the RNG key which is to be read from the flash and performing even more trials to make sure it works exactly the way I believed it did, which Dr. Shawn stressed. Because most interns including myself half-ass everything Read more…

Flash & Bitstream

I started off this week by troubleshooting and testing the flash functions. In harmony there are two non-volatile memory drivers, NVM and Flash. Usage of the flash driver is simpler compared to NVM. The functions allow you to write a word, quad word, or a defined row size. Though you Read more…

PIC32 HMAC-MD5

I spent this week jumping between tasks as I tend to get bored working on the same thing for long. This week I worked on implementing HOTP, flash and troubleshooting the SSL server. HOTP works by computing an HMAC based on 1- A static secret key generated by the server and Read more…

PIC32 CORS

My task for last week was to implement CORS protocol for the HTTP server on FreeRTOS with the new boards. To briefly explain, when accessing an HTTP website (server) your browser (client) is sending a request to the server (GET request) asking for data. If you’re on chrome hit F12 go onto network tab Read more…

FreeRTOS Memory Heap Problem

This week I pushed my basic FreeRTOS port onto a release branch on GIT (yay) as functionality is good. It’s very simple. It has 3 apps related to USB, FPGA and TCP/IP. The USB CDC app task maintains the state of the driver and creates another task whose job is checking the status of certain global Read more…

Not as Smooth as I’d thought

Week 5. I continued working on utilizing FreeRTOS for our board as last week I had done a very improper implementation. In my inexperienced eyes, everything was working, but more and more issues were appearing. That’s when Dr. Shawn took a look at the chaos I’ve created. Basically I didn’t understand well Read more…