Search found 1013 matches
- Sat Aug 19, 2017 6:55 pm
- Forum: V-USB
- Topic: output report go right to usbfunctinowrite?
- Replies: 6
- Views: 43759
Re: output report go right to usbfunctinowrite?
Interesting... It's possible that refactoring (code size improvements, but fixes) broke something. I know that it did work when it was implemented. The most reliable way to find out what's going on is analytic debugging. I would change the C code to make a trigger pulse on an I/O line when `usbRxTok...
- Fri Aug 18, 2017 2:01 pm
- Forum: V-USB
- Topic: output report go right to usbfunctinowrite?
- Replies: 6
- Views: 43759
Re: output report go right to usbfunctinowrite?
Did you make a clean build after you defined USB_CFG_IMPLEMENT_FN_WRITEOUT? I have done a code review and think that it should work. In asmcommon.inc there are the lines: #if USB_CFG_IMPLEMENT_FN_WRITEOUT /* if we have data for endpoint != 0, set usbCurrentTok to address */ andi x3, 0xf ;[32] breq s...
- Fri Sep 04, 2015 6:38 pm
- Forum: V-USB
- Topic: Wakeup the system
- Replies: 22
- Views: 26365
Re: Wakeup the system
It probably won't harm. I think the host is just prepared to receive remote wake.
- Fri Sep 04, 2015 11:47 am
- Forum: V-USB
- Topic: Wakeup the system
- Replies: 22
- Views: 26365
Re: Wakeup the system
Thanks for the hint! I've added it in the master branch on Github.
- Thu Nov 14, 2013 11:22 pm
- Forum: V-USB
- Topic: schar and uchar macros in usbdrv.h
- Replies: 1
- Views: 5689
Re: schar and uchar macros in usbdrv.h
You are, of course, right. V-USB has been developed for tiny projects originally, and it's easy to rename variables or avoid particular names in tiny projects. V-USB has grown from that, as you can see, and it would be time for a major cleanup. BTW: I usually don't have the time to read the forum, j...
- Thu Nov 14, 2013 10:34 pm
- Forum: V-USB
- Topic: Char signedness bug in usbGenericSetInterrupt() [fixed]
- Replies: 3
- Views: 7376
Re: Char signedness bug in usbGenericSetInterrupt() [fixed]
It has been fixed months ago, but I forgot to commit and push it. The commit message is also a bit confusing since I did not remember what that particular fix was good for.
- Thu Nov 14, 2013 10:16 pm
- Forum: V-USB
- Topic: Char signedness bug in usbGenericSetInterrupt() [fixed]
- Replies: 3
- Views: 7376
- Wed Mar 20, 2013 11:51 am
- Forum: V-USB
- Topic: usbasp / mac os x
- Replies: 5
- Views: 8778
Re: usbasp / mac os x
The pull-up or pull-down resistor on D+ is not so relevant, it should prevent stray interrupts when the computer is not connected. You can verify clock and crystal settings with a test loop, e.g.: for (;;) { toggle_port_pin(); int i; for (i = 0; i < 1000; i++) { _delay_ms(0.5); } } This should gener...
- Sun Mar 17, 2013 11:14 pm
- Forum: V-USB
- Topic: usbasp / mac os x
- Replies: 5
- Views: 8778
Re: usbasp / mac os x
Less than 1 V when there is no traffic on the USB.
- Mon Aug 20, 2012 4:41 pm
- Forum: V-USB
- Topic: V-USB on ATmega2560 -- bad descriptor
- Replies: 6
- Views: 8971
Re: V-USB on ATmega2560 -- bad descriptor
UPDATE: ... that #ifdef should resolve to TRUE, but in fact only the second macro is defined, thus preventing the correct Flash page from being read. Yes, that's a bug, the order of includes is wrong: usbportability.h is included before usbconfig.h. To fix it, simply delete the include of usbportab...
- Thu Jul 12, 2012 11:13 am
- Forum: V-USB
- Topic: Zener diodes at D+ D-
- Replies: 26
- Views: 43118
Re: Zener diodes at D+ D-
sawan sharma wrote:Is it necessary to use zener diode when i am using 9828 voltage regulator IC to make voltage 3.3v
No. You need either the zener diodes or the voltage regulator.
- Tue May 15, 2012 11:15 am
- Forum: V-USB
- Topic: ATtiny85 self programming flash.
- Replies: 11
- Views: 14832
Re: ATtiny85 self programming flash.
Thanks a lot for this great port to the ATTiny85!
- Mon May 09, 2011 10:50 am
- Forum: V-USB
- Topic: working nicely on my laptop, but fail on my PC?
- Replies: 32
- Views: 34614
Re: working nicely on my laptop, but fail on my PC?
We have made it possible for the application code to filter packets. See the option USB_CFG_CHECK_DATA_TOGGLING in usbconfig.h for details. This is in all versions since the October 2008 release.
- Tue May 03, 2011 2:38 pm
- Forum: V-USB
- Topic: Mass Storage class over V-USB
- Replies: 26
- Views: 24892
Re: Mass Storage class over V-USB
No, that's not a descriptor. The table contains pre-computed CRC sum values for the CRC checksum used.
- Tue May 03, 2011 11:18 am
- Forum: V-USB
- Topic: Mass Storage class over V-USB
- Replies: 26
- Views: 24892
Re: Mass Storage class over V-USB
I have not looked at the code so far, but I can probably answer to questions:
(1) As far as I know, WinAVR supports C++. Simply pass it a .cpp file.
(2) The .balign 256 usbCrcTableLow: stuff is for a table-driven (and thus faster) CRC algorithm.
(1) As far as I know, WinAVR supports C++. Simply pass it a .cpp file.
(2) The .balign 256 usbCrcTableLow: stuff is for a table-driven (and thus faster) CRC algorithm.