Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

Any experience with ping_app on niche-stack

Altera_Forum
Honored Contributor II
1,122 Views

Hello all, 

has anyone experience with the ping-app within the niche-stack? 

How can a ping be started? 

How can i get the ping statistics? 

How to setup parameters like detination ip, timeout, ttl, data-size, etc? 

Is there any example code? 

:confused:
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
390 Views

Do you mean to ping niche stack from an external device or do you want niche stack to send a ping? Probably the second one, since the first one is the basic way of operation. 

I never tried pining from iniche but I think it is quite simple. 

Try with send_arp() function.  

You'll find it in et_arp.c file in 

/altera.components/Nios II Software Packages/altera_iniche/UCOSII/src/ip/ 

If not this function, look in other files in the same ip directory.
0 Kudos
Reply