Hi,
I use IDKAM437x with sdk 2.1.1.2, sysbios 6.42.3.35 and ndk 2.24.3.35 and would like to establish PRUICSS1/PRU0/1 in double Mac mode based on the ethernet_mac example from sysbios sdk.
I copied most of the main() function into one of my functions executed before start of BIOS. Most of the commands is executed properly, but my code breaks down when achieving functions: ICSS_EmacInit(emacHandle1, &pruss_intc_initdata, ICSS_EMAC_MODE_MAC1 | ICSS_EMAC_MODE_DUALMAC); However, it is executed without problems when downloading ethenet_mac example or NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject from latest pdk. The way and sequence of peripheral initialization is preserved, also the *cfg configuration files (Global Network Settings and IP blocks) of all these projects look the same - and I really do not know what more should be modified. With step by step debugging, I know the critical moment of ICSS configuration is TaskOSAL_create in ICSS_EmacOSInit.
Is there any essential thing to be set before these steps which might have been omitted by me?
Thank you,
JJ