Altera_Forum
Honored Contributor
7 years agoEtherenet TCP/IP server for Arria V board
I have an Arria V starter kit, which has an ethernet port on it. I was unable to find a tutorial on how to use the ethernet on that specific board, but I found a triple speed ethernet tutorial for DE2-115 boards. I created a nios II system which includes a triple speed ethernet according to this tutorial (see image)
https://i.imgur.com/wbghVKW.png I connected the nios II system to the ethernet pins on the FPGA as described in the tutorial: https://i.imgur.com/7hLRyFv.png I think I've done everything correctly. I'm following the NicheStack TCP/IP tutorial to setup a simple socket server (https://www.altera.com/en_us/pdfs/literature/tt/tt_nios2_tcpip.pdf), but I think this may not be compatible with the Nios II system I generated. After setting up the BSP, I try to build the simple socket server and I get this error: In file included from ./HAL/inc/includes.h:23:0, from ./UCOSII/inc/priv/alt_sem_ucosii.h:45, from ./UCOSII/inc/os/alt_sem.h:75, from ./HAL/inc/priv/alt_file.h:44, from HAL/src/alt_close.c:37: ./UCOSII/inc/ucos_ii.h:1708:2: error:# error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second" # error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second" ^ I am unsure what to do. I have been unable to find any tutorials for my device. Is there a general etherenet / TCP/IP tutorial for Altera boards? My google searching has not produced anything helpful