Search found 8 matches

by nhchmg
Thu Oct 15, 2009 10:26 am
Forum: V-USB
Topic: bulk in often lose packet
Replies: 2
Views: 2573

bulk in often lose packet

I will implements mass storage class on v-usb, mass stroage class must use bulk in,bulk out. when read a sector,need 64 packets(8 bytes per packet),often lose packet. I look usb 1.1 spec, when bulk in transfer,host will send ack. 1.whether or not v-usb check ack? 2.How to send empty bulk in packet?
by nhchmg
Thu Oct 08, 2009 6:53 pm
Forum: V-USB
Topic: v-usb only accept 8 bytes per packet?
Replies: 3
Views: 3117

Re: v-usb only accept 8 bytes per packet?

default USB_BUFFSIZE = 11, I set USB_BUFFSIZE = 67,It' working
by nhchmg
Thu Oct 08, 2009 6:50 pm
Forum: V-USB
Topic: v-usb bootloader can not work
Replies: 1
Views: 1952

Re: v-usb bootloader can not work

It's working now, because use Interrupt must set GICR IVSEL (in Atmega16)
by nhchmg
Thu Oct 08, 2009 11:17 am
Forum: V-USB
Topic: v-usb bootloader can not work
Replies: 1
Views: 1952

v-usb bootloader can not work

The power switch sample, place in boot loader area, it's not work, computer say unknow usb device, but place in program area ,it's ok, why?
atmega16 + 1k words boot loader area + BOOTRST = 0
by nhchmg
Tue Oct 06, 2009 10:39 pm
Forum: V-USB
Topic: some problem in "bulk in transfer"
Replies: 1
Views: 2024

some problem in "bulk in transfer"

1, On bulk in transfer ,always the host can't see first pakcet,for example: device send amount 36 bytes,8 bytes per packet, host only receive 28 bytes. 2. On bulk in transfer,if i continue with send, host will ruleless can't see any packet. 3. In AVR-Droper code ,he said "// start with empty fr...
by nhchmg
Tue Oct 06, 2009 2:44 pm
Forum: V-USB
Topic: how to implements bulk in?
Replies: 1
Views: 2017

how to implements bulk in?

Bulk out will call usbFunctionWriteOut, buf bulk in not call usbFunctionRead, how to implements bulk in? thanks advance.
by nhchmg
Tue Oct 06, 2009 12:19 pm
Forum: V-USB
Topic: v-usb only accept 8 bytes per packet?
Replies: 3
Views: 3117

v-usb only accept 8 bytes per packet?

I want to implements a mass storage device,but the bulk command is 31 bytes,what can I do?
thanks advance.
by nhchmg
Sun Oct 04, 2009 8:22 am
Forum: V-USB
Topic: I want to make the composite USB device consisting of two
Replies: 0
Views: 4328

I want to make the composite USB device consisting of two

I want to make the composite USB device consisting of two parts.
1. Hid-Class
2. CDC-Class

How do I go about doing this? thanks!