FPGA programming to change the UDP port number

109 views
Skip to first unread message

Ken Milnes

unread,
Aug 14, 2025, 11:15:12 AMAug 14
to herme...@googlegroups.com
I want to re-program the FPGA with a different port number other than port 1024. The purpose is to have more than one Hermes Lite 2 on the same network.

Does anybody know what .v file the port number is assigned?

Also, what Quartus project file should use for the default production load for the Hermes Lite 2?

Thank you,

Ken Milnes - AI7LF

Luke Williams

unread,
Aug 14, 2025, 11:30:07 AMAug 14
to Ken Milnes, herme...@googlegroups.com
Ken,

Changing port number is not required to have more than one HL2 on the same network. They will each need their own ethernet mac and IP address (and actually would anyway even if you used different port numbers).

You will need to change the board ID so that they don't try to use the same ethernet mac address. Once that is done, you can set reservations in your router for each of the units or you can manually set the IP address. I would suggest SparkSDR for setting the ID and I would also suggest setting all units to a custom ID so that you can reflash the gateware on any one of them in the future and if it comes up using the default, it won't kill one of the others. This will also allow you to add an additional HL2 in the future and not have a conflict during the setup process.

73,
Luke - AE5AU



--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hermes-lite/81503D81-EC85-46E3-8F67-63C2D99245CB%40milnes.tv.

ron.ni...@gmail.com

unread,
Aug 14, 2025, 1:20:46 PMAug 14
to Hermes-Lite
One can use 2 HL2's on the same LAN if they have two different IP address, even if both use the same port number.  If you configure different MAC addresses on one or both of the HL2's (via the hermeslite.py python utility), then network routers will assign them different IP addresses via DHCP.  If you need a different port number than 1024 for some other reason (firewall blocking that port for instance), then you can colocate the HL2 with a Raspberry Pi, and use hl2_relay (available from GitHub) to buffer Protocol 1 UDP data between two different port numbers. 73, Ron, n6ywu
Reply all
Reply to author
Forward
0 new messages