Hi,
I've tried to reprograme the AppCbSync function in am335x_sysbios_ind_sdk_1.0.0.4\sdk\examples\powerlink_slave example. I just commented out all the code in AppCbSync and rewrite it like this:
tEplKernel PUBLIC AppCbSync(void)
{
tEplKernel EplRet = kEplSuccessful;
if (bButtonInputs_l >= 100)
bButtonInputs_l = 0;
bButtonInputs_l++;
return EplRet;
}
Then I ran the powerlink network and captured packages using wireshark. What made me comfused is the output data is adding 5 every cycle. I checked the whole project and couldnot find the cause.
The packages captured is given in attachment. By the way, PC as MN and two ICE Board as CN in my Powerlink network and the two ICE Board ruuning the same program.
Who could tell me why the output data is adding 5 every cycle?
Thank you
Simon