Forum Discussion
antoineb
New Contributor
5 months agoNiosV µC/OS-II TCP-IP debug
Hello, I am trying design a NiosV program with TCP/IP based on this example design: Arria® 10 FPGA – Simple Socket Server for the Nios® V/m Processor Design Example I don't have the proposed devki...
AvinashTh_Altera
New Contributor
5 months agoCan you please enable MDIO. The design will need external PHY. The uCOSII TCP IP stack with design support Marvell 88E2110 SGMII PHY. Can you provide information on the external PHY, please share the complete log message. If you have different external PHY then you will need to write your own uCOSII driver for external PHY .
Thanks!
antoineb
New Contributor
5 months agoHello,
I don't have an external PHY, can it not work with an internal one? In the reference design, the serial link comes from TSE, it does not export a GMII interface. I think I missed something.
This is the complete log:
juart-terminal: connected to hardware target using JTAG UART on cable
juart-terminal: "DE5 on localhost:1315 [1-1.3]", device 1, instance 0
juart-terminal: (Use the IDE stop button or Ctrl-C to terminate)
[crt0.S] Setting up stack and global pointers.
[crt0.S] Clearing BSS
[crt0.S] Calling alt_main.
[alt_main.c] Entering alt_main, calling alt_irq_init.
[alt_main.c] Done alt_irq_init, calling alt_os_init.
[alt_main.c] Done OS Init, calling alt_sem_create.
[alt_main.c] Calling alt_sys_init.
[alt_main.c] Done alt_sys_init.
[alt_main.c] Redirecting IO.
[alt_main.c] Calling C++ constructors.
[alt_main.c] Calling atexit.
[alt_main.c] Calling main.
[main] Main Task TOS: 0x4f888
Print the value of System ID
System ID from Peripheral core is 0xFACECAFE
[uc_main_task]
[uc_main_task] ==============================================================
[uc_main_task] uC/TCP-IP Setup
[uc_main_task] ==============================================================
[uc_main_task] TSE MAC base: 0x212000.
[uc_main_task] Rx csr name: /dev/sys_tse_msgdma_rx_csr.
[uc_main_task] Tx csr name: /dev/sys_tse_msgdma_tx_csr.
[uc_main_task] INFO: Initializing network stack.
[network_init] Failed to NetIF_Start(): (2010).
[uc_main_task] INFO: Initializing network stack: Failed.Thanks