We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm having some trouble working with the usb-host controller of an AT91SAM9261 mcu. The CPU stops executing my code if I try to read from the usb-host (address 0x500000). When the mcu crashes it doesn't seem to be jumping to any of the exception-handlers and if I try using the debugger I get an error message that the debugger is "unable to halt the cpu", and then the Debug-message-window is flooded with error messages.
It seem to be related to the RL-RTX library since it seem to work better (it still crashes in certain cases) if I comment out the os_sys_init()-function and don't start the threads.
Does the RL-RTX-lib protect some memory areas or maybe overrides an exception vector or something that might cause this behavior?
I would appreciate any help or suggestions.
Best Regards /Ake Forslund