Unlike previous resources exception errors that I have run into (like using the same clock block for 3 different ports or something) this error gives me zero information. Whats more confusing is that the code executed perfectly so I can't even tell what has happened.
Code: Select all
xrun: Program received signal ET_ILLEGAL_RESOURCE, Resource exception. [Switching to tile core]
The logging functions are in a C file and are linked to the channel monitoring xc file code by using extern. The channel monitoring functions run in parallel and the primary channel processing function calls the logging function (which only takes action if it detects the data has changed).
Now the logging functions use a lot of print statements to provide information such as device memory, file structure, and statements to let the user know where it is in the open, read/write, close process. Following the advice of this thread: https://www.xcore.com/forum/viewtopic.php?f=44&t=2956, I thought to remove the print statements out right but that had no noticeable effect.
If anyone has any thoughts, advice, or suggestions on how to debug and solve this issue I would greatly appreciate it. I wish the composer studio was more specific with it's feedback... Thanks in advance.