Author Topic: New Rigol RSA5000 Real Time Spectrum Analyser  (Read 84076 times)

0 Members and 1 Guest are viewing this topic.

Offline IRB

  • Regular Contributor
  • *
  • Posts: 51
  • Country: us
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #200 on: June 27, 2023, 11:57:04 am »
Hello IRB,

Thank you for your feedback.

As I understand, you don't use an Ethernet link but the USB. Right ?

On my side, on the web control page in browser I'm able to use "print screen" button
of the web interface.
Anyway, I'm not able to take control of analyzer by clicking on screen in web browser.
There is always a message on bottom of screen "RESPONSE:NULL".

Are you able to control the RSA with your mouse in the web browser ?
Regards.

Frex


Normal I only use the USB. To try to help I connected the Ethernet, too.

I set up the TCP with a fixed IP to do the testing I noted in the message above, sorry if I wasn't clear.
Yes, I used the web browser called Chrome, and the mouse not the keyboard.

My unit did not go in to RMT until I communicated over the USB.

I was able to send the save screen to the USB drive, I thought that was what you were asking for help with...
 
When using the web browser, my program can not get the screen image, the port is in use by the browser. And vice versa, one has to release the port for the other to run.  I was successful at using my program to get the screen image, I ran my program and connected to the Rigol then I opened the browser, and both are working together.

OK, in the browser I clicked the gears at the to edge of the screen, there you can lock the Keypad and the Touch Screen.
HOWEVER, when I locked the touch screen the browser mouse functions had no affect on the analyzer.   
Also with the keypad locked and the touch screen locked, I had to use the keypad to unlock the keypad first then to unlock the touch screen.

I hope this helps.

I did notice the the "CONNECTED" switches to "NULL" after I click on an option then after it completes the command it returns to "CONNECTED" 
« Last Edit: June 27, 2023, 12:26:39 pm by IRB »
 

Offline IRB

  • Regular Contributor
  • *
  • Posts: 51
  • Country: us
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #201 on: June 27, 2023, 12:53:38 pm »
Frex,

Just a thought .. if you connect the USB, it will put the unit in RMT mode. Then close the program and use the Web Browser.
 

Offline dmz56

  • Newbie
  • Posts: 9
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #202 on: April 08, 2024, 03:40:02 pm »
I want to thank all that have posted here the various ways to hack the RSA.  I want to add my way of enabling all the options on an RSA5000/3000 that I ran into in ghidra:
NOTE: this only works on RSA5000 or RSA3000 series with firmware 3.06.  No other firmware or hardware (such as RSA3000E) is supported.

  • Ensure you're on firmware 3.06.  You can get it from RigolNA site under the RSA model page. (The support page still lists 3.05) On this firmware FTP is enabled, but SSH is disabled.  The root password is "jackalde"
  • ftp to the RSA, download "/mnt/data/license.lic" and store it in a safe place
  • upload the user-config script to /mnt/user/user-config that starts sshd and will start the patched app:
Code: [Select]
#!/bin/sh

echo "Running the custom user-config script"

# Start SSH
/usr/sbin/sshd &

# Find the path of the connected USB disk
# Looks for a file called rsa_run_userapp to run the modified rsa5000 application
USB_DISK=/mnt/user/media/$(ls /mnt/user/media)

cd /mnt/user/
/mnt/app/bin/plctrl spu reset
sleep 3

if [ -f /mnt/user/rsa5000 ]; then
    echo "User-specified rsa5 app exists..."

    if [ -f ${USB_DISK}/rsa_run_stock ]; then
        echo "Stock usb-flag found. Running Running builtin app"
        cd /mnt/app/
        /mnt/app/rsa5000 &
        return 0
    fi
    echo "Stock usb-flag not found. Running user's rsa5000 app"
    /mnt/user/rsa5000 &
    return 0
fi

echo "Running built-in app"
cd /mnt/app/
/mnt/app/rsa5000 &
return 0
  • Make sure to set the execute bits 0755 once the file is uploaded
  • Restart the RSA and SSH to the box
  • Type the following commands to create a patched app in the user directory
Code: [Select]
cp -f /mnt/app/rsa5000 /mnt/user
cd /mnt/user
echo -n -e '\xEA' > 3.06.patch
dd if=3.06.patch of=rsa5000 obs=1 seek=3647727 conv=notrunc
rm 3.06.patch
sync
  • Reboot the RSA and make sure everything still works when running the patched app
  • SSH to the RSA and rename your original license file:
Code: [Select]
cd /mnt/data/
mv license.lic license.bak
sync
  • Upload the following license.lic file to /mnt/data/license.lic
Code: [Select]
VERSION=1.0;OPTION=VNA;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=PA;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=AMK;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=B40;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=EMI;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=EMC;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=BW1;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=B25;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VERSION=1.0;OPTION=VSA;LICENSE=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  • Reboot the RSA and check your options
NOTE: if you mess things (for example by doing a factory reset which will erase your user directory data including the patched app and user-config script) and the app doesn't start (you see the boot progress bar being stuck towards the end for more than 2 min) do not panic.  During boot, the RSA has a hard coded ip address of 192.168.1.10 and FTP still works.  So if you did a factory reset, ftp to that address and restore your license file from the backup you made.
« Last Edit: April 08, 2024, 03:42:17 pm by dmz56 »
 
The following users thanked this post: Stefan3v, radef, eeX86, flamin1q, yl3fk

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1816
  • Country: pt
    • VMA's Satellite Blog
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #203 on: April 08, 2024, 03:49:30 pm »
Great work!  :-+

Offline eeX86

  • Newbie
  • Posts: 2
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #204 on: April 10, 2024, 03:26:41 pm »
Thanks dmz56 for this great guide.

Does this patch also the model type or the maximum frequency capabilities? (going from 1.5 to 4.5GHz)

I was wondering how to view and change the internal FRAM that contains the model.
The kernel driver was always hanging when accessing the device file from the ssh.  |O

Did you ever tried this out ?

Thanks 
 

Offline dmz56

  • Newbie
  • Posts: 9
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #205 on: April 10, 2024, 07:40:27 pm »
Thanks dmz56 for this great guide.

Does this patch also the model type or the maximum frequency capabilities? (going from 1.5 to 4.5GHz)

I was wondering how to view and change the internal FRAM that contains the model.
The kernel driver was always hanging when accessing the device file from the ssh.  |O

Did you ever tried this out ?

Thanks

Unfortunately that's beyond my capabilities.  I did notice that there is functionality in the app to update the model number as well as the serial number into FRAM, so most likely there is an SCPI secret command perhaps even with a secret USB stick trick that would do that, but I wasn't able to figure it out.
« Last Edit: April 10, 2024, 07:45:34 pm by dmz56 »
 

Offline dmz56

  • Newbie
  • Posts: 9
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #206 on: April 10, 2024, 07:41:56 pm »
One other quick note - if you access FRAM and pipe the output to a USB stick it will NOT hang the kernel, but will give you an empty file.  Dzięki.
 

Offline dmz56

  • Newbie
  • Posts: 9
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #207 on: April 10, 2024, 09:51:05 pm »
So there is a MODel? for querying and a MODel for updating SCPI commands.  No idea on the full SCPI path of those commands or what magic is required to invoke them.
 

Offline flamin1q

  • Newbie
  • Posts: 2
  • Country: nl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #208 on: May 01, 2024, 07:41:43 am »
Your guide works perfectly! Thank you so much man! <3
 

Offline diploe-disciple

  • Newbie
  • Posts: 2
  • Country: ie
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #209 on: June 16, 2024, 01:26:50 pm »
Yup, worked for me too - once I realised that the file is called license.lic and not licence.lic!

Thank you for the great summary:-).

DD
 

Offline diploe-disciple

  • Newbie
  • Posts: 2
  • Country: ie
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #210 on: June 16, 2024, 01:39:23 pm »
Is there any news on "upgrading" the RSA3015N to a 3030N?  I gather from posts here and in other threads that it is possible.

I have a bit of spare time at the moment, so if anyone is kind enough to share the secret, then I would be willing to document the procedure.

DD
 
The following users thanked this post: RAPo

Offline gao415517

  • Newbie
  • Posts: 5
  • Country: cn
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #211 on: June 23, 2024, 12:19:24 pm »
RSA5065-TG 主板 v1.01 BU307
« Last Edit: June 30, 2024, 02:24:31 pm by gao415517 »
 

Offline alc-systems

  • Newbie
  • Posts: 1
  • Country: ie
    • ALC Embedded Systems Ltd
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #212 on: July 08, 2024, 08:01:33 pm »
Check your spelling.  Licence is correct spelling, but I think it should be license.lic. 

I spent hours banging my head after making the same mistake! 
 
The following users thanked this post: egonotto, gao415517

Offline dmz56

  • Newbie
  • Posts: 9
  • Country: pl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #213 on: July 09, 2024, 02:38:20 pm »
Make sure your script in /mnt/user has the execute bit set.  If you do "ls -l /mnt/user/user-config" does it show rwxr.xr.x as the attributes?
 

Offline EMC

  • Contributor
  • Posts: 24
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #214 on: July 15, 2024, 03:18:22 am »
Just wondering ... that process ...

https://www.eevblog.com/forum/testgear/new-rigol-real-time-spectrum-analyser/msg5438240/#msg5438240

... makes specific reference to "RSA5000" in several places.   Does the RSA3015E-TG actually use that 5000 path naming or do the RSA5000 references have to be changed to RSA3000.   Please advise if you have successfully completed the process on a RSA3015E-TG.   A screen shot of the instruments options after would be over the top but nice.   Thank you.
 

Offline scottapotamas

  • Contributor
  • Posts: 24
  • Country: au
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #215 on: July 15, 2024, 04:17:59 am »
As mentioned in that post,

Quote
No other firmware or hardware (such as RSA3000E) is supported

The binary edit is specific to the RSA3000 and RSA5000 firmware. The RSA5000 references are because it's the name of the 'app' that these devices run (including the 3k series).
 
The following users thanked this post: EMC

Offline Stefan3v

  • Newbie
  • Posts: 3
  • Country: ro
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #216 on: September 20, 2024, 08:56:27 am »
I don't know how to get "rsa_run_userapp"
Code: [Select]
# Looks for a file called rsa_run_userapp to run the modified rsa5000 application
USB_DISK=/mnt/user/media/$(ls /mnt/user/media)

After upload the "user-config" script to "/mnt/user/" startup progress bar stuck towards the end for more than 2 minutes.  :(
I did not understand what should be put on the USB stick.

Many thanks for help!

L.E: @dmz56 many thanks man! Your guide works after tray again.

Should the script be deleted at the end?
« Last Edit: September 21, 2024, 10:10:56 am by Stefan3v »
 

Offline yl3fk

  • Newbie
  • Posts: 2
  • Country: lv
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #217 on: October 16, 2024, 12:31:04 pm »
Good day.

  I'm a little confused... I created a script (attributes -755), wrote it down via FTP to a directory, downloaded RSA5000-updatefile bin to a flash drive, after restarting RSA, it freezes.  :=\ :=\ :=\  If I remove the script (only for 192.168.1.10), it works. Please tell me what I'm doing wrong  |O |O |O |O ?!
 

Offline Sparky

  • Frequent Contributor
  • **
  • Posts: 462
  • Country: us
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #218 on: October 16, 2024, 05:06:14 pm »
Has anyone updated to the latest firmware 00.03.07.00.01 (release date 2024-07-04)?

Release notes is unclear what is fixed/new/improved:
Code: [Select]
00.03.07.00.01
-Official version
 

Offline selinux

  • Newbie
  • Posts: 2
  • Country: ch
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #219 on: October 23, 2024, 04:38:53 pm »
I don't know how to get "rsa_run_userapp"
Code: [Select]
# Looks for a file called rsa_run_userapp to run the modified rsa5000 application
USB_DISK=/mnt/user/media/$(ls /mnt/user/media)

After upload the "user-config" script to "/mnt/user/" startup progress bar stuck towards the end for more than 2 minutes.  :(
I did not understand what should be put on the USB stick.

Many thanks for help!

L.E: @dmz56 many thanks man! Your guide works after tray again.

Should the script be deleted at the end?

Hi all,

user-config is just a small script with 3 conditions ( -f file, mean if file exist).
  • if /mnt/user/rsa5000 is present (patched firmware) - continue
  • if rsa_run_stock is present (a dummy file) - run /mnt/appp/rsa5000 (stock firmware) and exit
  • run patched firmware and exit
  • else run /mnt/appp/rsa5000 (stock firmware) and exit

/mnt/user/media/$(ls /mnt/user/media)/rsa_run_stock is just a trick to not run patched firmware. Just create a file on your usb stick like that
Code: [Select]
my-computer$ cd /mnt/usb-stick && touch rsa_run_stock

If an usb key is present with a file named rsa_run_stock it will run the stock rom. If a patched firmware is present it will run it. If none of those contidions are met it will boot normally.



 

Offline selinux

  • Newbie
  • Posts: 2
  • Country: ch
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #220 on: October 23, 2024, 05:15:05 pm »
I have a rsa3015n and I haven't been able to extend functionality :(

I put user-config with ftp.
  • while putting user-config execution bits is lost
  • ftp>chmod +x user-config (didn' t work, probably chmod has not all options)
  • ftp>chmod 0755 user-config, works but I had to reboot twice (stock >2min)

After that ssh work fine
Code: [Select]
$ echo jackalde | ssh root@rsa3015n

I then patched rsa5000
Code: [Select]
$ scp root@rsa3015n:/mnt/data/license.lic .
$ scp root@rsa3015n:/mnt/app/rsa5000 .
$ echo -n -e '\xEA' > 3.06.patch
$ cp rsa5000 rsa5000.org && dd if=3.06.patch of=rsa5000 obs=1 seek=3647727 conv=notrunc
$ scp rsa5000 root@rsa3015n:/mnt/user/rsa5000
$ cp license.lic license.lic.org && echo VERSION=1.0;OPTION=VNA;LICENSE=0000000000000000(...) > license.lic
$ scp license.lic root@rsa3015n:/mnt/data/license.lic

After that all licences are enabled but...

It display that options are enabled but I can't have BW beyond 10MHz :(

On this day (10.2024) firmware for rsa5000 is only available in v00.03.07. Does anyone still have the v00.03.06 version ?

 

Online boyie

  • Newbie
  • Posts: 4
  • Country: cn
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #221 on: October 26, 2024, 10:57:28 am »
I have a rsa3015n and I haven't been able to extend functionality :(

I put user-config with ftp.
  • while putting user-config execution bits is lost
  • ftp>chmod +x user-config (didn' t work, probably chmod has not all options)
  • ftp>chmod 0755 user-config, works but I had to reboot twice (stock >2min)

After that ssh work fine
Code: [Select]
$ echo jackalde | ssh root@rsa3015n

I then patched rsa5000
Code: [Select]
$ scp root@rsa3015n:/mnt/data/license.lic .
$ scp root@rsa3015n:/mnt/app/rsa5000 .
$ echo -n -e '\xEA' > 3.06.patch
$ cp rsa5000 rsa5000.org && dd if=3.06.patch of=rsa5000 obs=1 seek=3647727 conv=notrunc
$ scp rsa5000 root@rsa3015n:/mnt/user/rsa5000
$ cp license.lic license.lic.org && echo VERSION=1.0;OPTION=VNA;LICENSE=0000000000000000(...) > license.lic
$ scp license.lic root@rsa3015n:/mnt/data/license.lic

After that all licences are enabled but...

It display that options are enabled but I can't have BW beyond 10MHz :(

On this day (10.2024) firmware for rsa5000 is only available in v00.03.07. Does anyone still have the v00.03.06 version ?

Does anyone still have the v00.03.06 version ? :popcorn:
 

Offline yl3fk

  • Newbie
  • Posts: 2
  • Country: lv
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #222 on: October 28, 2024, 02:28:10 pm »
Hello.

===> 00.03.06

RSA3000 (note 3)     00.03.06      Release Notes


[Model Supported] RSA5065,RSA5065-TG,RSA5065N
                                RSA5032,RSA5032-TG,RSA5032N
                                RSA3015N,RSA3030,RSA3030-TG,RSA3030N
                                RSA3045,RSA3045-TG,RSA3045N

[Latest Revision Date] 2022-08-1


[Updated Contents]

00.03.06

   - Solve the hardware replacement problem of display and touch screen
   - Solve the problem of continuous click web screenshot device crash

[Previous Versions and Updated Contents]

00.03.05

   - Fix some bugs
   - Add screenshot feature in  Web Control
   - Add SCPI error query command
   - Add capacitance or inductance value display in VNA's R+jX and G+jB mods
   - Add continuous minimum value point search in GPSA mode
 

Offline TheOriginalFreddoFrog

  • Newbie
  • Posts: 1
  • Country: au
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #223 on: November 04, 2024, 04:30:39 am »
Hi Folks,

I have come across a RSA3015N and have been examining the posts here (for quite some time) ....

# Find the path of the connected USB disk
# Looks for a file called rsa_run_userapp to run the modified rsa5000 application
USB_DISK=/mnt/user/media/$(ls /mnt/user/media)

Yet I am missing something somewhere ... a patched Firmware file on USB that enables the SSH server.

Can someone please offer constructive advice on how to patch the files (that need be on the USB disk) so that we can at least bring up a SSH console?

Regards,

FF

 

Online RAPo

  • Frequent Contributor
  • **
  • Posts: 858
  • Country: nl
Re: New Rigol RSA5000 Real Time Spectrum Analyser
« Reply #224 on: November 04, 2024, 02:07:48 pm »
I tried but failed. Not at the point of SSH-server (that is handled by installing firmware 3.06) but this part:

  if [ -f ${USB_DISK}/rsa_run_stock ]; then
        echo "Stock usb-flag found. Running Running builtin app"
        cd /mnt/app/
        /mnt/app/rsa5000 &
        return 0
    fi

always runs on my RSA3015N.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf