Closed vk7hse closed 3 years ago
You need to use the latest MMDVM Host to match the new firmware. This was outlined in my announcement on the OpenDV@groups.io mailing list. I have no idea when Pi-Star will support it all.
Ah OK, I'm not subscribed to that list, so I rolled back to the #835ef46 November 2020 where Version.h was bumped and rebuilt and uploaded expecting it to jump back to life, but it's now stuck with a NAK to the SET_CONFIG command. I've powered down the raspberry pi (removed power and reconnected) but the modem seems to be wedged in this condition. Am I missing something obvious? Have I not gone far enough back to still be a version compatible with the pi-star mmdvmhost version? (I realise that is a question directed to pistar!)
I used git checkout for the roll back, was that the correct way? The version of mmdvmhost in pi-star is at 20210617 and it was working just fine until I jumped the gun on this update. I suppose it is time to roll up my sleeves and roll my own mmdvm system to take advantage of the current release and hopefully get the modem talking between mmdvmhost and the Zumradio modem!
Don't worry that little voice in my head is laughing saying that I told you so!
Cheers
After some time away from this it occurred to me that I wasn't going far enough back to when the code was changed to what's needed for the newer modes etc, so incrementally kept going back until it worked. FYI it was a June 2020 commit so all is good and working again...
I have just updated the firmware in two ZumRadio 0.9 boards and they are both no longer responding to MMDVN.
Here's a copy of the mmdvmhost log for one of the repeaters...
I: 2021-10-18 21:50:07.868 MMDVMHost-20210617_PS4 exited on receipt of SIGTERM I: 2021-10-18 21:55:31.442 This software is for use on amateur radio networks only, I: 2021-10-18 21:55:31.442 it is to be used for educational purposes only. Its use on I: 2021-10-18 21:55:31.442 commercial networks is strictly prohibited. I: 2021-10-18 21:55:31.442 Copyright(C) 2015-2020 by Jonathan Naylor, G4KLX and others M: 2021-10-18 21:55:31.442 MMDVMHost-20210617_PS4 is starting M: 2021-10-18 21:55:31.442 Built 16:32:57 Jun 17 2021 (GitID #9106fd6) I: 2021-10-18 21:55:31.442 General Parameters I: 2021-10-18 21:55:31.442 Callsign: VK7RAD I: 2021-10-18 21:55:31.442 Id: 505001 I: 2021-10-18 21:55:31.442 Duplex: yes I: 2021-10-18 21:55:31.442 Timeout: 240s I: 2021-10-18 21:55:31.442 D-Star: enabled I: 2021-10-18 21:55:31.442 DMR: enabled I: 2021-10-18 21:55:31.442 YSF: enabled I: 2021-10-18 21:55:31.442 P25: enabled I: 2021-10-18 21:55:31.442 NXDN: enabled I: 2021-10-18 21:55:31.442 POCSAG: disabled I: 2021-10-18 21:55:31.442 FM: disabled I: 2021-10-18 21:55:31.442 Modem Parameters I: 2021-10-18 21:55:31.442 Port: /dev/ttyAMA0 I: 2021-10-18 21:55:31.442 Protocol: uart I: 2021-10-18 21:55:31.442 RX Invert: yes I: 2021-10-18 21:55:31.442 TX Invert: yes I: 2021-10-18 21:55:31.442 PTT Invert: no I: 2021-10-18 21:55:31.442 TX Delay: 100ms I: 2021-10-18 21:55:31.442 RX Offset: 0Hz I: 2021-10-18 21:55:31.442 TX Offset: 0Hz I: 2021-10-18 21:55:31.442 RX DC Offset: 0 I: 2021-10-18 21:55:31.442 TX DC Offset: 0 I: 2021-10-18 21:55:31.442 RF Level: 100.0% I: 2021-10-18 21:55:31.442 DMR Delay: 0 (0.0ms) I: 2021-10-18 21:55:31.442 RX Level: 100.0% I: 2021-10-18 21:55:31.442 CW Id TX Level: 33.0% I: 2021-10-18 21:55:31.442 D-Star TX Level: 33.0% I: 2021-10-18 21:55:31.442 DMR TX Level: 33.0% I: 2021-10-18 21:55:31.442 YSF TX Level: 33.0% I: 2021-10-18 21:55:31.442 P25 TX Level: 33.0% I: 2021-10-18 21:55:31.442 NXDN TX Level: 33.0% I: 2021-10-18 21:55:31.442 POCSAG TX Level: 33.0% I: 2021-10-18 21:55:31.442 FM TX Level: 50.0% I: 2021-10-18 21:55:31.442 TX Frequency: 438675000Hz (438675000Hz) I: 2021-10-18 21:55:31.442 Use COS as Lockout: no M: 2021-10-18 21:55:31.443 Opening the MMDVM E: 2021-10-18 21:55:44.263 Unable to read the firmware version after six attempts
So, I figured I wonder if there's no longer enough memory to run all the modes including FM &ax25 & M17 so I disabled them in Config.h hoping that would solve the problem, but the modem was still not being picked up by mmdvm. So, the next thing to try was to try each serial speed listed in the Config.h (one at a time of course!) and that didn't make any difference.
this repeater is running the current release of pi-star (Pi-Star:4.1.5 / Dashboard: 20210721) as of writing. Is it possible that the version of mmdvm in pi-star is too old and that's the reason for the modem to not be picked up?