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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-09-24T13:28:04+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-09-24T13:28:04+02:00</updated>

		<published>2009-09-24T13:28:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11094#p11094</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11094#p11094"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11094#p11094"><![CDATA[
For a serial port, yes. Except that you must divide by 10 instead of 8 due to start and stop bits.<br /><br />For USB, look at the figures people report, or make your own experiments. It's hard to predict how fast V-USB will be in a particular application.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Sep 24, 2009 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-09-24T00:23:55+02:00</updated>

		<published>2009-09-24T00:23:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11085#p11085</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11085#p11085"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11085#p11085"><![CDATA[
Can you tell me if i'm correct:<br /><br />using serial port at 115.2 kbits<br /><br />115.2 kbits / 8 = 14.4 kBytes<br /><br />Use an ADC with 10bits i need 2 bytes to send a sample from micro to pc, so 14.4 KBytes / 2 = 7,2K samples per second?<br /><br />That is the maximum rate of samples from micro to pc?!<p>Statistics: Posted by Guest — Thu Sep 24, 2009 12:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-09-23T23:33:01+02:00</updated>

		<published>2009-09-23T23:33:01+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11083#p11083</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11083#p11083"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=11083#p11083"><![CDATA[
Hi, i will have to transfers some information from adc to computer to make a graphic. You project will give me a very good start point, thanks. It's easy to use visual basic with it?<p>Statistics: Posted by Guest — Wed Sep 23, 2009 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiky]]></name></author>
		<updated>2009-08-31T18:54:48+02:00</updated>

		<published>2009-08-31T18:54:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10761#p10761</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10761#p10761"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10761#p10761"><![CDATA[
this isnt my library. The #USBLib library which has been updated is here<br /><br /><!-- m --><a class="postlink" href="http://tommyfive.untied.de/usblib/">http://tommyfive.untied.de/usblib/</a><!-- m --><br /><br />my library sits on top of this. If you give the name of the V_USB device , it scans for it and then allows you to send control messages to it.<br />If you want mine , i can upload it. Specify where you want me to upload it.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2578">spiky</a> — Mon Aug 31, 2009 6:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-08-30T14:27:39+02:00</updated>

		<published>2009-08-30T14:27:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10745#p10745</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10745#p10745"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10745#p10745"><![CDATA[
Hi Spiky, <br /><br />i'm interested in looking at your C# code [libary], but having trouble accessing the mediafile site. Is there any alternative <br /><br />Thanks,<p>Statistics: Posted by Guest — Sun Aug 30, 2009 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiky]]></name></author>
		<updated>2009-08-13T16:24:44+02:00</updated>

		<published>2009-08-13T16:24:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10535#p10535</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10535#p10535"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10535#p10535"><![CDATA[
I had never thought of that ! i have only windows XP at home. If i test it in other platforms , i'll drop a note here.<br />Thanks for all the support.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2578">spiky</a> — Thu Aug 13, 2009 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-08-10T19:23:18+02:00</updated>

		<published>2009-08-10T19:23:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10467#p10467</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10467#p10467"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10467#p10467"><![CDATA[
I don't say it's impossible. Just that you should test on various platforms before you publish something. Control endpoints may be different from the bulk endpoints used in AVR-CDC. And even if it does not work on all platforms, it may be worth publishing. But you should add a note, otherwise you'll get lots of e-mail...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Aug 10, 2009 7:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiky]]></name></author>
		<updated>2009-08-10T19:17:05+02:00</updated>

		<published>2009-08-10T19:17:05+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10466#p10466</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10466#p10466"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10466#p10466"><![CDATA[
Sad. It worked so well for me and my friend. Better than a USB - RS232 converter we had bought a few weaks ago. <br /><br />I suppose time critical tasks which require USB interrupts to be disabled at certain times are not possible on all hosts. I was hoping i could find a way to do that without having to use another AVR.<br /><br />None the less , my efforts have not been in vain. In the very least , it works in my PC !<br /><br />Thank you very much for all the information you have provided.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2578">spiky</a> — Mon Aug 10, 2009 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-08-09T21:08:57+02:00</updated>

		<published>2009-08-09T21:08:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10445#p10445</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10445#p10445"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10445#p10445"><![CDATA[
Regarding AVR-CDC: No, it does not work well. MANY people have problems where the device stops working all the sudden and the endpoint is stalled. This occurs most likely on Windows, other operating systems don't stall the endpoint on the first transmission error.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sun Aug 09, 2009 9:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiky]]></name></author>
		<updated>2009-08-08T10:26:25+02:00</updated>

		<published>2009-08-08T10:26:25+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10425#p10425</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10425#p10425"/>
		<title type="html"><![CDATA[Re: V-USB speed]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3059&amp;p=10425#p10425"><![CDATA[
@ali_asadzadeh , i've written no documentation. but it should be easy as i'm giving you the source. There's nothing much in my library. It keeps attempting the control transfer for 100 times. You need SHarpUSBLib as well.<br /><br /><a href="http://www.mediafire.com/?sharekey=f59081471384dbb2b94117dade8fc295e04e75f6e8ebb871" class="postlink">http://www.mediafire.com/?sharekey=f59081471384dbb2b94117dade8fc295e04e75f6e8ebb871</a><br /><br />@Christian , <br />Thanks for replying.<br /><br />Transfer rate : I did not know that transfer rate depended on the OS. I was under the assumption that most OSes can easily manage max speed for atleast low speed USB devices. Looks like a lot more happens and its not as simple as i had thought. I can live with 8 kB/s though should the speed ever drop down. <br /><br />I tried transferring a 480 kB file from the PC to an mmc card using V-USB and i obtained 16.5 kB/s average speed. I transferred 512 bytes from the PC to the atmega16 at a time and then transferred 512 bytes to the MMC card. So i think PC -&gt; atmega16 through V-USB was taking place at 24 kB/s. The average speed was lower as part of the time was spent only doing transfers to MMC card.<br /><br />Interrupts : Thanks for the tip. I think this method should work well with other environments as well. It seems like the same technique albeit for a shorter period of time is used in AVR - CDC project. AVR CDC also relies on the host to reattempt transfers when the device is servicing the UART. AFAIK , AVR CDC works well even in windows vista.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2578">spiky</a> — Sat Aug 08, 2009 10:26 am</p><hr />
]]></content>
	</entry>
	</feed>
