Page 2 of 4

Re: Langstone - Portsdown Convergence

Posted: Thu May 21, 2020 6:56 pm
by G1LPS Terry
Just tested tx
SR upto 4000 at 8psk working for me.
contest numbers are also working.
doesnt pick up my station ID. Transmission displays "BATC" instead.
Super to see that it can already TX.

Re: Langstone - Portsdown Convergence

Posted: Fri May 22, 2020 4:03 pm
by G8GKQ
Terry's problem was due to a major bug in the update routine of the Portsdown A27 software. Please do not update your Portsdown on Langstone until I fix it. Later this evening I hope!

Dave, G8GKQ

Re: Langstone - Portsdown Convergence

Posted: Fri May 22, 2020 8:57 pm
by G8GKQ
OK

I have fixed the bug, but you'll need to manually upgrade using the procedure below, or build a new card. My apologies.
  • Start up your Langstone and switch to Portsdown mode.
  • Log in by SSH
  • Paste in the following lines, one at a time:

Code: Select all

cd /home/pi
killall rpidatvgui
wget https://raw.githubusercontent.com/davecrump/portsdown-a27/master/update.sh -O /home/pi/update.sh
chmod +x /home/pi/update.sh
/home/pi/update.sh -d
The Langstone/Portsdown should then update and reboot. You will then be able to perform future updates from the Touchscreen (Menu 3, Check for Updates).

I note that GitHub have been having some difficulties this evening, so you may want to wait until tomorrow to try this.

73

Dave, G8GKQ

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 9:58 am
by G4FKK
Hi Dave,

I've done the manual upgrade. I notice 'Check for Updates'' on M3 has 'Force Update' and 'Dev Update' options. Would it help if I tested one or both of those for you?

73, Martin - G4FKK

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 10:03 am
by i2NDT
ciao Dave,
I updated a few minutes ago and got these warnings:

inflating: longmynd-master/udp.c
inflating: longmynd-master/udp.h
CC main.c
main.c: In function ‘process_command_line’:
main.c:142:17: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(config->status_fifo_path, argv[param], 128);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:152:17: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
strncpy(config->status_fifo_path, argv[param], 128);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:156:17: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
strncpy(polarisation_str, argv[param], 8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:136:17: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
strncpy(config->ts_ip_addr,argv[param++], 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:146:17: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
strncpy(config->status_ip_addr,argv[param++], 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD longmynd
Installing adf4351
cc -Wall -g -O2 -Wno-unused-variable -o adf4351 adf4351.c ctladf4351.c -lm -lrt
-lpthread -lwiringPi
In file included from adf4351.c:75:
adf4351.c: In function ‘adf4350_set_freq’:
adf4351.h:88:44: warning: result of ‘9 << 29’ requires 34 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
#define ADF4350_REG2_NOISE_MODE(x) ((x) << 29)
^~
adf4351.c:405:30: note: in expansion of macro ‘ADF4350_REG2_NOISE_MODE’
ADF4350_REG2_MUXOUT(0x7) | ADF4350_REG2_NOISE_MODE(0x9)));
^~~~~~~~~~~~~~~~~~~~~~~
Installing keyedtx
gcc main.c timer.c -o keyedtx -lwiringPi -lpthread -lrt
gcc main.c timer.c -o keyedtxtouch -lwiringPi -lpthread -lrt
Installing atten
cc -Wall -g -O2 -Wno-unused-variable -o set_attenuator pe4312.c pe43713.c hmc111
9.c set_attenuator.c -lm -lrt -lpthread -lwiringPi

Rebooting
pi@raspberrypi:~ $

Claudio

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 10:11 am
by G8GKQ
Martin - yes please (if you're prepared to rebuild if it all goes horribly wrong!).

Claudio - Thanks, yes they've tightened up the checking on the compiler since those apps were written. No problems, just highlighting slightly less than ideal programming practice. In fact there are a number of other warnings in my parts of the code that that I am working to avoid by improving the code. All normal!

Thanks, Dave

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 10:26 am
by g8gtz
The update went OK for me but still got a blank screen with all of the LongMynd players. Listening GB3AW ;)

Noel

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 10:39 am
by G4FKK
Both update options worked fine - as far as I can tell. No rebuild required :)

I'll plug up the Minitiouner next and do some more playing with Portsdown.

73, Martin - G4FKK

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 11:00 am
by G4FKK
I managed to get a picture from QO100 using the VLC player Noel. There was a strong 333 signal on 10499000. Seems to have gone now.

Martin - G4FKK
g8gtz wrote:
Sat May 23, 2020 10:26 am
The update went OK for me but still got a blank screen with all of the LongMynd players. Listening GB3AW ;)

Noel

Re: Langstone - Portsdown Convergence

Posted: Sat May 23, 2020 11:07 am
by G4FKK
I'm getting the sound from the beacon but no picture.

MER = 6.6 (4.7 needed).

Very wobbly picture but no sound using Mplayer.

Audio but no picture using OMX player.

73 Martin - G4FKK