First Week as Intern

Started off my first week as an intern here at AESTE. Before coming here I had less than 2 weeks to study my pre-internship materials, as I had applied here late. First week involved studying using Git and also trying to understand the pre-internship study materials that I was given. Among 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

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

Configure FPGA with slave serial method

This week I try to fix ‘init_b’ low and get the configuration of spartan 6 working. ‘init_b’ turn high Finally manage to read a HIGH output from ‘init_b’ of FPGA. The solution was to have PIC32 enabled ‘pull_up’ on the input pin and some additional pic32 initialization set up. Next 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

OSI with PIC32 and LAN8720

This week I continue testing the board. Trying to fix the OSI layer of PIC32 with LAN8720. Studying different board behavior with same code I first started with programming the rest of the board with the same code and realize that the current board I am using have a different Read more

The board has arrived!

This week I test the board that I design. The details of the board are explained in previous post, my first objective would be to be able to program the PIC32, confirm the osciallator is working, able to communicate with a LAN8720 to have internet connection. Programming PIC32 To program Read more

PLIB ADC with PIC32 ‘EC’ Family

This week I fix my ADC driver, which I done it incorrectly previously. PIC32MZ come with 2 different Family namely the ‘EC’ family and ‘EF ‘ family. The main difference for both of them would be ‘EC’ only capable of 10bit ADC conversion while ‘EF’ can up to 12bit ADC. For my Read more

Emulating ADC

This week I did some programming on PIC32 ADC and SPI functions. The goal is to transfer ADC value from PIC through SPI to a FPGA chip. FPGA chip will act as a ‘Master’ while PIC32 will be the ‘Slave’. I will be coding for PIC32 only therefore the following Read more