Hi,
I have an absolutely strange problem. I tried to port the Atmel Usb-Framework 1.02 to RTX with the RV-Compiler. The enumeration is (sometimes) working. But the strange thing is, that the core is mysteriosely crashing. I think that the Structures are not 4-Byte aligned so i added the __align(4) attribute to every structure i found. But it didn't helped anything. I had the same Problem with the uIp-Stack(Tcp) but there the __align(4) helped. But, the Framework stores function-pointers in Structures, so the core isn't only crashing on load/store commands, also on some jump-commands. It's like searching a bogus,...
I also tried the __packed attribute with the same result.
I hope you can help me, because I think it is a keil-compiler problem (with gcc it is working, I tried, but I need to use the keil-compiler in my project)
Michael