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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-06-19T16:46:34+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-19T16:46:34+02:00</updated>

		<published>2007-06-19T16:46:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1541#p1541</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1541#p1541"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1541#p1541"><![CDATA[
Sorry, I made a mistake on my last post. I incrased the time to 500ms, not 100ms.<p>Statistics: Posted by Guest — Tue Jun 19, 2007 4:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-19T16:43:24+02:00</updated>

		<published>2007-06-19T16:43:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1540#p1540</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1540#p1540"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1540#p1540"><![CDATA[
Thank you, Christian, increasing the time to 100ms solved my problem. <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";-)" title="Wink" /><br /><br />@Vishwas: for my project I took the code from the AVRUSBBoot, and somthing from elektor (I think elektor just copied and made some changes from code available here at obdev.at). Here are the links:<br /><a href="http://www.fischl.de/avrusbboot/" class="postlink">http://www.fischl.de/avrusbboot/</a><br /><a href="http://www.elektor.de/Uploads/Files/Magazine/060276-11.zip" class="postlink">http://www.elektor.de/Uploads/Files/Magazine/060276-11.zip</a><br /><br />I would recommend you to take a look at the projects available here on obdev.at (<a href="http://www.obdev.at/products/avrusb/" class="postlink">http://www.obdev.at/products/avrusb/</a>), to find somthing similar to what you want to do.<br /><br />Best regards,<br />Mario<p>Statistics: Posted by Guest — Tue Jun 19, 2007 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-18T12:08:39+02:00</updated>

		<published>2007-06-18T12:08:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1532#p1532</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1532#p1532"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1532#p1532"><![CDATA[
Mario can u please post the code u found for communication btwen PC and Microcontroller.<br />I need to do the same using Windows CE 6.0 and ATMEGA 32 using viasual studio 2005.<br /><br />Thanks a lot<p>Statistics: Posted by Guest — Mon Jun 18, 2007 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-18T12:08:13+02:00</updated>

		<published>2007-06-18T12:08:13+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1531#p1531</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1531#p1531"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1531#p1531"><![CDATA[
Mario  can u please post the code u found for communication btwen PC and Microcontroller.<br />I need to do the same using Windows CE 6.0 and ATMEGA 32 using viasual studio 2005.<br /><br />Thanks a lot<p>Statistics: Posted by Guest — Mon Jun 18, 2007 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-06-16T19:44:14+02:00</updated>

		<published>2007-06-16T19:44:14+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1524#p1524</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1524#p1524"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1524#p1524"><![CDATA[
If you want to start a re-enumeration &quot;the correct way&quot;, you must be able to deactivate the 1.5k pull-up resistor. If it's connected to a port pin instead of the positive supply, just disconnect it for several 100 milliseconds.<br /><br />If your pull-up is wired directly to the positive supply, you can still get the same effect by pulling down D+ and D-. All our examples do this as one of the first actions in main(). The duration is a bit short, though, and the host will not always detect this as a re-enumeration request. To be on the safe side, pull down D+ and D- for several 100 ms.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sat Jun 16, 2007 7:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-16T09:01:53+02:00</updated>

		<published>2007-06-16T09:01:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1520#p1520</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1520#p1520"/>
		<title type="html"><![CDATA[Using C, not VB anymore]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1520#p1520"><![CDATA[
Hello,<br /><br />I did my program in C, using Dev-C++ and it works very well. I think there is no reason to do it in Visual Basic, because I saw that there is so much C code available to communicate with the AVR-USB. First I want to thank you for this. It is helping me more that I expected, to do my conclusion projekt for the university. <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";-)" title="Wink" /><br /><br />Now I have another question. I'm using a bootloader to copy my program to the ATmega16s memory. Both using the USB-firmwre solution (bootloader and main program). Is there a way to restart the USB enumeration by firmware, after jumping from the bootloader to the main programm? Or is there a bug in my firmware, and it should do it by himself? Now I have to disconnect the USB cable after jumping from the bootloader to the main program or do a hardware reset after a firmware update.<br /><br />Thanks in advance for your help.<br /><br />Best regards,<br />Mario<p>Statistics: Posted by Guest — Sat Jun 16, 2007 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-12T09:00:24+02:00</updated>

		<published>2007-06-12T09:00:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1486#p1486</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1486#p1486"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1486#p1486"><![CDATA[
Hi,<br /><br />I'm trying to make a VB6 application to communicate with my device.<br /><br />Here is the code of a little program I found in the internet:<br /><div class="codebox"><p>Code: </p><pre><code>Private Declare Sub usb_init Lib &quot;libusb0.dll&quot; &#40;&#41;<br /><br />Private Declare Function usb_find_busses Lib &quot;libusb0.dll&quot; &#40;&#41; As Integer<br />Private Declare Function usb_find_devices Lib &quot;libusb0.dll&quot; &#40;&#41; As Integer<br /><br />Private Sub Form_Initialize&#40;&#41;<br />     Call usb_init<br />End Sub<br /><br /><br />Private Sub Command1_Click&#40;&#41;<br /><br />nBusses = usb_find_busses&#40;&#41;<br /><br />nDevices = usb_find_devices&#40;&#41;<br /><br />Label1.Caption = &quot;Devices &quot; &amp; nDevices<br /><br />Label2.Caption = &quot;Busses &quot; &amp; nBusses<br />End Sub<br /></code></pre></div><br /><br />With this program I can see how many devices are connected to usb, but is there a way to send data to my device over the libusb0.dll, or is there another API to do this?<br /><br />Thank you.<br /><br />Best regards,<br />Mario<p>Statistics: Posted by Guest — Tue Jun 12, 2007 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Urvish]]></name></author>
		<updated>2007-04-01T13:04:26+02:00</updated>

		<published>2007-04-01T13:04:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=344&amp;p=1102#p1102</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1102#p1102"/>
		<title type="html"><![CDATA[AVR USB and VB6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=344&amp;p=1102#p1102"><![CDATA[
Hi all...<br />Plz help me out this prob.<br />I want to communicate AVR-USB with VB6.<br />I am sending status of pins of MCU to PC.<br />I want to see that in an app made in VB.<br />How can I do that??<br /><br />Also which mode of USB in AVR will give me Max data Xfer rate???<br /><br />Tahnks 4 Help in advance.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=205">Urvish</a> — Sun Apr 01, 2007 1:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
