	*** OLIMEX demo project for the MOD-WIFI ***

1. Requirements
	- MOD-WIFI (contains MRF24WB0 ) module by Olimex
	- PIC32-MX460 Rev.B demo board by Olimex
	- Wireless router or compatible device for the MOD-WIFI module to connect to
	
2. Description
	This demo is built entirely upon the demo provided by Microchip for the PIC32 devices (PIC32MX460F512L 
	to be precise). Please consult the demo description in the help folder (\..\Microchip\help\) and read what
	the demo can offer.
	
	***
	Due to differences with demo boards released by Microchip, however, some modifications had to be made to
	make the demo work with Olimex's board. These include:
	- many of the peripherals are different so some LEDs definitions were commented out, buttons pins were changed
	  to match some of the joystick positions.
	- UART has been changed to UART1 module (instead of UART2 in the original)
	- pins of the WiFi were changed to match those of the UEXT on the board (however SPI module used is the same one)
	- maybe the most significant change is that UEXT doesn't have external interrupt line. That is why interrupt pin
	  has to be polled in some way. This is accomplished by configuring TIMER2 to generate interrupts that check 
	  state of interrupt pin of the WiFi module (0 is active) and service interrupt requests with some acceptable
	  delay. Patch is made by replacing ZGEint.c file (backup copy of the original is ZGEint.c.bak in the same directory).
	
3. How to use this demo
	No hardware modifications to the board are necessary. Just plug MOD-WIFI board in the UEXT socket and connect the RS232
	to a PC. Use your favorite terminal program (HyperTerminal, PuTTY, etc.) with the following settings: 19200-8-N-1 to 
	observe the board connect to the router and obtaining a new IP address. Ping the board or open some web browser and enter
	the IP of the board to see some eye candy.
	
	The fastest possible way to test your hardware configuration is to download the precompiled hex file to the processor memory. 
	File is "TCPIP WiFi Demo App-C32.hex" in the root directory. Processor is PIC32MX460F512L.
	
	Another way is to open the workspace (\TCPIP WiFi Demo App-C32.mcw) in MPLAB compile it and then debug the application. This
	sample workspace may also be your starting point in developing new application using the WiFi module.
	
	Build info:
		MPLAB IDE v8.50
		MPLAB C32 v1.10B
		TCP/IP Stack v5.20

4. Further reading
	Feel free to consult all documents released by Microchip regarding their TCP/IP stack and the MRF24WB0 Wi-Fi module.

5. Support
	http://www.microchip.com
	http://www.olimex.com/dev