Skip to main content
Explorer
April 25, 2025
Solved

Ethernet tool to analysis

  • April 25, 2025
  • 3 replies
  • 723 views

Hi 

I am trying to communicate via ethernet on STm32f407 board with phy LAN8720. I have used TCP protocol and I have used Hercules for sending and reciving frame. But I want to acheive the operation sung HAL_ETH_Transmit (I want to send raw ethernet frame ).

note: Can you suggest me any tool I can use to analysis Ethernet frame (send and recv.) tool like USB CAN analyzer for CAN .

 B.R

Ash

    This topic has been closed for replies.

    3 replies

    Super User
    April 25, 2025

    @Ash1 wrote:

    any tool I can use to analysis Ethernet frame (send and recv.)


    As I said in your earlier thread, Wireshark is the de facto standard ...

    https://www.wireshark.org/

     

    Nothing specific to STM32.

    Ash1Author
    Explorer
    April 25, 2025

    hi Andrew 

    Can you tell me how I can send a frame via wireshark to my board.

    Note1: I have achieved sending and reception via hercules, But now I want to achieve with raw frame using HAL library directly instead of TCP/UDP protocols and I can see frame on tool and can send frame from tool this was my query (I have tried Wireshark but I am unable to understand how I can send frame to my board ) I hope you got my point?

    Note2: Is it possible whatever I asked you above or using TCP/UDP any protocol is mandatory?

    B.R

    Ash

     

    Technical Moderator
    April 25, 2025

    To my knowledge Wireshark is not intended to send ETH frames but to sniff and scan the network.

    You can use Hercule to send and receive TCP or UDP packets.

    mALLEm_1-1745582399625.png

     

     

    Technical Moderator
    April 25, 2025

    There is also https://packetsender.com/  or Release EchoTool · PavelBansky/EchoTool (github.com). tools motioned in this article: How to create a IPv4 NetXDuo Ethernet UDP application for STM32H5 with TrustZone® enabled

    See the section 12. Testing the application in the article.