Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20640 Discussions

nichestack TCP_IP for Nios II

Altera_Forum
Honored Contributor II
1,087 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
343 Views

must modify you c programm to receive multi character in a buffer,and convert them to binary value.

0 Kudos
Altera_Forum
Honored Contributor II
343 Views

Hello, 

 

No link with above posts, 

 

NicheStack for Nios II seen in http://www.altera.com/products/ip/processors/nios2/tools/embed-partners/ni2-network-stack.html#niche_stack is a version of InterNiche’s NicheStack IPv4 network stack optimized for the Nios II architecture. 

 

What does it really include ? 

Can it be used in any commercial products with no royalties ? 

Can it be used without ucOS II ? Because it is not suitable for low cost and very simple ethernet client commercial products. 

 

Thanks
0 Kudos
Reply