是否能在大片EVB上使用Ethernet Tput測試?

請問我們open SDK有支援Ehrtnet功能嗎?如果要使用大片EVB做Ethernet Tput測試,硬體部分rework完後,有建議用什麼方式做測試嗎?是直接使用at command嗎?謝謝

:waving_hand: Thanks for posting!

For documentation, SDK resources, FAQs, and community guidelines, please visit: here

For commercial users, if you would like to have dedicated technical support or to connect with us, please fill in the Private User Form

Happy building with Ameba!


:waving_hand: 感謝您的分享!

如需查閱技術文件、SDK 資源、常見問題及社群指南,請參考: 這裡

若您是商業用戶,希望獲得專屬技術支援或與我們聯繫,請填寫 Private User Form (商業用戶表單)

祝您使用 Ameba 開發順利!

Hi @Arrow_rick.lee ,

AmebaPro2 的 open-source FreeRTOS SDK 有支援 Ethernet 功能。

有兩種方式可以使用 Ethernet:

1. 原生 EPHY 介面:透過板載 EPHY 直接使用 Ethernet(適用於有 RJ45 連接頭 EVB)。

2. USB CDC ECM(USB 轉 Ethernet):透過 USB Host 介面連接 USB-Ethernet adapter,讓 AmebaPro2 作為 USB CDC ECM host,經由 LwIP stack 進行網路通訊。USB CDC ECM readme

Throughput 測試方式

建議直接使用 AT Command(ATWT)進行吞吐量測試。

測試步驟

1. 確認網路狀態(確認已取得 IP):

ATW?

請確保已關閉PC防火牆

2. TCP Receive(EVB 作為 Server,PC 作為 Client):

EVB 端
ATWT=-s,-i,1

PC 端(iperf)
iperf.exe -c <EVB_IP> -i 1 -t 10

3. TCP Transmit(EVB 作為 Client,PC 作為 Server):

EVB 端
ATWT=-c, <PC_IP>,-t,10,-i,1

PC 端(iperf)
iperf.exe -s -i 1

4. UDP Receive(EVB 作為 Server,PC 作為 Client):

EVB 端
ATWU=-s,-i,-1

PC 端(iperf)
iperf.exe -c <EVB_IP> -i 1 -t 10 -u -b 40m

5. UDP Transmit(EVB 作為 Client,PC 作為 Server):

EVB 端
ATWU=-c, <PC_IP>,-t,10,-i,1,-b,40m

PC 端(iperf)
iperf.exe -s –u -i 1