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…

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…

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…

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…

UART in Simulator

This week I am working with UART (Universal asynchronous receiver/transmitter). UART is a device that used for serial communication over a peripheral device serial port or computer. UART takes bytes of data and transmits the individual bits in a sequential fashion. UART consists of a data bus with several data 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…

Master SPI

This week, I have been trying to complete the Master SPI module (MSPI) as soon as possible. In the simulator, the MSPI is suppose to send data to a device and/or read data from a device. This can be done by using the same function. I created a ‘transfer’ function Read more…