Search found 15 matches

by jmtaylor
Wed Mar 31, 2021 11:10 am
Forum: startKIT
Topic: startKIT not booting up
Replies: 3
Views: 21330

Re: startKIT not booting up

Thanks for your reply, akp. 1. I'm afraid I'm not able to post the schematic of the custom PCB. 2. Yes, DB25 plugged in (on this one particular instance of the custom PCB only): consistently fails to power up. DB25 unplugged: consistently powers up successfully. Incidentally, as much as I can tell b...
by jmtaylor
Mon Mar 29, 2021 10:44 am
Forum: startKIT
Topic: startKIT not booting up
Replies: 3
Views: 21330

startKIT not booting up

I appreciate the startKIT is now obsolete, but I hope somebody might still be able to comment on an issue I'm having with the ones I still have in my lab. I have several copies of a custom PCB host board (with some fairly simple functionality on it such as an optical relay, some constant-current dri...
by jmtaylor
Tue Jun 18, 2019 10:32 pm
Forum: Development Tools and Programming
Topic: Echoing one pin to another
Replies: 7
Views: 1750

Re: Echoing one pin to another

"If you clocked the IO it would be pretty straightforward to use buffered input and output ports to do it I would think." Could you tell me a little more about what you mean here? Obviously if I read and write to the ports from a loop then I can do what I want (with no need for clocking), ...
by jmtaylor
Fri Jun 14, 2019 4:42 pm
Forum: Development Tools and Programming
Topic: Echoing one pin to another
Replies: 7
Views: 1750

Re: Echoing one pin to another

Ah that's great - thankyou! I would probably never have figured out the correct search term otherwise. That sounds like exactly what I was looking for.
by jmtaylor
Thu Jun 13, 2019 10:47 am
Forum: Development Tools and Programming
Topic: Echoing one pin to another
Replies: 7
Views: 1750

Re: Echoing one pin to another

Or, looking at it another way, can anyone recommend a simple external chip or add-on that would serve as a sort of digital, programmable patch board, i.e. the xmos can instruct it as to what mappings/shufflings it should apply from e.g. 16 digital inputs to 8 digital outputs? (I'm not even sure what...
by jmtaylor
Thu Jun 13, 2019 10:38 am
Forum: Development Tools and Programming
Topic: Echoing one pin to another
Replies: 7
Views: 1750

Echoing one pin to another

Hi all, In my application, one part of what I need to achieve is to echo the state of an input pin (well, several input pins in fact) to (several) output pins. The mapping between input and output pins will occasionally change over time. At the moment I do this with a dedicated thread that waits for...
by jmtaylor
Wed Nov 08, 2017 7:06 pm
Forum: startKIT
Topic: Flash programming startKIT
Replies: 3
Views: 15080

Re: Flash programming startKIT

Ah great - thanks. Editing the makefile has fixed things - I had seen the .xn file in the project explorer, but couldn't work out how to change it. Incidentally (writing this for posterity, in case anyone is ever confused): a strange (but in retrospect understandable) symptom of having the wrong .xn...
by jmtaylor
Fri Nov 03, 2017 12:53 pm
Forum: startKIT
Topic: Flash programming startKIT
Replies: 3
Views: 15080

Flash programming startKIT

Apologies for what seems to be a basic question, but I have not managed to write my startKIT program into persistent flash storage. I have a project that was initially targeted at the XK-1A development kit. After updating the port mappings, it runs correctly on the startKIT (when "Run" thr...
by jmtaylor
Wed Apr 05, 2017 1:06 pm
Forum: Development Tools and Programming
Topic: performance: switch statements, ldap and waiteu
Replies: 2
Views: 2917

Re: performance: switch statements, ldap and waiteu

(Very) belated thanks for your reply, Henk. (I had thought I would be notified by email if a reply appeared, but apparently not) Anyway, thankyou for replying and for confirming that you wouldn't expect the compiler to optimize. It's helpful to know that there is nothing much I can do at the level o...
by jmtaylor
Thu Jan 19, 2017 7:42 pm
Forum: Development Tools and Programming
Topic: performance: switch statements, ldap and waiteu
Replies: 2
Views: 2917

performance: switch statements, ldap and waiteu

I have some moderately complex code that monitors a whole load of events simultaneously (timers, pin inputs, etc) and performs actions for each input. This is written in C code based around one big select statement. Looking at the disassembly, I see that every time an event fires, my correct event h...