Altera_Forum
Honored Contributor
16 years agoTSE with NicheStack Problem
I've got the NicheStack license.
I'm using NIOSII IDE 8.1 I've got the DP83848C ethernet chip. I've got a custom CPU without the I2C. My project based on the Simple Socket Server with a Static IP Address. I have made sure that I assign a MAC address based on the Static IP Address and have written it into Flash. (keeping with the logic of the network_utilities.c for the NEEK) The problem is that during "tse_mac_init" sometimes: 1. Messages look good and I can connect 2. sometimes all the messages look good and I CANNOT connect 3. sometimes I get WARNINGS and can connect WARNING : PHY[0.0] - PHY not capable for Auto-Negotation 4. sometimes I get WARNINGS and CANNOT connect WARNING : PHY[0.0] - PHY not capable for Auto-Negotation 3. And EVEN sometimes I get ERRORS and I CAN connect ERROR : MAC Group[0] - No PHY connected! ERROR : PHY[0.0] - No PHY connected! Speed = 100, Duplex = Full There is no rhyme or reason to this as the code is the same. Could it be an interaction with the uC-OS and the HAL ? Any suggestions. Thanks in advance Janet