francisrstokes / githublog

I'm sick of complex blogging solutions, so markdown files in a git repo it is
743 stars 27 forks source link

Thoughts on "I sent an ethernet packet" #14

Open fabi321 opened 1 week ago

fabi321 commented 1 week ago

First of all, thanks for the post, I enjoyed reading it.

I also recently started sending Ethernet packets, albeit on a lower level. My goal is to get TCP/IP (v6) working on an FPGA. And while everyone tells me that this is stupid, since it would probably be simpler if I just built an arm core into the FPGA, I'm still pursuing it.

Unfortunately, I don't really have that well of an "Gold standard" to compare to, there are bits and pieces on the web, but nothing really complete.

I absolutely share your feelings on bugs. It's such a relief if your error shows up in Wireshark, instead of going somewhere silently, especially since I also have to worry about the sync sequence and Ethernet FCS.

I'm currently at the stage of getting NDP (IPV6 ARP) and ICMP Echo to work, and after redesigning some of my receive logic, everything broke again.

The project is (sadly) not public yet, but I'll probably do so as soon as I have working ICMP Echo.

francisrstokes commented 1 week ago

Hey @fabi321 - that sounds like a great project. Don't listen to people who tell you to do things the easy way; No one ever learned anything that way! (at least when it's a personal project :smile:) I can imagine indeed that an oscilloscope is a much more valuable debugging tool for you!

and after redesigning some of my receive logic, everything broke again.

Yeah that sounds like a lot of my experience with digital logic too haha