ET_RESOURCE_DEP meaning and cause Topic is solved

If you have a simple question and just want an answer.
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

ET_RESOURCE_DEP meaning and cause

Post by DemoniacMilk »

Sometimes, while using the ethernet library [v3.1.2], i run into an ET_RESOURCE_DEP exception in the following line

Code: Select all

        // Setup the RXD data pattern (SOF)
        ldap r11, sof_value
        ldw r11, r11[0]
-->     setd res[p_rxd], r11
I think this happens primarily when interfering by setting breakpoints or pausing/unpausing the program, but not sure.
What does ET_RESOURCE_DEP mean and what might be the cause for this behavior?


View Solution
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

It means two cores have tried to use a resource (i.e. a port, chanend etc) at the same time*


(*within 4 cycles of each other)