Software wise, the way the Stratix board starts up its interfaces is a bit different than the way the DE4 starts up its interfaces. For the Stratix board, there is no need for the add_sys() function. Instead, all interfaces start from netmain() through the function call TK_NEWTASK(). This starts up each INSTANCE defined in alt_sys_init.c. This means that each interface should already start up by itself. This also means that we can't define MAC addresses the same we defined them on our DE4 board because a prep function runs once per instance (whereas on the DE4 board, it only runs once overall). So instead, we used a static integer to implement the different MAC addresses.
Right now, it seems the software recognizes that the daughter board is there. I can only assume this because the program will crash if the daughter board isn't there. I can assume the daughter board is recognized because the program is also actively waiting for a packet to come in the second interface. Unfortunately, there still seems to be no power to the daughter board's Ethernet. A computer will not recognize a cable is plugged in if we connect it to the daughter board. Since it is not even recognized, Wireshark does not see any packets. For the DE4 board, even if the interfaces shared MAC addresses, there would still be packets being sent from each interface. In this case, packets are still not being sent.
No comments:
Post a Comment