Week 2 : UART & TCPIP Stack

In order to allow communication between PIC microcontroller and PC, UART communication needs to be set up.  I wrote a program to send data byte from PIC microcontroller to PC which the output was displayed through Minicom, a hyper terminal for linux. At first, the displayed output was gibberish. This Read more

Week 1 : Introduction to the Project

My first week in the company, I was briefed on the project that I need to conduct throughout my internship.  My task is to work on the PICDEM.NET2 development board which uses PIC18F97J60 microcontroller. The objective is to write a program which is able to download file from internet via Read more

Week #12 – SD Cmds

I tested out the code I had already written and found out that the power up sequence was not working as expected. After consulting with my supervisor he advised me to enable pull-up resistors in port B and test the input and outputs for the each pin. By setting the Read more

Week #11 – SD Comms

After adding the software SPI, I started out writing the program. There are four working modes in SPI and the SPI timings for Mode 0 is the proper setting for the SD Cards. After setting the mode I started defined the values for the commands that are to be used. Read more

Week #10 – SPI Comms

I was still working on the SD card this week. I took up from where I left off and started with setting up the SD card. I soldered the pins onto the little board for holding the card. This board has a pre-made insertion point for the card and which Read more

Week #9 – SD Card

I started on the SD Card portion of the project. The objective of this is to read and write to and from the card, and finally to download data from the network and store in SD Card. I started my research on SD Cards. From this study I found that Read more

Week #8 – SSL Client

This week I worked on the Generic HTTP Client with SSL. Initially I tried to run the original program provided by the MICROCHIP TCPIP stack. I enabled the STACK_USE_SSL_CLIENT in TCPIP ETH97.h found in TCPIP Config.h . Then I added the RSA.c and ARCFOUR.c files which were necessary in order Read more

WEEK #7 – Git Commit

I made my first commit in git this week, by creating a repository and adding all the necessary files to the project. First I had to go through the git flow chart which was a very helpful graphical aid in understanding the branches associated with github. I first added the Read more

WEEK #6 – Telnet Server

Happy Chinese New Year to everyone. The week started off with a telnet server module. The initial application was provided by microchip, and I tried to run the program. In order to run this application the user has to uncomment STACK_USE_TELNET_SERVER and define AN0String in the main application. Going through Read more

Week 5 – TCP/IP Layer

I continued where I left off from last week; setting up the physical layer for Ethernet connection. After taking a good look at the documentation available, I realized that there were a minimum of 3 commands required to get the line up and running. These commands were, including TCPIP.h header Read more