2008-04-02 12:06 PM
Update of ST library (ver 2 Jan 2008) causes ENET to be set in big endian
2011-05-17 12:51 AM
I just updated the ST library on my project, I have a custom network bootloader in bank 1 that starts an application in bank 0. The network works in the boot loader, but, after it is reinitaialized (ENET_Init, ENET_Start) in the application, the bit (bit 30) that set the endianity in ENET_MCR is 1 meaning that it is working in big endian while during boot it was set to 0.
What can cause this bit to flip? :-[2011-05-17 12:51 AM
Ok I found something, new ENET_init takes different parameter from previous version, now I passed a valid MAC_config and then I called ENET_SetOperatingMode. But now I have a different problem my ENET_HandleRxPkt always returns an error here:
if(dmaRxDscrBase[RxBC].dmaPackStatus & ENET_DSCR_RX_STATUS_VALID_MSK) { return ERROR; } DMA is not working?