PhantomSDR Support Forum

General Category => PhantomSDR Hardware => Topic started by: HB9RYZ on Sep 09, 2024, 05:08 PM

Title: Firmware Version
Post by: HB9RYZ on Sep 09, 2024, 05:08 PM
Hello All
How can I find out the firmware version of my RX888?

I found a Github about the RX888 firmware:
https://github.com/ik1xpv/ExtIO_sddc

73' Wolfgang
Title: Re: Firmware Version
Post by: Bas ON5HB on Sep 09, 2024, 09:27 PM
Why do you want to play with that?
As the links in there will give you the SDK but just for the USB FX3 chip.

As far as I understand is the firmware of the actual receiver loaded with the driver.

The firmware they describe just handles the USB.

Download latest Cypress EZ-USB FX3 SDK, if you make a mistake there, it will render the device useless.
I have downloaded the SDK and it's from Juli 2023, pretty sure the MK2 has this firmware as it's pretty new.

Could be wrong, but I would stay away from messing with this part of your device.
Title: Re: Firmware Version
Post by: linkz on Sep 09, 2024, 10:49 PM
I have installed this ik1xpv/ExtIO_sddc before testing PhantomSDR-Plus on my archlinux.
I could use the RX888 MK2 with SDR++ via SoapySDR module then.
As read, SDR++ team has not publish a "driver" for this device, but it's old news.

Can I ask you the output of dmesg on your machines
[90332.053749] usb 3-4: new high-speed USB device number 9 using xhci_hcd
[90332.194120] usb 3-4: New USB device found, idVendor=04b4, idProduct=00f3, bcdDevice= 1.00
[90332.194122] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[90332.194124] usb 3-4: Product: WestBridge
[90332.194125] usb 3-4: Manufacturer: Cypress
[90332.194125] usb 3-4: SerialNumber: 0000000004BE
[90332.282613] usb 3-4: USB disconnect, device number 9
[90332.557095] usb 4-4: new SuperSpeed USB device number 7 using xhci_hcd
[90332.574475] usb 4-4: New USB device found, idVendor=04b4, idProduct=00f1, bcdDevice= 0.00
[90332.574478] usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[90332.574479] usb 4-4: Product: RX888mk2
[90332.574480] usb 4-4: Manufacturer: sdr prototypes
[90332.574481] usb 4-4: SerialNumber: 0009072C00C71A2D

It's when I start PhantomSDR-Plus, the first "Cypress" loads then the "sdr prototypes" takes over :

Sep 09 23:00:15 archlinkz sh[1319637]: Using OpenCL
Sep 09 23:00:15 archlinkz kernel: usb 4-4: USB disconnect, device number 6
Sep 09 23:00:15 archlinkz sh[1319637]: Using OpenCL platform: NVIDIA CUDA
Sep 09 23:00:15 archlinkz sh[1319637]: Using OpenCL device: NVIDIA GeForce GTX 970
Sep 09 23:00:15 archlinkz sh[1319637]: Markers updated.
Sep 09 23:00:15 archlinkz sh[1319637]: Waterfall is sent every 1 FFTs

Sep 09 23:00:15 archlinkz kernel: usb 3-4: new high-speed USB device number 9 using xhci_hcd
Sep 09 23:00:15 archlinkz kernel: usb 3-4: New USB device found, idVendor=04b4, idProduct=00f3, bcdDevice= 1.00
Sep 09 23:00:15 archlinkz kernel: usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 09 23:00:15 archlinkz kernel: usb 3-4: Product: WestBridge
Sep 09 23:00:15 archlinkz kernel: usb 3-4: Manufacturer: Cypress
Sep 09 23:00:15 archlinkz kernel: usb 3-4: SerialNumber: 0000000004BE

Sep 09 23:00:16 archlinkz kernel: usb 3-4: USB disconnect, device number 9

Sep 09 23:00:16 archlinkz kernel: usb 4-4: new SuperSpeed USB device number 7 using xhci_hcd
Sep 09 23:00:16 archlinkz kernel: usb 4-4: New USB device found, idVendor=04b4, idProduct=00f1, bcdDevice= 0.00
Sep 09 23:00:16 archlinkz kernel: usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 09 23:00:16 archlinkz kernel: usb 4-4: Product: RX888mk2
Sep 09 23:00:16 archlinkz kernel: usb 4-4: Manufacturer: sdr prototypes
Sep 09 23:00:16 archlinkz kernel: usb 4-4: SerialNumber: 0009072C00C71A2D

The device appear two times with 2 different idProduct ID, not sure it's normal


Note that on the raspi4 where ik1xpv/ExtIO_sddc does not compile (most likely because of aarch64) the dmesg is only :
[   54.876930] usb 1-1.2: USB disconnect, device number 3
[   58.656345] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[   58.757266] usb 1-1.2: New USB device found, idVendor=04b4, idProduct=00f3, bcdDevice= 1.00
[   58.757298] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   58.757315] usb 1-1.2: Product: WestBridge
[   58.757330] usb 1-1.2: Manufacturer: Cypress
[   58.757343] usb 1-1.2: SerialNumber: 0000000004BE
Title: Re: Firmware Version
Post by: Bas ON5HB on Sep 09, 2024, 10:59 PM
Ah that is what you mean. But it's normal, as the chip starts as USB2 device to be sure to be recognised.

Then after the firmware is loaded via the driver it switches to USB3.1 as far as I understand it.
I have read this somewhere about the working of this FX3 chip.

My output is the same.

Try connecting it, run dmesg, then run the driver...

See, RX888 connected:

[   86.808196] usb 1-4: USB disconnect, device number 3
[   96.154319] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[   96.302854] usb 1-4: New USB device found, idVendor=04b4, idProduct=00f3, bcdDevice= 1.00
[   96.302863] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   96.302865] usb 1-4: Product: WestBridge
[   96.302867] usb 1-4: Manufacturer: Cypress
[   96.302869] usb 1-4: SerialNumber: 0000000004BE


Now I run the driver/websdr:

[  173.178125] usb 1-4: USB disconnect, device number 6
[  173.459165] usb 2-4: new SuperSpeed USB device number 2 using xhci_hcd
[  173.479914] usb 2-4: New USB device found, idVendor=04b4, idProduct=00f1, bcdDevice= 0.00
[  173.479924] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  173.479926] usb 2-4: Product: RX888mk2
[  173.479928] usb 2-4: Manufacturer: sdr prototypes
[  173.479930] usb 2-4: SerialNumber: 000900270A49140F

This happens as soon as this is running:

./rx888_stream/target/release/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 40000000 -g 60 -m low -r --pga
You can test yourself....and see it happening ;D

Ps. notice the serialnumber also changed!!!!
Ps2. see it like a usb-hub that brings the rest online on the USB-bus...the receiver itself.
Title: Re: Firmware Version
Post by: linkz on Sep 09, 2024, 11:08 PM
Rgr

I've not noted the switch from "high-speed USB device" to "SuperSpeed USB device"
Thx info concerning USB2 > USB3 behaviour from the chip

Regards
linkz
Title: Re: Firmware Version
Post by: Bas ON5HB on Sep 09, 2024, 11:12 PM
That is what it's doing, opening a new 'channel' to let the receiver work at 5GBPS, but maintains the normal 'channel', probably to control or send messages.

I think this is done to prevent USB3 compatibility problems, as not all USB3 ports always behave they way they should.

I have seen devices fail on USB3 ports many times. So starting in USB2 seems a good idea if you ask me.
Title: Re: Firmware Version
Post by: Bas ON5HB on Sep 09, 2024, 11:19 PM
Did you notice the serial-number of the FX3 chip is always the same?

But of the USB3 RX888 mode differs all the time.

Probably to let the 'driver' recognise it and send the bootloader/firmware.

I wonder if you can connect two RX888 to 1 machine as you can't supply a serial or device number, yet the USB2 serial mode is always the same.

Or maybe nobody ever thought anybody would?