Search found 957 matches

by Ross
Thu Jan 25, 2024 12:31 pm
Forum: Development Tools and Programming
Topic: USB communication fails on ESD test / USB response status == EPROTO (-71) in Wireshark/USBmon
Replies: 17
Views: 19555

Re: USB communication fails on ESD test / USB response status == EPROTO (-71) in Wireshark/USBmon

still it is strange to me that not calling XUD_SetReady_OutPtr() brought exceptions error in the XUD_LLD_IoLoop but I havent enough experience of the USB protocol and I cannot provide usb traces to suggest improvement. Thanks for reading. Yes, that doesn't sound correct. If you have a small example...
by Ross
Thu Jan 25, 2024 12:19 pm
Forum: Development Tools and Programming
Topic: Technical Guide to C for xcore - new YouTube tutorial
Replies: 7
Views: 3833

Re: Technical Guide to C for xcore - new YouTube tutorial

BTW I'm not sure this is a new video, some old video seems to have made their way to the xmos YouTube channel of the last day or so, im not quite sure what's happened here (not my department ;))
by Ross
Thu Jan 25, 2024 12:17 pm
Forum: Development Tools and Programming
Topic: Technical Guide to C for xcore - new YouTube tutorial
Replies: 7
Views: 3833

Re: Technical Guide to C for xcore - new YouTube tutorial

I think the issue with understanding is that the hardware was designed to run the language (see early presentation: http://people.cs.bris.ac.uk/~dave/xarch2010.pdf) and so its very integral to the whole xmos story. lib_xcore is somewhat trying to provide a C compatible API like XC. So if you already...
by Ross
Mon Jan 15, 2024 6:56 pm
Forum: Development Tools and Programming
Topic: Create Xmos Resource Map File from within XTC command prompt
Replies: 6
Views: 12166

Re: Create Xmos Resource Map File from within XTC command prompt

You're referring to the

Code: Select all

-report
option to the compiler maybe?
by Ross
Fri Jan 05, 2024 4:17 pm
Forum: USB Audio
Topic: XMOS schedule for xCORE-AI USB Audio apps
Replies: 5
Views: 128964

Re: XMOS schedule for xCORE-AI USB Audio apps

To add to Joe's reply, xcore.ai is a superset of xcore-200, it that in can use its internal PLL to generate master-clock frequencies. This is an additional feature, rather than a restriction. An up an coming release will include sync to external sources using this PLL, but this doesn't seem to be wh...
by Ross
Fri Jan 05, 2024 11:47 am
Forum: Development Tools and Programming
Topic: XCC Compiler Bug - No Exit Condition in Assembly for uint8_t Array
Replies: 8
Views: 182101

Re: XCC Compiler Bug - No Exit Condition in Assembly for uint8_t Array

I've raised the issue internally and it has been reproduced. Initial reports from our compiler team: It effects the XC compiler only and optimisation levels > 0 It doesn't effect the C compiler at any optimisation level The type of the array isn't significant but the type of the counter variable is....
by Ross
Tue Jan 02, 2024 12:53 pm
Forum: Development Tools and Programming
Topic: XCC Compiler Bug - No Exit Condition in Assembly for uint8_t Array
Replies: 8
Views: 182101

Re: XCC Compiler Bug - No Exit Condition in Assembly for uint8_t Array

dsteinwe wrote: Thu Dec 28, 2023 2:14 pm How do you have generated the disassembled code? I'm interested in, because some instructions are coupled in a {} for dual issue. This looks nice and improves readability.
Use -save-temps to save intermediate files (i.e. .s files)

-fcomment-asm can also be handy
by Ross
Tue Jan 02, 2024 12:45 pm
Forum: USB Audio
Topic: Link State Power Management settings causing glitching on laptop
Replies: 0
Views: 94067

Link State Power Management settings causing glitching on laptop

We've come across a laptop that's aggressive power management settings caused audio glitches when using the Thesycon driver. Sharing here in case it helps anyone.

Full details: https://github.com/xmos/sw_usb_audio/issues/132