2022-06-20 03:53 AM
Hi I am currently working on a project where I have to implement an Ethernet Driver. below is my code.
I am trying to send ARP packets to my directly connected laptop without expecting response (Rx is not used). Code runs without MAC controller and DMA controller giving any error. After "ETH->DMATPDR = 0;" Line DMA even releases descriptor to CPU. However, I cannot see any ARP packets with MAC address that I set for STM32 board. I only see laptop ARP packets. I am using wireshark to capture packets in receving end laptop. I can talk with PHY chip without problem.
Since It doesn't give any errors I couldn't figure it out what is wrong.