Forum Discussion
Altera_Forum
Honored Contributor
19 years agoEPCS under uCOS/II
I'm trying to programme an EPCS over TCP/IP and NIOS running uCOS/II. Problem is, the only way to access the EPCS is via HAL API, which says "single threaded only". Small operations, like a singl...
Altera_Forum
Honored Contributor
19 years agoYep, thought of stack size - no effect
I have however now got this to work by opening the EPCS device before each individual API call (which might read or write an entire block) and closing it afterwards, rather than leaving the device open throughout several API calls. I have NO idea why this makes a difference, but it does. I've also left the OSSchedlock/unlock bracketing the entire function for good measure Any insights would be welcome ! Alan