I realize that my initial post was less than clear. I understand the available memory devices available on the XMOS devices and how to program them. My interest lies with the method of implementing a service in non-volatile memory. The documentation mentions services in several places but I've been unable to find a working example or even an example XN file.
- Here is what I believe XMOS intends:
- I design a board with a multi-core XMOS device and some specialized hardware hanging off the I/O pins of one core.
- I program the OTP of that core with the I/O interface to my hardware and some "service" code that monitors one or more channels and provide an API for my hardware.
- I create an XN file with entries that define what channels are used to access my service.
- Then end user programs the other core(s) and, using the <platform.h> file generated from my XN file, accesses my service through the defined channels.
So, what do the XN entries look like? There is no mention of service elements in the documentation.
Do I need to provide code to the end user that uses the pre-defined channels or does the end user interface directly to them?
The text of
Programming XC on XMOS Devices implies that this feature is implemented but no mention of it is made in any other documentation that I can find.