Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIt seems to me that some other initialiazion function overwrite the correct settings. I checked the setting done by tse_system_info.h & .c file.
I've even erased all the contens of tse_system.info.c, with:# ifdef ALT_INICHE
# include "ipport.h"# endif
# include "altera_avalon_tse.h"# include "altera_avalon_tse_system_info.h"# include "system.h"
/* use tse_mac_device structure as defined in this file
* or
* customize tse_mac_device structure using API alt_tse_system_add_sys() and alt_tse_sys_enable_mdio_sharing() */
alt_tse_system_info tse_mac_device = {
TSE_SYSTEM_EXT_MEM_NO_SHARED_FIFO(TSE_MAC, 0, SGDMA_TX, SGDMA_RX, TSE_PHY_AUTO_ADDRESS, 0, DESCRIPTOR_MEMORY)
};
but the contents of tse_mac_device still remains uncorrect