Software installation procedure?

503 views
Skip to first unread message

wafi wafi

unread,
May 1, 2021, 4:04:45 AM5/1/21
to Radioberry
Hi Johan and fellow OMs,

Just finished soldering the beta4 board(cut trace under C256), and done a detail visual inspection on each soldering pad. Every 1117 has correct voltage output. And I dont have an oscillator for further checking.

However, when I start the pihpsdr, it shows no device found.  I started over the whole procedure again and still reached the same result.

Here's my procedure, please advice where went wrong. Thanks OMs.

1. Install the Pi OS from Pi Imager(v1.6)
2. Set the configuration as mentioned in wiki
3. wget pihpsdr and run pihpsdr.sh  twice(no error alert)
4. wget stable version of radioberry sw and run radioberry_install.sh
(no matter whether the beta4 board plugged onto RPi4 or not, during the installation it shows a lot of error alert and the most important one is: fatal error: "module radioberry" not found.)
 
Much appreciate again for any advice that can help me to get thru this. 

cheers 73
BH4DTT

pa3gsb

unread,
May 1, 2021, 8:00:32 AM5/1/21
to Radioberry
Hi BH4DTT

Missing your name.


i think you need to install the dev release.


The stable is not that stable with the latest rpi linux release... hi


Please read the check section at the wiki


The device driver is not installed... i think the problem will be visible in the terminal window when installing.

Please  if this direction is not working ;provide the log of the installation progress.

Hope this helps.

73 Johan
PA3GSB

Op zaterdag 1 mei 2021 om 10:04:45 UTC+2 schreef wafi wafi:

wafi wafi

unread,
May 1, 2021, 11:06:34 AM5/1/21
to Radioberry
Thank you Johan,

My name is Jason. 

Just followed your advice restarted from zero. Although there're still the same error messages, at least now it can detect the device when beta4 board is plugged.
Also read and followed the check section and found one thing different.

Here are the screenshot of log. The last pic is the window when running pihpsdr, seems something wrong .

73 Jason
BH4DTT
2021-05-01-221741_1026x654_scrot.png2021-05-01-221844_1021x654_scrot.png2021-05-01-221933_1026x655_scrot.png2021-05-01-222013_1025x656_scrot.png2021-05-01-222100_1025x653_scrot.png2021-05-01-222140_1024x658_scrot.png2021-05-01-222220_1024x656_scrot.png2021-05-01-222249_1025x655_scrot.png2021-05-01-222350_1023x653_scrot.png2021-05-01-221616_1022x623_scrot.png2021-05-01-221704_1026x638_scrot.png

2021-05-01-224848_742x385_scrot.png

2021-05-01-223545_804x508_scrot.png

pa3gsb

unread,
May 1, 2021, 12:37:58 PM5/1/21
to Radioberry
Jason

Thanks for the screen prints.

Now you have the device driver installed! Nice.

gatewversie.JPG


The version of the gateware differs in your report.

This version must be set always right.... what is happening when you are rebooting and restart pihpsdr... does pihpsdr show the gateware version?

sudo systemctl stop radioberry
sudo modprobe -r radioberry
sudo modprobe radioberry
sudo systemctl start radioberry

start pihpsdr   .... gateware version must be there.

Having this set properly means that your clock from AD9866 is there!

This clock must be configured via the SPI (from fpga to ad9866).... check if this is executed?

Can you measure the frequency of pin 53 of the FPGA?

73 Johan
PA3GSB


Op zaterdag 1 mei 2021 om 17:06:34 UTC+2 schreef wafi wafi:

Manfred Brederlow

unread,
May 2, 2021, 3:36:34 AM5/2/21
to Radioberry
Hello Jason,

I built 2 boards and had the same problem with both, as you.
The ground connection between fpga and ad9866 was the problem.
I had to re-solder this several times.
i suspect mechanical tension. 
Even if the circuit board worked at first, it didn't work a day later and I had no gateway display (Gateway = 0-0)

73 Manfred
DB2OJ

wafi wafi

unread,
May 2, 2021, 3:43:44 AM5/2/21
to Radioberry
Hi Manfred, 

At least your device can be found right?  I'm still looking for problems. I used hotplate reflow to sold the board, finished at the first time and checked many times.

73 Jason
BH4DTT

Manfred Brederlow 在 2021年5月1日 星期六下午11:36:34 [UTC-8] 的信中寫道:

wafi wafi

unread,
May 2, 2021, 4:46:25 AM5/2/21
to Radioberry
Hello Johan, 

Thanks for the advice again.

I don't have an oscillator so can't measure the freq of pin 53 of the FPGA, but the voltage of that pin is around 1.67V, as well as pin69 and pin19 of AD9866. Don't know if it's correct.

And followed those commands in sequence where the screenshots are  as following:
2021-05-02-145220_807x567_scrot.png

At first, I input $sudo radioberry right after started pihpsdr as the screenshot shows above, however, it returned Failed to open file
2021-05-02-145340_653x424_scrot.png

After I clicked the device on lo(click START button), and input the command again it shows the status:
2021-05-02-145523_637x387_scrot.png2021-05-02-150232_1072x525_scrot.png

but still no spectrum there.....

2021-05-02-150427_308x194_scrot.png2021-05-02-150531_611x214_scrot.png

Then I tried all over again. And the gateway version changed and screen format too.
2021-05-02-151455_790x412_scrot.png
2021-05-02-151607_799x503_scrot.png
2021-05-02-151749_1347x505_scrot.png2021-05-02-151920_1265x502_scrot.png2021-05-02-152635_1300x515_scrot.png

How about the status of tag "CONF_DONE" of R301 and Pin14 of the FPGA? What status or voltage should be before and after configuration?



pa3gsb 在 2021年5月1日 星期六上午8:37:58 [UTC-8] 的信中寫道:

pa3gsb

unread,
May 2, 2021, 5:13:31 AM5/2/21
to Radioberry
Hello Jason,


Thanks for all the pictures.

The radioberry uses the GPIO pins of the RPI.  You have setup pihpsdr using GPIO.... 




problem1.JPG


Furthermore 

You are not able to measure the clock.... but indeed you are able to check the clock by turning on TX.

problem2.JPG

Your timing is not ok; tx write execute must be fit in around 1000 msec.


sudo systemctl stop radioberry
sudo modprobe -r radioberry
sudo modprobe radioberry
Than in a terminal execute radioberry  ( if you use sudo systemctl start radioberry  ; a radioberry is starting claiming the dev and starting radioberry; you get the message resource busy)

In your pictures this behaviour is as expected and working fine.

Your problem is in the software setup of pihpsdr and maybe a building error....

please first get your pihpsdr setup right.

than check gateware version 

than check the TX timing

Please let us know how it behaves now?

73 Johan
PA3GSB



Op zondag 2 mei 2021 om 10:46:25 UTC+2 schreef wafi wafi:

wafi wafi

unread,
May 2, 2021, 6:11:55 AM5/2/21
to Radioberry
Hello Johan,

Just followed the setup and should be right.
pihpsdr_setup_gpio.png

And the gateware version now all consisted to 7.3

However, the TX timing is still over 1000ms
tx_timing_after exit pihpsdr_1.png
tx_timing_after exit pihpsdr_2.png

And the screen show temp over 80c
and sometimes shows sequence error
20210502_vnc01.png

sorry to troubling you so many times.

73 Jason
BH4DTT

pa3gsb 在 2021年5月2日 星期日上午1:13:31 [UTC-8] 的信中寫道:

pa3gsb

unread,
May 2, 2021, 6:23:25 AM5/2/21
to Radioberry
Jason

The AD9866 seems not to get initialized. This initialisation is done via SPI bus, from FPGA to AD9866.

Please check your soldering.


problem3.JPG


The TX timing indicates the succes or failure of the initialisation.

73 Johan
PA3GSB


Op zondag 2 mei 2021 om 12:11:55 UTC+2 schreef wafi wafi:

Manfred Brederlow

unread,
May 2, 2021, 6:33:47 AM5/2/21
to Radioberry
Hello Jason,

the voltage 1.69V at pin 19 of the AD9866 is OK
I also had the strange behavior as you describe it
with the many attempts to start the program.
There were no further errors with my two boards!
The causes were exclusively the two ground connections !!
Did you re-solder them again ???

73 Manfred
DB2OJ

wafi wafi

unread,
May 2, 2021, 8:37:00 AM5/2/21
to Radioberry
Hi Manfred,

Thanks for your sharing.
I've re-soldered them and check carefully again, every pin connection is good. 

Please advice me where exactly the ground you mention. 
Thanks a lot.

73 Jason
BG4DTT

Manfred Brederlow 在 2021年5月2日 星期日上午2:33:47 [UTC-8] 的信中寫道:

wafi wafi

unread,
May 2, 2021, 8:39:19 AM5/2/21
to Radioberry
Hi Johan,

I've checked and re-soldered those connection but still got the same result.
Maybe I should change another AD9866? >__<

73 Jason
BH4DTT

pa3gsb 在 2021年5月2日 星期日上午2:23:25 [UTC-8] 的信中寫道:

Manfred Brederlow

unread,
May 3, 2021, 3:01:16 AM5/3/21
to Radioberry
Hi Jason,

I don't mean the pins, i mean the back (ground) of the Ics.
This must be 100 percent and perfectly connected to the ground on the circuit board. (through the 5 mm hole in the pcb)
If that is not the case then there are these strange effects
as you described.

73 Manfred
DB2OJ

wafi wafi

unread,
May 3, 2021, 4:47:57 AM5/3/21
to Radioberry
Hello Manfred, 

For those two holes on the back, yes, I did make it 100% connected to the ground. But still the strange effects exists. 
Anyway, I gonna desolder the AD9866 and change another one.

Thanks a lot.

73 Jason
BH4DTT

Yado-san

unread,
May 3, 2021, 1:39:00 PM5/3/21
to Radioberry
Hello Jason,

JL1VNQ's blog shows a case where the AD9866 was replaced and it worked fine.
I hope it will be useful for you.
URL: 
... I hope the translation site gets the correct Chinese!

73 Yado-san
jg1twp
2021年5月3日月曜日 17:47:57 UTC+9 wafi wafi:

Jason Lo

unread,
May 6, 2021, 4:45:40 AM5/6/21
to Radioberry
Hi Yado-san,

Thanks for the reference.
I'm waiting for new AD9866 to come. 
Meanwhile, do you know what were the commands JL1VNQ used to get the rx timing? 

cheers

73 Jason
BH4DTT

Yado-san 在 2021年5月4日 星期二上午1:39:00 [UTC+8] 的信中寫道:

Yado-san

unread,
May 6, 2021, 11:01:49 AM5/6/21
to Radioberry
Hi  Jason, 

That's the HermesLite Emulator that was used in Radioberry 2.0 Bata2.
 And ran the launch.sh script to execute firmwareloader and piHPSD.
https://github.com/pa3gsb/Radioberry-2.x/tree/master/SBC/rpi-3/software/
-               hermes-emulator/* ,  launchradioberry/launch.sh

In the latest version, spi-executed time display when TX only. (push MOX)
However, I think If the display shows about 1000ms in TX, working correctly.

73
Yado-san
jg1twp
2021年5月6日木曜日 17:45:40 UTC+9 Jason Lo:
RX bata2.png
RX TX Spi 1000msec ok.png
Reply all
Reply to author
Forward
0 new messages