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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-01-05T16:50:22+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Phoenix]]></name></author>
		<updated>2008-01-05T16:50:22+02:00</updated>

		<published>2008-01-05T16:50:22+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3760#p3760</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3760#p3760"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3760#p3760"><![CDATA[
<blockquote><div><cite>christian wrote:</cite>This can be almost anything. That's why I recommended to start with a working example and change only one thing at a time.</div></blockquote>Oke thanks for everything<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=685">Phoenix</a> — Sat Jan 05, 2008 4:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-01-05T16:39:48+02:00</updated>

		<published>2008-01-05T16:39:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3759#p3759</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3759#p3759"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3759#p3759"><![CDATA[
This can be almost anything. That's why I recommended to start with a working example and change only one thing at a time.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sat Jan 05, 2008 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Phoenix]]></name></author>
		<updated>2008-01-05T16:33:56+02:00</updated>

		<published>2008-01-05T16:33:56+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3758#p3758</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3758#p3758"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3758#p3758"><![CDATA[
completely unknown<br /><div class="codebox"><p>Code: </p><pre><code>Device Descriptor:<br />bcdUSB:             0x0000<br />bDeviceClass:         0x00<br />bDeviceSubClass:      0x00<br />bDeviceProtocol:      0x00<br />bMaxPacketSize0:      0x00 &#40;0&#41;<br />idVendor:           0x0000<br />idProduct:          0x0000<br />bcdDevice:          0x0000<br />iManufacturer:        0x00<br />iProduct:             0x00<br />iSerialNumber:        0x00<br />bNumConfigurations:   0x00<br /><br />ConnectionStatus: DeviceFailedEnumeration<br />Current Config Value: 0x00<br />Device Bus Speed:      Low<br />Device Address:       0x00<br />Open Pipes:              0<br /></code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=685">Phoenix</a> — Sat Jan 05, 2008 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-01-05T16:12:08+02:00</updated>

		<published>2008-01-05T16:12:08+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3757#p3757</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3757#p3757"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3757#p3757"><![CDATA[
Does it report the device name for the unknown device? If it knows the device name and vendor name, then the USB driver works. In this case you need to associate libusb with the device. This is usually done with a .inf file.<br /><br />If the device is completely unknown, there's probably a more fundamental error (such as wrong clock speed, wiring problem, logic level problem, I/O pins not configured correctly or something similar).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sat Jan 05, 2008 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Phoenix]]></name></author>
		<updated>2008-01-05T15:34:39+02:00</updated>

		<published>2008-01-05T15:34:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3756#p3756</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3756#p3756"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3756#p3756"><![CDATA[
Oke thanks I have no error now.<br /><br />So I went back to the firmware and I doesn't work and my computer didn't find a device so I made some hardware asjust ments and now I finds a unknown device <br /><br />So is this a firmware error ?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=685">Phoenix</a> — Sat Jan 05, 2008 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-01-04T19:59:49+02:00</updated>

		<published>2008-01-04T19:59:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3747#p3747</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3747#p3747"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3747#p3747"><![CDATA[
This is a different problem than what you reported before. -lusb is libusb-win32. You should install it at a path where it can be found by the compiler (or add -L and -I flags to extend the search path). See <!-- m --><a class="postlink" href="http://libusb-win32.sourceforge.net/">http://libusb-win32.sourceforge.net/</a><!-- m -->.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Jan 04, 2008 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Phoenix]]></name></author>
		<updated>2008-01-05T15:47:34+02:00 </updated>

		<published>2008-01-04T15:38:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3740#p3740</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3740#p3740"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3740#p3740"><![CDATA[
Oke I will do that but I think I already have firmware running on my atmega32.<br />But the host software doesn't work because when I compile he doesn't find -lusb and I don't know what it is or where I can find it.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=685">Phoenix</a> — Fri Jan 04, 2008 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-01-03T22:44:23+02:00</updated>

		<published>2008-01-03T22:44:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3729#p3729</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3729#p3729"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3729#p3729"><![CDATA[
I would recommend that you start analytically: Use one of the reference projects on an ATMega8 and get it running. Then move this same project over to the ATMega32, updating the usbconfig.h and other pin assignments as well as fuse values accordingly. Then bring in your firmware code, taking care that you don't break anything.<br /><br />That's the procedure I would recommend for the firmware. Once you have a working example, change only one thing at a time.<br /><br />When you have the firmware running, we can talk about the host software.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Jan 03, 2008 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Phoenix]]></name></author>
		<updated>2008-01-03T19:30:34+02:00</updated>

		<published>2008-01-03T19:30:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3727#p3727</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3727#p3727"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3727#p3727"><![CDATA[
Oke <br />Compiler works!<br />But I can't compile the commandline software.<br /><br />And the device is NOT recognized by my computer.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=685">Phoenix</a> — Thu Jan 03, 2008 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-01-03T18:55:24+02:00</updated>

		<published>2008-01-03T18:55:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3724#p3724</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3724#p3724"/>
		<title type="html"><![CDATA[USB with atmega 32]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1080&amp;p=3724#p3724"><![CDATA[
OK. One thing after the other. Please make sure that the device is recognized by Windows. I don't know how you can distinguish a broken device from a device without drivers on Windows, but there should be a way to do that.<br /><br />Regarding the host application: Please make sure you can compile a simple &quot;Hello World!&quot; example. If that does not work, something is wrong with your compiler installation and you should fix that first.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Jan 03, 2008 6:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
