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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-09-17T21:33:34+02:00</updated>

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

		<entry>
		<author><name><![CDATA[sid]]></name></author>
		<updated>2009-09-17T21:33:34+02:00</updated>

		<published>2009-09-17T21:33:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3280&amp;p=10998#p10998</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3280&amp;p=10998#p10998"/>
		<title type="html"><![CDATA[AVR crashed and reboots]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3280&amp;p=10998#p10998"><![CDATA[
Hallo,<br /><br />I have a problem with the V-USB lib. I am especially interested in HID and boot-loader programs.<br /><br />My hardware setup:<br />-Atmega644 @ 12Mhz; 4,2V (it's running stabile)<br />-USB pins pulled down with 3V6 Z-diodes according to the specs (D2, D3)<br /><br />I did nothing else but downloading different projects and reconfiguring them for my hardware. But nothing seems to work. The controller simply always crashes and reboots for the boot-loader apps. I have absolutely no clue why. Syslog always reports:<br /><blockquote class="uncited"><div>usb 1-6.1.3: new low speed USB device using ehci_hcd and address XXX</div></blockquote><br />I tried also two HID programs. Syslog recognizes both correctly as HID keyboards including the correct additional information of the programmers. Therefore I think the hardware is set up correctly. But as so as I tried to submit a char it crashes and reboots again. (Only once I was able to do so, but only for exactly one char)<br /><br />Is their a problem if I use a Atmega644@12Mhz? Because I only found one app using an Atmega644. But for this app the controller is clocked with 20Mhz. If I recompile it with 12Mhz and it crashed. (I cannot try it with a 20Mhz crystal)<br /><br />What am I doing wrong? Please help me. I am getting slightly mad.<br />Juergen<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2839">sid</a> — Thu Sep 17, 2009 9:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
