Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNIOS TSE initialize
Dear All, I am new in NIOSII and TSE. I use the Altera developemnt DK-DEV-4CGX150N for project development. I use the Qsys to build up my system and want to write some code to make the develop...
Altera_Forum
Honored Contributor
14 years agoAfter comment out these two code the result is different (I consider this case is more worst than the origianl one).
The packet size I receive is only 76 bytes instead of 78 bytes (which is the total data size I intend to send from development board to PC). The MAC address is as below: Destination address: 21-51-d3-c8-02-03 Source address: 02-03-04-05-06-07 BTW. If I setup the configure register as the following. Is it true that the TSE will use the MAC address that I program into the TSE register with the location where contain the source MAC address at my original data buffer. result = ALTERA_TSEMAC_CMD_TX_ENA_MSK | ALTERA_TSEMAC_CMD_RX_ENA_MSK | ALTERA_TSEMAC_CMD_RX_ERR_DISC_MSK | ALTERA_TSEMAC_CMD_TX_ADDR_INS_MSK | ALTERA_TSEMAC_CMD_RX_ERR_DISC_MSK; IOWR_ALTERA_TSEMAC_CMD_CONFIG (tse_mac.base, result);