Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

help with OMAPL138 SYS/BIOS and starterware USB

$
0
0

hello there,

i'm trying to get usb working within sys/bios and evmomapl138 with starterware.

first i tried to get starterware standalone usb bulk device runnig by using the example from starterware. it worked out of the box for me.

now i want to use starterware (1.10.04.01) usb drivers within sysbios (6.37.02.27). i started with the "typical" example from SYS/BIOS as a base and added a hwi with Interrupt number 85 and USB0DeviceIntHandler as ISR.

then i added the sourcecode according to the standalone example to my project. i also compiled the necessary libs (drivers.lib, platform.lib, system_config.lib, usblib.lib and utils.lib) and added them to my project. the project builds fine. but if i start my application in debugging mode it does not run.

while debugging i noticed it hangs during USB Module clk enable in function PSCModuleControl.

the according line is nr 79 in psc.c

HWREG(baseAdd +  PSC_MDCTL(moduleId)) = (flags & PSC_MDCTL_NEXT);

i don't know what here the error could be... 

does anybody have an idea according my problem?

thank you for your help

peter


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>