Re: Update 18th Jan
Posted: Mon Jan 20, 2020 7:17 am
Amateur radio firmware for the GD-77, GD-77S, DM-1801, DM-1801A, RD-5R, MD-9600/RT-90, MD-UV380/RT-3S, DM-1701/RT-84 and MD2017/RT-82 radios
https://www.opengd77.com/
Thanks for responding Daniel. I understand CAST and Nextion can't be used at the same time. I have the Nextion Driver instaled and I am using AMA0 on the Pi for the serial IO to the Nextion because there is no HAT on the Pi. I can switch between CAST and Nextion but the 0x80 error comes up when I switch to Nextion and goes away on CAST. Even if I revert back to the stock Andy Taylor files they continue. I never noticed if they were there all along before I added your files. I checked and the Nextion port is /dev/ttyNextionDriver and the Nextion Driver port is /dev/ttyAMA0F1RMB wrote: ↑Mon Jan 20, 2020 5:54 amHi,W1RHS wrote: ↑Mon Jan 20, 2020 4:47 amAfter installing Daniel's files everything seems to work fine. If I select CAST the GD77 displays as expected. If I return to my Nextion screen the live log displays a continuous stream of these:
W: 2020-01-20 04:44:40.369 Received a NAK from the MMDVM, command = 0x80, reason = 1
If I run the command to return to the stock files the behavior in the log continues.
Serial passthrough (command 0x80, aka Nextion), isn't supported (you can't connect your nextion on the GD77 ).
So, check if you selectect the right serial port in Pi-Star's configuration.
Cheers.
Well, I never used the NextionDriver. AFAIR, it's doing some tweaking at installation time.W1RHS wrote: ↑Mon Jan 20, 2020 3:09 pm
Thanks for responding Daniel. I understand CAST and Nextion can't be used at the same time. I have the Nextion Driver instaled and I am using AMA0 on the Pi for the serial IO to the Nextion because there is no HAT on the Pi. I can switch between CAST and Nextion but the 0x80 error comes up when I switch to Nextion and goes away on CAST. Even if I revert back to the stock Andy Taylor files they continue. I never noticed if they were there all along before I added your files. I checked and the Nextion port is /dev/ttyNextionDriver and the Nextion Driver port is /dev/ttyAMA0
When I bypass the NextionDriver and make the Nextion port point directly to /dev/ttyAMA0 the errors stop.
Thanks!
Rick, W1RHS
Sure. I will send in a PM so as not to fill up this thread.F1RMB wrote: ↑Mon Jan 20, 2020 3:21 pmWell, I never used the NextionDriver. AFAIR, it's doing some tweaking at installation time.W1RHS wrote: ↑Mon Jan 20, 2020 3:09 pm
Thanks for responding Daniel. I understand CAST and Nextion can't be used at the same time. I have the Nextion Driver instaled and I am using AMA0 on the Pi for the serial IO to the Nextion because there is no HAT on the Pi. I can switch between CAST and Nextion but the 0x80 error comes up when I switch to Nextion and goes away on CAST. Even if I revert back to the stock Andy Taylor files they continue. I never noticed if they were there all along before I added your files. I checked and the Nextion port is /dev/ttyNextionDriver and the Nextion Driver port is /dev/ttyAMA0
When I bypass the NextionDriver and make the Nextion port point directly to /dev/ttyAMA0 the errors stop.
Thanks!
Rick, W1RHS
Do you mind to share your /etc/mmdvmhost file (when it's configured for NextionDriver) ?
Cheers.
---
Daniel
Ah, yes, looks strange. I've downloaded the NextDriverInstaller, and used NextionDriver_ConvertConfig script on my mmdvmhost config file. [Transparent Data] is not enabled.
Just a wild guess, did you installed the NextionDriver after selecting the CAST driver ?