Readme for the MediaCup Firmware mediacup.teco.edu Michael Beigl, TecO, University of Karlsruhe ---------------------------------------------------------------------- Content of firmware ZIP file cup.c Main file for the MediaCup written in CCS C ds1621.c File containing routines for accessing the DS1621 temperature sensor cup.hex Build hex file for the MediaCup that can be used for writing to a PIC16F84 MediaCupPacket1_3.txt Description of MediaCup packet format 1.3 mediacuplicence.txt Licence firmware_readme.txt this file ----------------------------------------------------------------------- Howto write the firmware to the MediaCup processor (the PIC 16(L)F84) 1) Read and agree with the licence 2) If you have a CCS-C compiler: a) Make a project for cup.c. b) Change the IP address in the first lines of cup.c to whatever you want c) Compile it 3) If you do not have a CCS-C compiler: a) Open the cup.hex file with an hex editor b) Change the IP address (IP0.IP1.IP2.IP3) through changing the bytes at the following addresses: 1C0 (is IP0) 1BA (is IP1) 1B4 (is IP2) 1AE (is IP3) 4) Program the firmware into the MediaCup. You need a programmer to do that. If you do not have access to one, have a look at http://bobblick.com/bob/projects/f84pgm/. The program can be written in circuit or out of circuit into the PIC. For more information: http://ubicomp.teco.edu/hardware