Forum Discussion

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

Any experience with ping_app on niche-stack

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:

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.