Back-end Caching

Caching So.. this week I focused more on building the file caching mechanism that fully uses the server’s back-end. I am using a write-back approach to handle the caching process. Initially, a fresh copy of the project will be downloaded and stored in local cache. The file will be sent Read more…

Digging Deeper into Bug

This week I dig deeper into identifying the TCPIP Stack bug. Ideal Case Based on the document UG380 and XAPP502, ‘init_b’ of FPGA should be HIGH (reading from PIC32), if it was LOW during configuration means there is an error,  ‘init_b’ can also be pulled LOW to delay configuration, in Read more…

TCPIP Stack Bug

This week I continue trying to figure out how to ‘download’ a huge file with TCP protocol. Set up a USB cdc com port to ease debugging. Fixing ‘init_b’ staying LOW. TCP Server looping READ socket To be able to ‘download’ or I should say read a file being uploaded Read more…

More Improvements

More on cURLpp I talked about cURLpp in my last post. There’s much more to it than just uploading files to Google Drive endpoints. A few things I discovered is :- curlpp::infos This allows certain response info to be obtained directly. There are a list of info obtained, which can Read more…

PIC32MZ TCPIP Server

This week I integrate my previous TLS TCP Server code onto ‘the board’ – PIC32MZ. DHCP enabled & Fixed IP adress test First I experiment with having DHCP enabled on MHC. Using ‘tcpip_discoverer’ from Harmony to fetch the assign IP address. java -jar tcpip_discoverer.jar The discoverer tool is very useful to Read more…

Adopting cURLpp

So.. I was using system() to perform CURL requests in my application. There were a few downsides to this:- Error handling of response. Messy codes. My boss talked about using the cURLpp library to replace the existing system() curl mechanism. So this week I tried my hand on it in Read more…

Software Test

Software test is all about breaking the application, which can be hard sometimes when there is an emotional attachment. My colleague Peter and previous interns working on the project have done a great job and their code is working fine. For my part, i need to make sure p3muka, the Read more…

Init_B Forever Low

This week I try to configure the FPGA using PIC32 with slave serial method. C array bit file First I convert the binary file of FPGA into C array (Hex format) so that I could use SPI 8bit or 16bit to send the hex data bits by bits into FPGA. Read more…