Week 6

Continuing with the list of issues from the previous week, my progress eventually came to a halt, things such as the implementation of an audit log, which is used to record any changes made within a database table, such as deletion or modification, are hindering my progress. Even though there Read more…

FLASH & FPGA

This week I finished up the flash function to erase, write & read and also added the FPGA erase and write functions. The main body of the code is done, it can now receive a command through HTTPS connection and it will execute the corresponding functions based on the sequence Read more…

Client Requests

This week didn’t start off well, mainly due to the incomplete tasks from last week, which are proving to be pretty troublesome at this point. The biggest issue was due to the meeting with the client being on Monday, and thus presenting them with a project which isn’t functioning properly Read more…

NVM Controller

This week Dr. Shawn pointed out that we do not need to use a boot loader since we just need to erase the flash and write the new data. I looked at NVM (Non-Volatile Memory) controller as an alternative. The NVM library in MPLAB X gives you the ability to Read more…

Boot-Loader

This week the second part of my task, that is to be able to erase the FPGA or PIC32 flash when needed and program them accordingly. Erasing the FPGA means putting it in configuration mode so that in can receive a configuration bitstream. This is achieved by pulling PROGRAM_B pin Read more…

Continuing with Functionalities

This week I continued on with my task from last week, that being, dealing with the web applications functionality and capabilities. I made quick progress at the start of the week until eventually I started facing trouble with two of the functionalities, from which in both cases the details were Read more…

HTTPS requests

This week I managed to finish the wolfssl_tcpip code. In the new code, the whole process is carried out in 1 function. In this function, 2 sockets are opened for the 2 possible type of connections; HTTP & HTTPS (with or without SSL). The program then just waits and checks Read more…

The Workflow Flaws

My main task for this week was to get the workflow for the web application up and running, and as the title would indicate, that didn’t turn out so well as there were plenty of flaws within my implementation of the required functionalities. I had the workflow sketched out and Read more…

WolfSSL Code

This week I got the wolfssl_tcpip code from Micro-chip running. This code establishes a HTTP server which can then be accessed. My task was to strip away all the extra codes in order to simplify the program. The code is base on Microchip’s code and uses some of the included Read more…