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++
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 討論

Any experience with ping_app on niche-stack

Altera_Forum
榮譽貢獻者 II
1,126 檢視

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 積分
1 回應
Altera_Forum
榮譽貢獻者 II
394 檢視

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.
回覆