Hello I got AM3359 ICE board V2 one month ago.
I've been studying about this board to communicate between ICE and PC by ethernet...
I just want to use Raw Ethernet without TCP/IP/UDP things...
I connected my board to pc directly in CPSW mode.
I'd like to use only starterware without lwIP.
Is there any one who can help me for this?
My Initialize code is here;;
CPSWPinMuxSetup_Ind();
// plat_utils.h
UTILsInitCpswIcssPorts(CPSW_SWITCH);
// evmAM335x.h
CPSWClkEnable();
// Init MDIO Module
MDIOInit(SOC_CPSW_MDIO_REGS,400,5);
MDIOPhyAutoMDIXEnable(SOC_CPSW_MDIO_REGS, 1);
/* Chip configuration MII/RMII selection */
// plat_cpsw.h
PortModeSelect_Ind();
RMIIClock_setup();
/* Get the MAC address */
EVMMACAddrGet(0, macAddr0);
EVMMACAddrGet(1, macAddr1);
//////// ============================ Interrupt Things
printf("Init :: IntMasterIRQEnable\n");
IntMasterIRQEnable();
printf("Init :: IntAINTCInit\n");
IntAINTCInit();
printf("Init :: IntRegister\n");
/* Registering the Interrupt Service Routine(ISR). */
IntRegister(SYS_INT_UART3INT, UARTIsr);
/* Register the Receive ISR for Core 0 */
IntRegister(SYS_INT_3PGSWRXINT0, CPSWCore0RxIsr);
/* Register the Transmit ISR for Core 0 */
IntRegister(SYS_INT_3PGSWTXINT0, CPSWCore0TxIsr);
printf("Init :: IntPrioritySet\n");
/* Setting the priority for the system interrupt in AINTC. */
IntPrioritySet(SYS_INT_UART3INT, 0, AINTC_HOSTINT_ROUTE_IRQ);
/* Set the priority */
IntPrioritySet(SYS_INT_3PGSWTXINT0, 0, AINTC_HOSTINT_ROUTE_IRQ);
IntPrioritySet(SYS_INT_3PGSWRXINT0, 0, AINTC_HOSTINT_ROUTE_IRQ);
printf("Init :: IntSystemEnalbe\n");
/* Enabling the system interrupt in AINTC. */
IntSystemEnable(SYS_INT_UART3INT);
/* Enable the system interrupt */
IntSystemEnable(SYS_INT_3PGSWTXINT0);
IntSystemEnable(SYS_INT_3PGSWRXINT0);
But, I can't get any Interrupt at all....
And I'm looking for any simple example code for raw ethernet things..Have a nice day