Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

USB Enumeration project failure to register USB
http://www.at91.com/samphpbb/viewtopic.php?f=9&t=18948
Page 1 of 1

Author:  ph0en1x3 [ Mon Feb 08, 2010 6:33 pm ]
Post subject:  USB Enumeration project failure to register USB

I am working on example code from the ATMEL IAR at91sam9261-ek and the USB Enumeration project does not configure a USB connection.

The problem appears to start in PIO_Configure and pinVbus struct is not updated.

// Configure PIO
PIO_Configure(&pinVbus, 1); <- fails to update struct

PIO_ConfigureIt(&pinVbus, ISR_Vbus);
PIO_EnableIt(&pinVbus); <- since struct isn't updated ISR doesn't work

There is no error msg it just goes through the commands and then I get a VBUS disconn.

The USB hardware connector is valid... so the problem is isolated to the example code.

Does anyone have a solution or recommendation for this?

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/