| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		
			alexz
 
 
  Joined: 17 Sep 2004 Posts: 133 Location: UK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				| USB Enumeration | 
			 
			
				 Posted: Wed Nov 24, 2004 9:15 am     | 
				     | 
			 
			
				
  | 
			 
			
				Hi, I am using the USBN9603 - USB controller and PIC16F877A to develop a USB device.
 
I receive the 'Get device descriptor request' from the host and after transmitting the first 8 byte setup packet through the Endpoit zero I receive NAK from the host. And the enumeration is obviously failed.
 
What can be the problem?
 
Thank you _________________ Alex | 
			 
		  | 
	
	
		  | 
	
	
		
			Guest
 
 
 
 
 
  
			
			
			
			
			
			
			
			
			
			
  
		  | 
		 | 
	
	
		  | 
	
	
		
			alexz
 
 
  Joined: 17 Sep 2004 Posts: 133 Location: UK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Fri Nov 26, 2004 7:43 am     | 
				     | 
			 
			
				
  | 
			 
			
				
 
 
Yes I know, I get it _________________ Alex | 
			 
		  | 
	
	
		  | 
	
	
		
			alexz
 
 
  Joined: 17 Sep 2004 Posts: 133 Location: UK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Fri Nov 26, 2004 7:45 am     | 
				     | 
			 
			
				
  | 
			 
			
				the device descriptor is 18 bytes.
 
I send 1rst 8 bytes, receive reset, then get again the request, send twice the 16 bytes in chunks of 8 bytes packets with receiving the ACK between, receive anothe ACK after and when I send the last 2 bytes I get the NAK. _________________ Alex | 
			 
		  | 
	
	
		  | 
	
	
		
			alexz
 
 
  Joined: 17 Sep 2004 Posts: 133 Location: UK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Fri Nov 26, 2004 7:49 am     | 
				     | 
			 
			
				
  | 
			 
			
				I also send a zero length packet after each 8 bytes Tx.
 
Why does not it acknowlege the last 2 bytes of the descriptor? _________________ Alex | 
			 
		  | 
	
	
		  | 
	
	
		 |