Thank you for that info! (again)
...a thought about xena->CPU interrupt ... very nice that interrupt can be generated, it would be nice to do interrupt driven things rather than the M$ USB polling methology, there's better use for CPUs than polling interfaces.
It is there, and surely will get used. So far I have really had no need.
The "unique" properties of links on an XMOS chip create certain problems.. Serialized data can flow extremely fast, but will stall for any read without write or write without read. Ther is no "read until there is no more", as the last read would hang the reader indefinitely.
This _should_ be easy enough to work around, but if your solution is not 100%, then your Xena will hang indefinitely.
As a result, my first projects use a very simple structure where all reads and writes are 16 bits, no matter what, and every transaction between the localbus and the Xena chip is broken down into individual "write then read" loops. This helps keep things simple, but not as fast as they could be at all.
Also a result of this is that I have had no need for interrupts at all yet.
I do have one-directional streaming for higher bandwidth data paths.. but I'm probably gertting into more detail than casual conversation requires.
The line is there, and connected to a GPIO pin on the PA6T. One day when I or someone else needs an interrupt, then progress will be made on this front.
One other user has already inquired about using this line for something else, and I have discoraged that, obviously because once this becomes an interrupt, spurious events for random reasons will not be good for the system.
There is a big list of "stuff to do".. my current project is not a perfect example of properly structured code.. It's more proof of concept than anything else.
There are other users at XCore who are working on a system that will dynamically allocate threads(cores) and also control the switching fabric to allocate their necessary resources, all on the fly. This is obviously better than our current system, which limits us to pre-compiled complete projects.
One possible use that has not yet been mentioned, there is code available for both SHA2 and AES encryption. I'm no crypto guy but having that code available might be useful. I don't know if the X1000 has a guaranteed unique serial number anywhere, but combining that with the crypto stuff could be useful for secure confirmation of machine I.D... and it could be done with no Xorro card or hardware at all.. just what the machine ships with already.
Hell the Xena chip may have a unique ID in itself. that would certainly streamline things. I'll have to look into that.
Nobody loves copy protection, but if it can be done in a way that does not interfere with performance for the registered user, then I don't mind it either.
I need to go.. Nice chatting with you!
LyleHaze