<?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/8630" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-09-22T11:39:54+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Elmi77]]></name></author>
		<updated>2013-09-22T11:39:54+02:00</updated>

		<published>2013-09-22T11:39:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8630&amp;p=25849#p25849</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8630&amp;p=25849#p25849"/>
		<title type="html"><![CDATA[Beginner problems with VUSB, ATTIny2313 and HID-Data example]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8630&amp;p=25849#p25849"><![CDATA[
Hi,<br /><br />I'm using a simple ATTiny2313 device as shown on <!-- m --><a class="postlink" href="http://dokuwiki.ehajo.de/_media/bausaetze:usba-isp.pdf">http://dokuwiki.ehajo.de/_media/bausaetze:usba-isp.pdf</a><!-- m --> and wanted to try the HID-Data example of VUSB package with it. Unfortunately I failed miserably, the device is not even recognised as USB afterwards (operating system simply recognises nothing on the USB port where I connect it). That's what I've done with VUSB-package (latest version from GIT):<br /><br />- call &quot;make&quot; in root-directory of package<br />- go to examples/hid-data/firmware<br />- change the Makefile: define attiny2313 as controller and set clock of 12000000 Hz<br />- change usbconfig.h, set USB_CFG_DMINUS_BIT to 3 and USB_CFG_DPLUS_BIT to 2<br />- call &quot;make&quot; in firmware directory<br />- write everything to my device by calling &quot;avrdude -b 1200 -c usbtiny -P usb  -p attiny2313 -U flash:w:main.hex:i -i10 -U hfuse:w:0xdb:m -U lfuse:w:0xef:m&quot;<br /><br />Flashing works fine and ends with no errors.<br /><br />Flashing some other firmware to this device results in a working USB-device so the hardware seems to be OK.<br /><br />What could be missing? What may be wrong in my configuration of VUSB?<br /><br />Thanks!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19948">Elmi77</a> — Sun Sep 22, 2013 11:39 am</p><hr />
]]></content>
	</entry>
	</feed>
