Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

usb enumaration + code 10 error

Status
Not open for further replies.

deepaknaik26

Newbie level 4
Joined
Nov 11, 2005
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,351
I am working on atmel at89c5132 device . It is 3.3v operable. I am configured my device in self powered mode. Configured the device in bulk only transport class.

The descriptor are

/* DEVICE DESCRIPTOR */

#define USB_SPECIFICATION 0x0110
#define DEVICE_CLASS 0
#define DEVICE_SUB_CLASS 0
#define DEVICE_PROTOCOL 0
#define EP_CONTROL_LENGTH 16
#define VENDOR_ID 0x2292
#define PRODUCT_ID 0xB2AE
#define RELEASE_NUMBER 0x0001
#define MAN_INDEX 0x00
#define PROD_INDEX 0x00
#define SN_INDEX 0x01
#define NB_CONFIG 0x01

/* CONFIGURATION DESCRIPTOR */
#define CONF_LENGTH 0x2000
#define NB_INTERFACE 1
#define CONF_NB 1
#define CONF_INDEX 0
#define CONF_ATTRIBUTES 0x60
/* 100 mA */
#define MAX_POWER 0x32

/* INTERFACE DESCRIPTOR */
#define INTERFACE_NB 0
#define ALTERNATE 0
#define NB_ENDPOINT 2
#define INTERFACE_CLASS 0x08
#define INTERFACE_SUB_CLASS 0x06
#define INTERFACE_PROTOCOL 0x50
#define INTERFACE_INDEX 0


/* ENDPOINT 1 DESCRIPTOR */
#define ENDPOINT_NB_1 0x01
#define EP_ATTRIBUTES_1 0x02
#define EP_SIZE_1 ((Uint16)EP_IN_LENGTH) << 8
#define EP_INTERVAL_1 0

/* ENDPOINT 2 DESCRIPTOR */

#define ENDPOINT_NB_2 0x82
#define EP_ATTRIBUTES_2 0x02
#define EP_SIZE_2 ((Uint16)EP_IN_LENGTH) << 8
#define EP_INTERVAL_2 0
#define EP_IN_LENGTH 16

I have configuerd the device in self powered. When I have searched the details regarding abt this some people are foccussing more on maximum power that the device will drain from the bus.

I plug my device ,, I got "found new hardware ( USB mass Storage ) . After that The hardware give s the problem."

Yellow exclmation mark, In the device maager at the prefix of mass storage class.

Plz help
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top