Search found 18 matches

by SimonQian
Sun Aug 03, 2008 3:32 pm
Forum: V-USB
Topic: About USB signal
Replies: 2
Views: 5418

About USB signal

A user of AVRminiProg give me a picture about the USB signal. He test the AVRUSB unstable on his PC. http://www.SimonQian.com/image/temp/HPIM7716_small.jpg By my side: http://www.SimonQian.com/image/temp/usb.jpg And it's muuuuuch better. Will it solved by increasing the resistor between USB and AVR?
by SimonQian
Wed Jun 04, 2008 6:58 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

OK. My code is somewhat ugly.
But will the similar error occur when sending data to PC?
by SimonQian
Thu May 29, 2008 8:20 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

So you mean set the trigger position to where?
It's 10% by default, so there is 10% data before trigger and 90% after.
by SimonQian
Sat May 17, 2008 11:07 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

I remove other USB devices, and do the test.
It never stops when sending data to PC.

new logged USB data:
http://www.SimonQian.com/download/temp/USB.zla
by SimonQian
Thu May 15, 2008 7:45 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

There is a DATA package before trig falls.
If there is not enough information, It's easy to take anther try at 10MHz.
by SimonQian
Thu May 15, 2008 10:20 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

Got it

http://www.simonqian.com/download/temp/USBD-.zla http://www.simonqian.com/download/temp/gui.JPG The software can be downloaded at: http://www.embedtools.com/download/downs.asp?ID=1842 trig is the signal I raise to indicate the error, on the fall edge, my analizer start working usb is USB D- signal,...
by SimonQian
Wed May 14, 2008 5:22 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

I'll try to do the job

I'll be free these days.
My Logical Anaylizer is 2K in storage deepth.
Is it enought?
I'll make a signal to tell my anaylizer to start when I detect a failure.
by SimonQian
Tue Apr 22, 2008 7:06 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

I'm busy with a STM32 chip these days.
I'll try when I have time.
by SimonQian
Sat Apr 19, 2008 7:45 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

It's OK after I only store the DATA token when ACK is sent: handleData: mov x3, token lds token, usbCurrentTok;[18] tst token ;[20] breq doReturn ;[21] lds x2, usbRxLen ;[22] tst x2 ;[24] brne sendNakAndReti ;[25] ; 2006-03-11: The following two lines fix a problem where the device was not ; recogni...
by SimonQian
Fri Apr 18, 2008 2:10 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

Code for usbFunctionWriteOut: /// Token recorded when receive DATA package uchar lastTok; /// /// @brief AVRUSB will call this function when DATA package is received /// @param data received data to process /// @param len received data length /// void usbFunctionWriteOut(uchar *data, uchar len&#...
by SimonQian
Thu Apr 17, 2008 11:46 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

I add code to check data toggle like this(AVRUSB run at 16M): /// Token recorded when receive DATA package uchar lastTok; /// /// @brief AVRUSB will call this function when DATA package is received /// @param data received data to process /// @param len received data length /// void usbFunctionWrite...
by SimonQian
Wed Apr 16, 2008 3:57 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

too busssssssssy these days.
Is there any list to show which PC or chipset is more likely to fail with Bulk Transfer?
by SimonQian
Sun Apr 13, 2008 2:15 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

I'll try sometime next week. BTW: I tried to check the data toggle by this: in usbdrvasm.S add(myTok is define uchar in main.c): extern myTok in asmcommon.S function handleData insert first: sts myTok,token; this will store token(DATA0 or DATA1) to myTok This will add 2 cycle delay. But if I check t...
by SimonQian
Sun Apr 13, 2008 7:39 am
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34617

This probably means that Sharity was not fast enough sending an ACK so that the host did a USB retry after some time. What clock frequency do you use? Can you reproduce this? If yes, do you have a digital storage scope to analyze it? Would be really interesting to find out why this happens since bu...