Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
installculfirmware [2010/06/02 20:21]
sestst created
installculfirmware [2018/11/03 02:59] (current)
Line 1: Line 1:
 +{{ :cul300.jpg | CUL USB-Stick}}
 +
 +:!: This firmware does not appear to work on CUL V3. There has been changes in the hardware which makes this firmware incompatible
 +
 ====== Installing CUL Firmware ====== ====== Installing CUL Firmware ======
-The CUL-stick has a ATMega32U4 processor on board and it has to be loaded with firmware ​in order to workThere is a special ​CUL-firmware developed ​for NetHomeServer,​ which works together with the encoders and decoders in NetHomeServer and ProtocolAnalyzer.+Before you install the firmware, you should have installed the normal USB-drivers for CULSee the //​[[installculusb|Install ​CUL USB-drivers]]//​-page ​for instructions
  
-The firmware is in a file called NetHomeCUL.hex. In order to install this firmware on the CUL-stick you need the FLIP-tool from [[http://​www.atmel.com|Atmel]].+The CUL-stick has an ATMega32U4 processor on board and it has to be loaded with firmware in order to work. There is a special CUL-firmware developed for NetHomeServer,​ which works together with the encoders and decoders in NetHomeServer and ProtocolAnalyzer. 
 + 
 +The firmware is in a file called NetHomeCUL.hex. In order to install this firmware on the CUL-stick you need the Flip-tool from [[http://​www.atmel.com|Atmel]]. Flip run on both Windows and Linux.
  
  
Line 8: Line 14:
  
 ===== 1. Install Flip ===== ===== 1. Install Flip =====
-Dowload Flip from the [[http://​www.atmel.com/​dyn/​products/​tools_card.asp?​tool_id=3886|Flip download site]] and install it, but don't start it yet.+Dowload Flip from the [[http://​www.atmel.com/​dyn/​products/​tools_card.asp?​tool_id=3886|Flip download site]] and install it, but don't start it yet. Remember where you install Flip, you will need this location later. 
 + 
 +===== 2. Plug in CUL-stick in programming mode ===== 
 +This requires some dexterity... Unplug the CUL-Stick (if you have it plugged in). Locate the tiny button on the bottom just below the USB socket.  
 + 
 +{{:​culswitch.jpg| CUL Switch}} 
 + 
 +Now you have to press this button and keep it pressed WHILE you plug in the CUL-Stick. This is easier if you have the CUL-stick connected to an USB extension cable. In that case you can press the button with one hand and then plug the other end of the cable into the USB socket on your computer with the other hand. If you succeed windows will discover new hardware - then you can move to the next step. The LED on the CUL-stick should not be on. 
 + 
 +===== 3. Install USB-drivers ===== 
 +{{:​flipusb.png| Installing USB drivers}} 
 + 
 +When windows asks for the new drivers, select to install from a specific location and browse to the location where you installed Flip, there you will find a folder called usb (for example: C:\Program Files\Atmel\Flip 3.3.4\usb). Select this folder and let Windows install the drivers. 
 + 
 +===== 4. Start Flip and connect ===== 
 +Start the Flip program. 
 +  * Press the "//​Select A Target Device//"​-button and select "​AT90USB162"​  
 +  * Press the USB-cable symbol and select "​USB"​ in the menu.  
 +  * Then select "​Open"​ in the requester.  
 +Now all buttons in the interface should become active: 
 +{{:​flip.png|Flip}} 
 + 
 +===== 5. Backup current firmware =====  
 +It might be a good idea to start by backing up the current firmware.  
 +  * Press the "//​Read Target Device Memory//"​-button and press "​ok"​. 
 +  * Select the menu //​Buffer->​Options//​ and select the radio button //Whole Buffer// 
 +  * Select the menu //​File->​Save Buffer As...// and save the buffer as backup.hex 
 +  * Select the menu //​Buffer->​Options//​ and select the radio button //Last Loaded HEX File// 
 + 
 +===== 6. Write new firmware ===== 
 +Now its finally time to write the new firmware 
 +  * Select the menu //​File->​Load HEX File// 
 +  * Browse to the NetHomeCUL.hex file and load it 
 +  * Press the "//​Erase Target Device Memory//"​-button 
 +  * Press the "//​Blank Check Target Device Memory//"​-button and see in the bottom of the window that it was ok 
 +  * Press the "//​Program Target Device Memory//"​-button 
 +The new firmware is now installed! 
 + 
 +===== 7. Run new firmware ===== 
 +To run the new firmware, unplug the CUL-Stick and then plug it in again (without pressing the little button). The Led should now start blinking!
  
-===== 2. Install USB-Drivers ===== 
-This requires some dexterity... Unplug the CUL-Stick (if you have it plugged in). Locate the tiny button on the bottom just below the USB socket. Now you have to press this button while you plug in the CUL-Stick.  ​ 

Personal Tools