<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/6447" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2012-02-13T20:35:32+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/6447</id>

		<entry>
		<author><name><![CDATA[ally55]]></name></author>
		<updated>2012-02-13T20:35:32+02:00</updated>

		<published>2012-02-13T20:35:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6447&amp;p=20954#p20954</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6447&amp;p=20954#p20954"/>
		<title type="html"><![CDATA[Problems in HID-mouse]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6447&amp;p=20954#p20954"><![CDATA[
Im attempting HID-mouse given in v-usb's downloads section.<br />I changed makefile and the first few lines are as follows<br /><br /><div class="codebox"><p>Code: </p><pre><code># Name: Makefile<br /># Project: hid-mouse example<br /># Author: Christian Starkjohann<br /># Creation Date: 2008-04-07<br /># Tabsize: 4<br /># Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH<br /># License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt)<br /># This Revision: $Id$<br /><br />DEVICE  = atmega32<br />F_CPU   = 12000000   # in Hz<br />FUSE_L  = 0xEF<br />FUSE_H  = 0xC9<br />AVRDUDE = avrdude -c usbasp -p $(DEVICE) # edit this line for your programmer<br /></code></pre></div> <br /><br /><br />The changes made were in the DEVICE, F-CPU, FUSE_L and FUSE_H. Then i went on to use avrdude and the following instructions in that order<br />make hex<br />make flash<br />make fuse<br /><br />However the lfuse value does not get 'SET'.<br />Shown below is what i get in command prompt.<br /><br /><div class="codebox"><p>Code: </p><pre><code>avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: Device signature = 0x1e9502<br />avrdude: reading input file &quot;0xC9&quot;<br />avrdude: writing hfuse (1 bytes):<br /><br />Writing | ################################################## | 100% 0.02s<br /><br />avrdude: 1 bytes of hfuse written<br />avrdude: verifying hfuse memory against 0xC9:<br />avrdude: load data hfuse data from input file 0xC9:<br />avrdude: input file 0xC9 contains 1 bytes<br />avrdude: reading on-chip hfuse data:<br /><br />Reading | ################################################## | 100% 0.00s<br /><br />avrdude: verifying ...<br />avrdude: 1 bytes of hfuse verified<br />avrdude: reading input file &quot;0xEF&quot;<br />avrdude: error opening 0xEF: No such file or directory<br />avrdude: input file 0xEF auto detected as invalid format<br />avrdude: can't open input file 0xEF: No such file or directory<br />avrdude: write to file '0xEF' failed<br /><br />avrdude: safemode: Fuses OK<br /><br />avrdude done.  Thank you.<br /><br />make: *** &#91;fuse&#93; Error 1 </code></pre></div><br /><br />Can i know what went wrong ?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6377">ally55</a> — Mon Feb 13, 2012 8:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
