FPGA not responding: 0xffff


Installed http://kiwisdr.que4.org:8073/ in ~2017 and has been running nicely until a few days ago.

Followed John's advice on rebuilding from August 2024:

....I think I see what's going on.

Since you have shell access to Debian/Linux maybe the easiest way is for you to do a manual update as opposed to figuring out how to setup router port forwarding. So try this procedure.

First, login as debian/my_serialnumber as you did before. The do a "sudo su" and use my_serialnumber again as the root password. Then use this command sequence:

cdp (changes to the directory /root/Beagle_SDR_GPS)

msd (stops the Kiwi server running; this command takes some time)

gup (updates the sources from Github to the latest version)

mc (clean up in preparation for build)

m (build -- takes 15 to 30 minutes)

mi (installs built system)

ku (restarts server after build)

60 seconds or so after the "ku" finishes the system should be working. Your DX label changes should not be affected....

....


So, ssh'd in and ran cdp; msd; gup; mc; m; mi; ku and the build looks good.

But got seeing this in the syslogs:

Jan 7 20:41:28 kiwisdr kiwid[19450]: Start kiwid: OK

Jan 7 20:41:28 kiwisdr kiwid[19450]: Tue Jan 7 20:41:28 UTC 2025

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.025  KiwiSDR v1.800 --------------------------------------------------------------------

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.029  compiled: Jan 7 2025 18:53:47 on kiwisdr

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.032  /etc/debian_version 8.5

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.032  Mongoose 5.6

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.113  reading configuration from file /root/kiwi.config/kiwi.json: 591 tokens (7.4k bytes)

Jan 7 20:41:28 kiwisdr kiwid: 00:00:00.116  reading configuration from file /root/kiwi.config/admin.json: 145 tokens (3.8k bytes)

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.504  EEPROM check: old format serial_no compatibility 13590 => 3590

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.507  serial number from EEPROM: 3590

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.510  model: KiwiSDR 1

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.510  reading configuration from file /root/kiwi.config/dx_config.json

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.511  reading configuration from file /root/kiwi.config/dx.json

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.538  DX: 872 label entries

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.542  DX: file = 872,db6868b3,52120

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.546  reading configuration from file /root/kiwi.config/dx_community_config.json

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.546  reading configuration from file /root/kiwi.config/dx_community.json

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.571  DX: 895 label entries

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.574  DX: file = 895,0898b73f,53552

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.578 ....   firmware: SDR_RX4_WF4

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.578 ....   firmware: rx_chans=4 rx_wb_buf_chans=4 wb_chans=0 wf_chans=4 gps_chans=12

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.578 ....   firmware: RX rx_decim=5556 RX1_DECIM=926 RX2_DECIM=3 USE_RX_CICF=1

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.579 ....   firmware: RX rx_srate=11998.902(12000) wb_srate=0 bufs=4 samps=170 loop=85 rem=0 intr_usec=14166

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.579 ....   firmware: WF xfer=9 samps=911 rpt=50 loop=18 rem=11

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.579 ....   webserver: listening on port 8073/8073 for HTTP connections

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.579 ....   webserver: OK, port [::]:8073

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.829 ....   ### open SPI_DEV /dev/spidev1.0

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.832 ....   SPIDEV: max_speed 48000000 bpw 32

Jan 7 20:41:29 kiwisdr kiwid: 00:00:00.835 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:29 kiwisdr kiwid: 00:00:01.000 ....   firmware: /usr/local/bin/KiwiSDR.rx4.wf4.bit 32559

Jan 7 20:41:30 kiwisdr kiwid: 00:00:01.761 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:30 kiwisdr kiwid: 00:00:01.874 ....   FPGA not responding: 0xffff

Jan 7 20:41:30 kiwisdr kiwid: 00:00:01.977 ....   SPIDEV: spi_mode 0x1|0x1

Jan 7 20:41:30 kiwisdr kiwid: 00:00:02.089 ....   FPGA not responding: 0xffff

Jan 7 20:41:30 kiwisdr kiwid: 00:00:02.192 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:30 kiwisdr kiwid: 00:00:02.304 ....   FPGA not responding: 0xffff

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.407 ....   SPIDEV: spi_mode 0x1|0x1

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.520 ....   FPGA not responding: 0xffff

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.623 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.736 ....   FPGA not responding: 0xffff

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.839 ....   SPIDEV: spi_mode 0x1|0x1

Jan 7 20:41:31 kiwisdr kiwid: 00:00:02.952 ....   FPGA not responding: 0xffff

Jan 7 20:41:31 kiwisdr kiwid: 00:00:03.055 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:31 kiwisdr kiwid: 00:00:03.169 ....   FPGA not responding: 0xffff

Jan 7 20:41:31 kiwisdr kiwid: 00:00:03.273 ....   SPIDEV: spi_mode 0x1|0x1

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.385 ....   FPGA not responding: 0xffff

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.488 ....   SPIDEV: spi_mode 0x0|0x0

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.600 ....   FPGA not responding: 0xffff

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.703 ....   SPIDEV: spi_mode 0x1|0x1

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.816 ....   FPGA not responding: 0xffff

Jan 7 20:41:32 kiwisdr kiwid: 00:00:03.819 ....   FPGA panic: code=6 FPGA not responding to ping1



Now stuck and site does not come up.

....Executing /usr/sbin/update-rc.d kiwid enable

make[2]: Leaving directory '/root/KiwiSDR'

================

make_install_binary DONE

make[1]: Leaving directory '/root/KiwiSDR'

root@kiwisdr:~/KiwiSDR# ku

systemctl --full --lines=250 stop kiwid.service || true

systemctl --full --lines=250 start kiwid.service || true

root@kiwisdr:~/KiwiSDR# 



Thoughts? Is the FPGA broken?

Thanks, Cal


Chicago IL -  773-294-3368 - cthixton @ gmail.com 

Comments

  • Yeah, that's not good. Try a full power cycle where it stays powered off for a good 30 seconds or so. We've seen a few come good after doing that (reason unknown).

    If you're able, the other thing would be to check voltages and clocks on the Kiwi board as mentioned in the troubleshooting guide: Troubleshooting guide

  • The other thing worth trying is re-flashing the Kiwi from the current Debian 11 image since it looks like your Kiwi is still running Debian 8.5. That should have no bearing on the FPGA issue, but D8 is so old I don't trust it at all these days.

    Re-flash instructions here: http://kiwisdr.com/info/#id-net-reflash

  • jksjks
    edited January 7

    That LED pattern also means FPGA not responding: http://kiwisdr.com/info/#id-fpga

    I would try a Debian 11 image re-flash first. Then check voltages/clocks.

  • Currently, this Kiwi is working again. So maybe an intermittent hardware problem (e.g. flakey ADC/GPS clock etc). Still Debian 8.5 and v1.800

Sign In or Register to comment.