PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Digital ATV - The latest generation, cutting edge ATV - Please discuss it all here.
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.

Thank you
G4EWJ
Posts: 1442
Joined: Wed Feb 17, 2010 10:11 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by G4EWJ » Fri Nov 29, 2024 6:15 pm

The reason for the NAK should be shown between the (). Are you able to capture the DHCP packets on ports 67 and 68 with something like WireShark and post the file please. Which router are you using?

Brian

SQ6EMM
Posts: 4
Joined: Thu Nov 28, 2024 10:29 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by SQ6EMM » Fri Nov 29, 2024 6:53 pm

I catched them.
It seems that for some reason PicoTuner when sending DHCP REQUEST (AFTER DISCOVER and OFFER) is not sending DHCP Option 54 (Server Identification)

If you want I can of koz provide pcap file.

I use Mikrotik (I have +50 devices in my network almost all using DHCP and working with no issues).

I also tried to compile and use your PicoTuner code from Ethernet branch from github... but its not starting properly... So I missed something maybe?

G4EWJ
Posts: 1442
Joined: Wed Feb 17, 2010 10:11 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by G4EWJ » Fri Nov 29, 2024 8:01 pm

Can you email the capture file to me please. I will try to do a new software version over the weekend with option 54.

My PicoTuneWH software is not on GitHub, so I do not know what you downloaded.

Brian

SQ6EMM
Posts: 4
Joined: Thu Nov 28, 2024 10:29 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by SQ6EMM » Fri Nov 29, 2024 8:13 pm

I tought its:

https://github.com/g4eml/PicoTuner/tree/Ethernet (now I see its not your callsign;P)

and here is attached pcap file.
Attachments
dump.zip
(2.59 KiB) Downloaded 15 times

G4EWJ
Posts: 1442
Joined: Wed Feb 17, 2010 10:11 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by G4EWJ » Fri Nov 29, 2024 9:15 pm

:)

Thanks.

Brian

g4eml
Posts: 728
Joined: Thu Apr 26, 2018 9:36 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by g4eml » Sat Nov 30, 2024 12:20 am

The Ethernet branch of the Picotuner repository is not finished. I stopped developing it when Brian released his version. I will probably remove the branch at some point.

Colin G4EML

sp9acq
Posts: 3
Joined: Mon Nov 11, 2024 1:30 pm

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by sp9acq » Tue Dec 03, 2024 9:50 am

g4eml wrote:
Sat Nov 30, 2024 12:20 am
The Ethernet branch of the Picotuner repository is not finished. I stopped developing it when Brian released his version. I will probably remove the branch at some point.

Colin G4EML
Colin,
I strongly recommend to develop it further. Analyzing your code, I was in shock how many power you get from this tiny chip.
It is very usefull for me (I learn something new - the power of Open Source).
73
Adam

sp9acq
Posts: 3
Joined: Mon Nov 11, 2024 1:30 pm

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by sp9acq » Tue Dec 03, 2024 9:56 am

G4EWJ wrote:
Fri Nov 29, 2024 6:15 pm
The reason for the NAK should be shown between the (). Are you able to capture the DHCP packets on ports 67 and 68 with something like WireShark and post the file please. Which router are you using?

Brian
Hi Brian,

may I ask for two version of PTWH?
I have to change (must every time changing settings) port for one Pico from 9900 to 9904 to communicate on the same network.
73
Adam

G4EWJ
Posts: 1442
Joined: Wed Feb 17, 2010 10:11 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by G4EWJ » Tue Dec 03, 2024 12:51 pm

I'm still working on a version of PicoTuneWH that can save settings to flash.

You can set the PicoTunerWH to be address 9904 at bootup, by making a connection on the 10 pin header. See:

https://wiki.batc.org.uk/PicoTuner_Ethe ... Throughput

Brian

G4EWJ
Posts: 1442
Joined: Wed Feb 17, 2010 10:11 am

Re: PicoTuneWH - firmware for the PicoTuner with a Pico Ethernet module.

Post by G4EWJ » Thu Dec 05, 2024 5:04 pm

The DHCP problem that SQ6EMM had with the Microtik router was solved as expected by making PicoTuneWH send the IP address of the router in option 54 in the DHCP REQUEST.

Contact me for a fix if you have a problem with this router.

Brian

Post Reply

Return to “DATV - Digital ATV”