Part Number: AM3357
Hello,
I'm trying to port PRU-ICSS-EthernetIP_Adapter_01.00.03.04 example to own board based on Sitara AM3357.
Example works OK on ICEV2 and own board when Clock.tickPeriod is set to 500.
Problem begins when I've change Clock.tickPeriod to 1000 (what is desired tickPeriod value).
Interesting is that when I've change Clock.tickPeriod to 499 or 400 then all is ok. When I've change to 501 it's stop working.
Global.ndkTickPeriod = 100;
In bad case program don't reach next line after:
if(EIP_Init(pstEipInit) == EIP_FALSE) in static int EIPAPP_initSample(ST_EIP_INIT *pstEipInit, ST_EIP_ONLINE *pstEipOnline) in EIP_main.c.
When I've pause program than Stack looks like that:
And it's assert on:
BIOS_ThreadType type = BIOS_getThreadType();
Assert_isTrue((type == BIOS_ThreadType_Task),
Semaphore_A_badContext);
What could cause the problem? Is necessary to recompile libethernetip_adapter_stack_AM335x_arm.a?
Best Regards
Paweł Wójcicki
