Search found 19 matches

by msar
Sun Sep 21, 2014 11:49 pm
Forum: Other XMOS Development Kits
Topic: Missing COM Port? (XC-1A)
Replies: 1
Views: 3202

Re: Missing COM Port? (XC-1A)

False alarm - sort of. Tried on another computer, and it works there. Must be some issue with my desktop.

Sorry for the noise.
by msar
Sun Sep 21, 2014 7:46 pm
Forum: Other XMOS Development Kits
Topic: Missing COM Port? (XC-1A)
Replies: 1
Views: 3202

Missing COM Port? (XC-1A)

I have an XC-1A that I purchased in 2010. It has served well as a sort of PWM control for scientific experiments. I'm trying to update it, and it now flashes just fine with the xTime composer tools, but the COM port for the device is missing in my Windows Device Manager. Is there some setting I'm mi...
by msar
Fri Feb 11, 2011 12:51 pm
Forum: Getting started
Topic: confusion with select statement
Replies: 6
Views: 6072

Re: confusion with select statement

Thanks both for your replies. Segher - your advice was perfect, and the code is running quite well now. Thanks again for your help.

I'm attaching my modified code to this post, in case it might help anyone.
by msar
Thu Feb 10, 2011 11:58 pm
Forum: Getting started
Topic: confusion with select statement
Replies: 6
Views: 6072

Re: confusion with select statement

Hi Vector, Thanks for your reply. rxd is not a channel, it is a port. More specifically, it is the UART receive port. I want to listen for any incoming input over the serial connection. Ideally, this would be a simple "wait until RXD port goes to 0", since 1 should be the quiescent state o...
by msar
Thu Feb 10, 2011 6:10 pm
Forum: Getting started
Topic: confusion with select statement
Replies: 6
Views: 6072

Re: confusion with select statement

Hi again,

I haven't been able to figure this one out. Any ideas? I am attaching my full source code, in case the snippet wasn't enough before.

Thanks for any input.
Mike
by msar
Wed Feb 02, 2011 3:19 pm
Forum: Getting started
Topic: confusion with select statement
Replies: 6
Views: 6072

confusion with select statement

Hi everyone, I'm confused over the behavior of a select statement. I have two threads in my program. One listens for input, while the other processes pre-cached settings. My problem with the select statement is that even when there is no input for the listener to consume, the select statement behave...
by msar
Sat Dec 25, 2010 2:28 pm
Forum: Getting started
Topic: select statement
Replies: 4
Views: 4628

Re: select statement

Have you tried the tutorial exercises included with the XDK? The button project does almost exactly what you're attempting to do.

To start this project, go to File->New->XC Project, and select the XK-1 as your Platform in the drop-down menu.

Hope this helps.
by msar
Tue Dec 21, 2010 7:40 pm
Forum: Getting started
Topic: threading & debugging
Replies: 7
Views: 6525

Re: threading & debugging

never mind. It was an error in types. I had created the receiving variables in each function as chars. However, when I output a value, it was an integer.

I fixed it by defining char values. Like this:
replace this:

Code: Select all

out_ch <: 1;
with this:

Code: Select all

char GO=1;
out_ch <: GO;
works fine now.
by msar
Fri Dec 17, 2010 8:15 pm
Forum: Getting started
Topic: threading & debugging
Replies: 7
Views: 6525

Re: threading & debugging

Hi guys, I hope I'm getting closer here. Compared to before, I have tried to change the code to cache any settings, rather than transmitting them each time. I'm still hung up, though - when my process thread sends it's "I'm done here" signal over process_ch, I get an 'ET_ILLEGAL_RESOURCE' ...
by msar
Tue Nov 23, 2010 4:14 pm
Forum: Tutorials
Topic: Tutorial solutions
Replies: 0
Views: 16005

Tutorial solutions

Hi everyone, People commonly ask for solutions to the tutorial exercises. That seems to be something that should be in the wiki. I started such a page here: http://www.xcore.com/wiki/index.php/Tutorial_Solutions Presently, it has my solutions to the exercises for the XC-1A. I welcome any comments or...