current: here the program SSC (slave stack code v5.11) is running on the processor PIC32MX795F512L from the demoboard. The communication between the PIC32MX and the chip LAN9252 works correctly via SPI.
After the EEPROM-programming and device-sanning with Twincat2.0 was sucessfully.
LED LINK/ACT from PORT 0(IN/OUT) flashs, the LED RUN is ON, and LED LINK/ACT from PORT 1(OUT) is OFF.
Configation: Ports 0 and 1 are connected to internal PHYs A and B. Port 2 is connected to the external MII pins.
PORT0(IN/OUT) is connected to the embedded PC BECKHOFF CX1100-0004 via ethercat.
PORT1(OUT) and PORT2 (for LAN9252-ADD-ON board) are not connected to extern.
The files was listed in the structur window from Twincat2.0: Box 1, Box2 and Box3. Box 1 and Box 2 have error INIT INIT_ERR. Box 3 works correctly in OP mode. See some pictures below.
I don't understand why do exist Box 1 and box 2 in the structur window from twincat 2.0? I can not find this mistake.
How can I remove Box 1 and Box 2 from the strucktur window?
I hope to lose this problem.
Ports 0 and 1 are connected
to internal PHYs A and B. Port 2 is connected to
the external MII pins.
post edited by GeWoBl70 - 2018/01/10 08:52:17