rbanasik wrote:laurencebarker wrote:We are in the process of changing the firmware, p2app and piHPSDR to work with enlarged FIFO buffers in the FPGA. Debug code has identified that we were stalling the software waiting for a speaker FIFO to empty. Hopefully a combination of enlarged buffers and a different way for the software to transfer data will fix that.
Yes, I noticed the GUI activity can cause lost data problems with Thetis too. As at today it is very stable - no lost data packets - in normal operation at FS=1536KHz with one receiver; if RX2 is enabled a tiny amount of data may be lost.
2 receivers at 384KHz is at the upper end of what I'd expect from piHPSDR, I consider that to be success. Hopefully in a few months there will be news of a pi5 compute module.
Hi Laurence.
I just wanted to confirm that the following update script is still applicable. I used it successfully earlier but heard there is another update available.
Is the following ok?
Thanks - Bob, Ki1n
cd ~/github/Saturn
git pull
cd sw_projects/P2_app
make clean
make
cd ../audiotest
make clean
make
cd ~/github/pihpsdr
git pull
make clean
make
Then run the "flashwriter" app. The program may already be installed onto your linux desktop. If not you can run it simply from a linux command prompt. Open a command window then type:
cd ~/github/Saturn/sw_tools/flashwriter
./flashwriter
click open file
navigate to the file ~/github/Saturn/FPGA
select file saturnprimary.bin
makes sure the Primary radio button is selected
click Program
(DO NOT click Erase Device of select Fallback!)
You will get progress shown in the window; it will go through erase, program and verify steps then report success at the end.
Shut your G2 down, power off and back on; it will now run the new FPGA code and will load the new p2app.
-- Bob - Ki1n
I would suggest some slight changes, doing a "make clean" on everything before git pull
cd ~/github/Saturn/sw_projects/P2_app
make clean
cd ~/github/Saturn/sw_projects/audiotest
make clean
cd ~/github/Saturn
git pull
cd sw_projects/P2_app
make
cd ../audiotest
make
cd ~/github/pihpsdr
make clean
git pull
make
to reflash the FPGA:
FPGA firmware files are named saturnprimaryxxxxVyy.bin and will be in the saturn/FPGA folder
xxxx should be the approximate year of release
yy should be the version number
ignore the “.prm” files. A .bin file should be around 9.3Mbytes in size.
Run the flashwriter desktop application
Click Open File, navigate to the correct .BIN file and click open
The BIN filename will now be displayed
Ensure the buttons are set to Primary
Click Program
The device will be programmed, and progress will be shown on the display.
(DO NOT click Erase Device or select Fallback!)
You will get progress shown in the window; it will go through erase, program and verify steps then report success at the end.
The radio will need to be powered completely off and back on to load from the new .BIT file.