Author Topic: Rigol DP900 / DP2000 Series Hack -  (Read 17887 times)

0 Members and 1 Guest are viewing this topic.

Offline Userli

  • Regular Contributor
  • *
  • Posts: 72
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #25 on: July 13, 2023, 09:46:58 am »
Glad it works!
Do you know if the high sampling rate also works for Ch3?
If I might ask, could you take some pictures of the connectors for the remote connections on the back and possibly measure the pitch? I assume those are also Würth connectors https://www.we-online.com/en/components/products/em/connectors/terminal_blocks/pluggable_connector_contbl3 but they exist in different pitches (5mm and 5.08mm).
« Last Edit: July 13, 2023, 10:21:08 am by Userli »
 

Offline KrzysztofB

  • Regular Contributor
  • *
  • Posts: 96
  • Country: pl
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #26 on: July 13, 2023, 10:37:40 am »
Digital I/O connector is 5pin 3.81mm pitch
CH3 is 4pin 5mm pitch, CH1/2 is 8 pin

Actually after checking 8 pin CH1/2, i think it's more 5.08mm
But those are nearly identical. (7x0.08mm) 0.56mm over 8 pin connector wouldnt make any difference

Manual states:
DP2000 series power supply provides three preset current sampling rate options for
CH1 and CH2.
Tap CurrSampRate drop-down button to select 3.75K SPS, 7.5K SPS, or 29 SPS.
« Last Edit: July 13, 2023, 10:57:31 am by KrzysztofB »
 
The following users thanked this post: Userli

Offline manupthehills

  • Contributor
  • Posts: 40
  • Country: us
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #27 on: July 13, 2023, 06:11:00 pm »
Slightly OT:
We have two DP932A, from the front panel they were showing FW 01.00.01, so I upgraded one with the latest FW available (that should be 01.00.21).
Now the display shows 00.00.01. Very interesting.
So I connect them to the PC, and the firmware shown is:
- 01.00.01.00.16 for the stock one
- 00.00.01.00.21 for the upgraded one

Please note the 01 at the beginning of the stock one. Which one is the latest?? What is the first 01 meaning?
Anyone found a revision history for these FW?

Thanks!
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3221
  • Country: pt
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #28 on: July 13, 2023, 10:15:20 pm »
I think that 01 means "Beta" FW. Not for release.
 
The following users thanked this post: manupthehills

Offline Userli

  • Regular Contributor
  • *
  • Posts: 72
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #29 on: July 16, 2023, 09:29:25 am »
I investigated the possibility to add remote sensing to the DP900 series. The cut outs in the housing exist, so it would be easy to add the connectors.
On the PCB it looks like mainly 3 relays with their periphery would need to be added. I was able to deduce the relay driver components from other relays on the board (see attached image) but not the ones in the signal path. Unfortunately the resolution of the DP2031 images is not sufficient to see the component values in this region.
@KrzysztofB if you still have the original of your board images, would you mind to post a highres version of the region corresponding to the attached image? It's on the top PCB.
1828936-0
 
The following users thanked this post: thm_w, BC547B

Offline KrzysztofB

  • Regular Contributor
  • *
  • Posts: 96
  • Country: pl
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #30 on: July 16, 2023, 08:10:57 pm »
Can make those on Monday
 
The following users thanked this post: Userli

Offline Userli

  • Regular Contributor
  • *
  • Posts: 72
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #31 on: August 03, 2023, 07:49:36 am »
I populated the parts required for switching to remote sensing but somehow can't make it switch. The panel will indicate that it is using 4 wires but the signal to the relay doesn't get set. The line for this signal originates from the IC on the attached picture. Does anybody know, what it is? I can't find any information about it, so I assume it is a custom chip? It also handles the ADC signals.
1843408-0
« Last Edit: August 03, 2023, 07:51:21 am by Userli »
 

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 6663
  • Country: hr
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #32 on: August 03, 2023, 08:32:11 am »
Hercules Microelectronics HME-H3 FPGA
 
The following users thanked this post: Userli

Offline ArcticGeek

  • Regular Contributor
  • *
  • Posts: 99
  • Country: us
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #33 on: August 15, 2023, 09:37:53 pm »
@userli @xoff

Sorry for my ignorance, but can give me some more info on how you are changing this test.dll file?  How are you accessing the file system on the power supply?

I have a DP932E on order, and if I can convert this to the DP932A it would be super cool (it won't arrive until sometime in Sept)

I'm a bit of a hardware bigot, so I'm a bit of a fish out of water when it comes to software stuff, but with some good instructions I can probably manage.
Thanks,
 

Offline MaTkEOxjC

  • Contributor
  • Posts: 27
  • Country: at
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #34 on: September 04, 2023, 06:55:34 pm »
Very nice, also upgraded my DP932E to a (almost) DP932A with Arb, HighRes, Monitor, DigitalIO

Replaced test.dll with the file from here;
The model is encrypted and hidden in the file /mnt/app/private/test.dll .
I created the attached file, which hopefully changes the model to DP932A and does not break anything else.
Make a backup and use at your own risk.

Got the SousaMain file, patched it and uploaded it again via SCP
A small change to enable the monitoring option. I only gave it a quick try. There might be a reason, why you can't buy the option currently. Use at your own risk!

Apply the attached patch to the version 21 SousaMain file (MD5: 4a0c633eadc7c0f7009a464a16d35747). After patching the MD5 should be fd14f9a93f4310ccbe8b9171ff4ebf25   .

SSH Password is Rigol001 (already posted by another user)

Kinda interesting that the DP932A is specified with 32V for Ch1&2 and DP932E is specified with 30V
 

Offline MaTkEOxjC

  • Contributor
  • Posts: 27
  • Country: at
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #35 on: September 04, 2023, 07:11:57 pm »
Sorry for my ignorance, but can give me some more info on how you are changing this test.dll file?  How are you accessing the file system on the power supply?

You can use SCP (secure copy) to transfer the files.
I'm using a Linux laptop for that, you need to look for a ssh/scp tool on your OS.
It's located in /mnt/app/private/test.dll

So your command would be: (you need to adapt the IP of the device and the local target directory.
$ scp root@192.168.XXX.XXX:/mnt/app/private/test.dll ./local_target/directory
$ scp ./local_source_directory/text.dll root@192.168.XXX.XXX:/mnt/app/private/

Always make backups and save the previous states.
Only restart when everything has been changed.

 
The following users thanked this post: thm_w

Offline ArcticGeek

  • Regular Contributor
  • *
  • Posts: 99
  • Country: us
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #36 on: September 05, 2023, 08:23:30 pm »
Thanks for the reply.

I'm still wondering how you are accessing the file system from your laptop. 

My assumption is that you are connecting is serial cable from the laptop to the power supply and using SSH to establish the connection - is that right?   What baud rate/parity/stop bit setting are you using for this?

Or am I way off base in my assumption and I would need to do something else?
 

Offline Quarren42

  • Newbie
  • Posts: 1
  • Country: us
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #37 on: September 13, 2023, 03:58:29 pm »
Or am I way off base in my assumption and I would need to do something else?

The power supply has an Ethernet port in the rear, which you connect to in order to SSH into it. It'll auto-configure the IP address, which you can find in the power supply menus. You'll then SSH with username "root" and password "Rigol001" and can follow the commands MaTkEOxjC posted.

Worth mentioning that I did this on windows and the scp command didn't work for me, but I still got the files over by using a flash drive inserted in the front USB port. The flash drive will mount to /mnt/UDISK (may be EX_UDISK, not currently at bench to verify) which you can then copy the files off of using the cp or mv command when SSH'd into the power supply.
 

Offline bobo1239

  • Newbie
  • Posts: 2
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #38 on: October 02, 2023, 03:21:20 pm »
My newly arrived DP932E (calibrated on 2022-12-02) didn't have a /mnt/app/private/test.dll (just a test2.dll which is different). The hack still worked though so just a PSA.
 

Offline PeterB

  • Newbie
  • Posts: 1
  • Country: be
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #39 on: October 02, 2023, 06:27:54 pm »
Somewhere in the thread the following is written:
"Kinda interesting that the DP932A is specified with 32V for Ch1&2 and DP932E is specified with 30V"

Can anyone confirm that when applying the hack to a DP932E, the range moves from 30V to 32V, or does it just stay at 30V.
If the latter, it makes me wonder whether there are minor HW differences on the DP932E compared to the DP932U/DP932A which limits the range on the DP932E to 30V.
 

Offline bobo1239

  • Newbie
  • Posts: 2
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #40 on: October 02, 2023, 08:17:36 pm »
My stock DP932E was able to reach 31.50 V before the firmware would refuse to go further. After the hack the limit is 33.600 V.
« Last Edit: October 02, 2023, 08:30:58 pm by bobo1239 »
 

Offline ToThePub

  • Contributor
  • Posts: 28
  • Country: au
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #41 on: October 02, 2023, 11:57:33 pm »
Interesting. I have a DP832 (yes different to the DP900/DP2000, it's fully unlocked) and the firmware (which is unmodified/unpatched) allows setting 32V/3.2A on the high outputs and 5.3V/3.2A on the low output.
Documented (and marked on the front of the machine) specs are 30V/3A and 5V/3A.

So it seems Rigol have previous allowed their power supply to "overclock" a little.
 

Online LogicalDave

  • Regular Contributor
  • *
  • Posts: 94
  • Country: us
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #42 on: October 13, 2023, 07:33:45 pm »
Has anyone tested the current measurement accuracy of the hacked HIRES feature? 
The 932E is priced attractively but seems to be a broken 932A (1mA current resolution but worse than 10mA accuracy is just silly and not having a sense input is odd for a PS at this price-point).
Also, are any of the DP power supplies silent (fan not running) under light load?
Thanks!
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6389
  • Country: ca
  • Non-expert
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #43 on: October 13, 2023, 10:29:06 pm »
Has anyone tested the current measurement accuracy of the hacked HIRES feature? 
The 932E is priced attractively but seems to be a broken 932A (1mA current resolution but worse than 10mA accuracy is just silly and not having a sense input is odd for a PS at this price-point).
Also, are any of the DP power supplies silent (fan not running) under light load?
Thanks!

The datasheet accuracy spec is 0.15%+5mA, where did you get 10mA from? Usually the fan is always running but I don't have one to say for sure.
Sense input is not really needed on a 3A output, and there is no space on the front panel.
You can read a bit more here: https://www.eevblog.com/forum/testgear/news-about-rigol-dp932e/
« Last Edit: October 13, 2023, 10:31:11 pm by thm_w »
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline d.v.ermakov

  • Newbie
  • Posts: 1
  • Country: ru
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #44 on: December 19, 2023, 07:09:53 pm »
Hi all.
Just received DP932E with firmware 00.01.01.00.22. Port 5025 was not answer, downgrade to 00.01.01.00.20 was not successful. Any known ways to open SSH/SCP port for change test.dll? SCPI command or direct connection to PCB? Or, maybe, how to downgrade firmware?
 

Offline sensille

  • Newbie
  • Posts: 8
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #45 on: December 21, 2023, 07:51:20 am »
After 2 weeks of waiting I received my DP932e directly from Rigol. Firmware identifies as 01.00.01. ssh into it works with the know password. Something is listening on port 5025. Haven't tried anything else yet.
 

Offline hveTopic starter

  • Contributor
  • Posts: 47
  • Country: nl
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #46 on: December 21, 2023, 11:17:39 am »
Also, are any of the DP power supplies silent (fan not running) under light load?
Thanks!
No on my 2031 the FAN is always on, slightly annoying.
Still running the old firmware...
 

Offline sensille

  • Newbie
  • Posts: 8
  • Country: de
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #47 on: December 22, 2023, 01:47:53 pm »
The stock firmware in my DP932 is 01.00.01.00.16. I can confirm that replacing test.dll works as expected. After the report from d.v.ermakov I don't dare to upgrade to .22. Version .21 is not available anymore. Does anyone still have it and would be willing to provide it?
Or the other way round, can anyone confirm that .22 does not close the ssh port?
 

Offline Ronnyvs

  • Contributor
  • Posts: 16
  • Country: nl
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #48 on: December 23, 2023, 10:50:25 pm »
Hello all,
At first wish you all happy Holydays!!

I got my DS932E today, and i did the update with the test.dll from Userli... :) :) :)

But now is my next question...
I also want to open the monitor function...

My model  is according to the "about" screen  DP932A
and my firmware version is in the "About" screen 00.01.01

now when i login in the userinterface, it tells me that my firmware version is
Firmware Revision:   00.00.01.00.01

With this firmware , i think, its not good to patch it...
But when i download the new firmware it is the .22 firmware...
so i think i don't can patch this either...
 
i think, i can only patch the .21 firmware with the software patch from userli...

am i right or am i totally wrong?

waiting for an answer,

friendly regards!!
Ronnyvs
 

Offline Ronnyvs

  • Contributor
  • Posts: 16
  • Country: nl
Re: Rigol DP900 / DP2000 Series Hack -
« Reply #49 on: December 23, 2023, 11:01:02 pm »
Hi all.
Just received DP932E with firmware 00.01.01.00.22. Port 5025 was not answer, downgrade to 00.01.01.00.20 was not successful. Any known ways to open SSH/SCP port for change test.dll? SCPI command or direct connection to PCB? Or, maybe, how to downgrade firmware?

You have to use port 22 ssh
putty or winSCP (SFTP)

username: root
passwd:     Rigol001
« Last Edit: December 23, 2023, 11:04:03 pm by Ronnyvs »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf