Search found 18 matches

by SimonQian
Fri Apr 11, 2008 3:30 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34657

To find what's wrong, I add these code: if((10 + NumBytes) < len) { for(i = 0;i < len;i++) EEPROM_Write(0x10+i,dat[i]); } And found that if error occurs, the first or second 8 bytes is received twice, so the real package size is 18 + NumBytes, and data can be obtained if count from bottom. I tried 1...
by SimonQian
Fri Apr 11, 2008 12:37 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34657

It's really hard to debug cause I have no USB proto analyzer, but I still tried to fight out. There are 2 kinds of errors. 1.is solved 2 is that Bulk package error, for example, the package format is: //dat[idx] para(value) --Description //dat[0] Command //dat[1] NumBytes(MSB) --Total number of byte...
by SimonQian
Fri Apr 11, 2008 1:12 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34657

working nicely on my laptop, but fail on my PC?

recognized by both, but sometimes fails on PC.
Using Bulk.
any possible reason?
or any thing else I can check?