This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-USB HID device problem

Hello! I am working with Atmel AT91SAM9260-EK development board, I use RTX-os and Keil USB library files(written for AT91SAM7S-EK devboard). I made some changes in source files to make it work on my development board(as USB-HID device). Everything works fine when I start my program directly from external SDRAM(using SAM-BA). Things doesn't go so good when I use Atmel's bootstrap to run my application from dataflash (Actually what bootstrap does is just copy program from data flash to external SDRAM and execute it). When ARM starts with bootstrap, program starts normally, works as it supposed to work but USB-HID device does not start and windows show message "Device not recognized". I think that Atmel's "romBOOT" firmware sets some USB registers and does not clear them before starting my program and that's what makes everything run fine. Atmel's bootstrap does not use USB, so USB registers is not touched.

Maybe its RL-USB library which does not do some required USB initialization sequence and it is the reason why USB device does not work?

Have anyone of you faced same or similar problem? How would you suggest me to solve it?

Thanks!

0