Hi,
i try to include the XUD-Lib in my XS1-L1 project.
Therefore I have compiled the XUD-HID example without any errors.
But when I start the program, xgdb.exe crashes, with optimization level 3.
While optimization level ist set to zero, xgdb.exe reports no error, but the HID-example doesn't work.
What is the problem?? :shock:
addition: the optiomization level has no effect...
USB XUD lib problem
-
- Member
- Posts: 15
- Joined: Tue Mar 08, 2011 12:06 pm
-
- XCore Addict
- Posts: 147
- Joined: Tue Feb 23, 2010 6:55 pm
Could you attach the binary? What development hardware are you running on and if you could let me know the tools version and OS I will take a look. If you could post the output you are getting also that would be helpful to understand your problem.
-
- Member
- Posts: 15
- Joined: Tue Mar 08, 2011 12:06 pm
I used the XMOS Development Environment (V11.2.0, OS = XP) and I attached the "libxud.a" by setting the "library search path" and library name ("xud") under project/properties/cxc build/settings/MapperLinker/Libraries...
compiling and linking was successful.
my hardware is an own designed board...i can upload/debug/running other programs on it.
.... and there is no error report, only the Visual Studio-Debugger tells me that xgdb.exe was crashed and the program isn't running..
compiling and linking was successful.
my hardware is an own designed board...i can upload/debug/running other programs on it.
.... and there is no error report, only the Visual Studio-Debugger tells me that xgdb.exe was crashed and the program isn't running..
-
- XCore Addict
- Posts: 147
- Joined: Tue Feb 23, 2010 6:55 pm
Any chance you could attach the .xe file to the post so I can see what is going one?
-
- Member
- Posts: 15
- Joined: Tue Mar 08, 2011 12:06 pm
this is my hid xe file...
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 15
- Joined: Tue Mar 08, 2011 12:06 pm
by the way, how can I activate the ULPI???
the documentation is very bad
is the ULPI a hardware feature??
has someone tried to run the HID-Demo or other USB-ULPI programs???
the documentation is very bad
is the ULPI a hardware feature??
has someone tried to run the HID-Demo or other USB-ULPI programs???
-
- XCore Expert
- Posts: 546
- Joined: Thu Dec 10, 2009 10:41 pm
- Location: St. Leonards-on-Sea, E. Sussex, UK.
I can't even build it (USB-Library-and-HID-Example(1.0.0beta1))! I've raised a support ticket.