Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

nichestack TCP_IP for Nios II

Hi

I have a stratix II EP2S60, i want to use nichestack TCP/IP for communication, i have a simple problem:

the connection to board is good, i use simple soket server for starting, with telnet i would not send 0,1, 2, but i would send for example 0xA0, 0xA1...., i can't even if i modifie the code "simple_soket_server.h":

# define CMD_LEDS_BIT_0_TOGGLE '0'

by

# define CMD_LEDS_BIT_0_TOGGLE 0xA0

it sends 0 then x then A then 0 instead of 0xA0 once for all with telnet

thanks

2 Replies