Author Topic: New Rigol 16-bit function generators DG800/900 series  (Read 17898 times)

0 Members and 2 Guests are viewing this topic.

Offline drummerdimitri

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: lb
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #250 on: July 14, 2019, 01:26:15 am »
Now you are just one step away! Send

:PROJ:MODE DG992\n

and then restart the generator.

I tried that but nothing happened still showing DG811 :wtf:

I must be missing a step what about that DG800_sardinha.bin file? Surely I must have used it somewhere but didn't.
 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #251 on: July 14, 2019, 01:29:42 am »
You should. Read my procedure, can't be simpler.
 

Offline drummerdimitri

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: lb
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #252 on: July 14, 2019, 01:41:00 am »
You should. Read my procedure, can't be simpler.

I did but it is not clear.

I formatted the USB with HxD and moved the bin file to it.

Then I sent the :PROJ:MODE DG992 command in Tester 32bit application and restarted the device but nothing changed.

What am I missing?
 

Offline drummerdimitri

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: lb
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #253 on: July 14, 2019, 02:06:07 am »
Nevermind.

I tried editing the drive's signature a second time with HxD and it worked this time  :-DD

Thanks for the free upgrade tv84  :clap:
 
The following users thanked this post: frozenfrogz

Offline frozenfrogz

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: de
  • Having fun with Arduino and Raspberry Pi
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #254 on: July 14, 2019, 02:27:18 am »
Nice that you could figure it out. :)
He’s like a trained ape. Without the training.
 
The following users thanked this post: drummerdimitri

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #255 on: August 12, 2019, 07:18:54 pm »
I've just bought a DG-811. Software version 00.01.09.00.00

Can anyone confirm they have upgraded a unit with this software version?  I'm wondering if the door has been closed.

After reading the instructions carefully and many attempts I have been unable to upgrade my unit.

I have tried different sized usb drives.  I have formatted a 2GB, FAT32, 512mB sector size and used HxD to write the string at sector 2,000,000. The drive is recognised when plugged into the DG811. I send the ":PROJ:MODE DG992" using Ultra Sigma connected by usb. I get return code 0 and no upgrade after power cycle.

I have also tried a 8GB drive formatted with default sector size.  All this on Windows laptop.
Any suggestions?
 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #256 on: August 12, 2019, 07:25:10 pm »
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #257 on: August 12, 2019, 08:21:35 pm »
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #258 on: August 13, 2019, 09:42:02 am »
The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

You can see my post above where I recommend not using Ultra Sigma to send the command. I'm not certain if it works or not, but the program is quite bad IMO. Try something else and please let us know.

Otherwise we have to wait until FW 00.01.09.00.00 has been uploaded.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 2369
  • Country: lv
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #259 on: August 13, 2019, 05:24:45 pm »
You can see my post above where I recommend not using Ultra Sigma to send the command.

I can confirm that I failed with Ultra Sigma as well. What could be that "something else" that works under Windows.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #260 on: August 14, 2019, 07:03:38 am »
I can confirm that I failed with Ultra Sigma as well. What could be that "something else" that works under Windows.

pycharm + pyvisa
NI-Visa
R&S Visa
 
The following users thanked this post: ogden

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #261 on: August 14, 2019, 07:45:24 am »
Thanks everyone for your interest and help.

I had another go last night with R&S Visa 5.8.5. for Windows.  DG-811 connect by USB.  I was able to change the display brightness ok which I did as a test that the instrument was accepting commands. But still no luck upgrading the model.

If anyone has been able to upgrade an instrument with 00.01.09.00.00 firmware it would be nice to know that.

If firmware 00.01.09.00.00 is known to work, it seems to me there must be something very pedantic about the preparation of the usb drive that I have missed.

Or does the DG-811 have to be set to a certain screen or mode before sending :PROJ:MODE DG992\n ?
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #262 on: August 14, 2019, 08:03:16 am »
Thanks everyone for your interest and help.

I had another go last night with R&S Visa 5.8.5. for Windows.  DG-811 connect by USB.  I was able to change the display brightness ok which I did as a test that the instrument was accepting commands. But still no luck upgrading the model.

If anyone has been able to upgrade an instrument with 00.01.09.00.00 firmware it would be nice to know that.

If firmware 00.01.09.00.00 is known to work, it seems to me there must be something very pedantic about the preparation of the usb drive that I have missed.

Or does the DG-811 have to be set to a certain screen or mode before sending :PROJ:MODE DG992\n ?

No it doesn't need to be in a certain screen mode. I had it in the info screen, to see the model number. Thats good that you tested commands are working. But its basically impossible to test that the "rigol key" is working as expected, without the PROJ command actually working, which is tough.

You are the first person to report 00.01.09.00.00 firmware so no, its not "known to work". You could consider trying to downgrade the firmware, 00.01.08.00.01 is available on the rigol site: https://www.rigolna.com/firmware/.
There may be some small risk to doing this, and you won't be able to go back to 09 FW until its released, but most likely if there is any problem it will be that rigol blocked ability to downgrade FW.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 7695
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #263 on: August 14, 2019, 10:20:58 am »
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

Note the highlighted items in red, above. Might make a difference.
I TEA.
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #264 on: August 14, 2019, 12:27:42 pm »
Format the USB disk in Linux to FAT32 and do the sector writing in Linux, as explained. Forget Windows, for now.

Report the results.

Ok. Formatted the usb drive on linux as vfat type b and put a file system on it and then

dd if=/home/nick/Downloads/DG800/DG800_sardinha.bin of=/dev/sdb1 bs=512 seek=2000000
0+1 records in
0+1 records out
8 bytes copied, 0.00547345 s, 1.5 kB/s

The dg811 mounts the drive ok. When I send :PROJ:MODE DG992 via Ultra Sigma I get (Return Count:0) as a reply. And after power cycle still no upgrade.

Note the highlighted items in red, above. Might make a difference.

That was a fairly hurried reply to tv84 in response to a suggested action.

A better reply would have been that I created on the usb drive, with fdisk, a partition of type b and then created a FAT32 file system on that.  I have subsequently tried both active and non-active partitions and also a FAT filesystem. And then after those actions copied DG800_sardinha.bin to the correct sector.

This is the first time I've used VISA to control instruments, so I'm going to go back through all the instructions to see if I am overlookng something simple.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 7695
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #265 on: August 14, 2019, 02:34:22 pm »
Ah, OK. Bummer. I was hoping that would've gotten you success.
I TEA.
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #266 on: August 14, 2019, 03:26:09 pm »
Tried everything again with no luck.  Attached are the first 2 sectors of my formatted usb stick. Maybe that could be the problem. Can someone with a good stick compare to this file.

Or better still, post you sectors and I will write to my stick.
« Last Edit: August 14, 2019, 03:28:20 pm by Ashdash »
 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #267 on: August 14, 2019, 07:14:59 pm »
Ash,

Why are you showing the 1st 2 sectors of your disk?

Remember the bytes are written at (almost) the 1GB mark. BTW, are you using a +1GB capacity disk?

Have you tried a partition type 0C ?   

Have you tried with another USB disk?

As last resource, go to windows, remove the partition. Create a new partition (default values). Go to debian. Format it FAT32. Do the sector insertion.

You can easily test the sector reading, as the DG does it. I don't have here the command but I can post.

 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #268 on: August 14, 2019, 07:34:04 pm »
Don't use:

:PROJ:MODE DG992\n

Use just:

:PROJ:MODE DG992
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #269 on: August 14, 2019, 08:17:07 pm »
Thanks for your questions.  I like your work.  I'll answer in  order.

1. Several posts in this thread and your questions are about the stick.  Old stick, another stick, how it was partitioned, FAT32 etc. Created under linux or windows.
Reading through the posts:
It didn't work, a different stick, and then it worked.  No clear explanation.  You get my thinking?  Nothing definitive.  It's a long time since I looked at boot sectors, volume labels, FAT tables etc.
But looking in the first sector is "ëX.mkfs.fat", volume label, etc. Are those fields (except the FAT table ) the same for every utility on different systems that are used to create the stick?  I don't know.

2. I've confirmed that the bytes are written at sector 2,000,000 on a 2 Gb stick.

3.  Yes.  I tried that today.

4.  Not really.  I started out with 2 x 8GB sticks that didn't work and managed to find a 2GB stick.  I can't find another old small one.  So see 1. above.

5.  Sort of the same as above.  What is that trying to achieve?  It's like we are not sure what is going on.  I'd like to help.

Is it possible that before the DG-811 even looks for the bytes at sector 2,000,000, it expects a volume label, text string from creation  utility, come what may, etc etc in first 2 sectors.  On my stick all sectors above the first 2 are 00 until 2,000,000

"You can easily test the sector reading, as the DG does it. I don't have here the command but I can post."  Yes. That could help.

I am suspicious that I seem I can't get this to work on the new firmware.  If anyone has managed to achieve this on firmware 00.01.09.00.00 I'd be really pleased to know.

But it does seem that many are struggling with the usb stick and I'd like to help get to the bottom of that.

 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #270 on: August 14, 2019, 08:42:37 pm »
Don't use:

:PROJ:MODE DG992\n

Use just:

:PROJ:MODE DG992

I think I have done this.

Within Rigol Ultra Sigma, -> SCPI command -> Advanced (drop box) -> Options is an EOL sequence.  "\n" is one of 4 options.  So within Ulra Sigma I have sent ":PROJ:MODE DG992" which will be appended by "\n".  It's not possible to send without an EOL sequence.

I don't see similar option within RsVisa so have tried both ":PROJ:MODE DG992" and ":PROJ:MODE DG992\n".  No upgrade either way.

Within both Ultra Sigma and RsVisa I can send ":DISP:BRIG 1" and ":DISP:BRIG 100" to set the display brightness.

What I haven't done is send commands to the DG-811 outside those 2 packages.  I need to do more work before I can use pyVisa under linux.
 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #271 on: August 14, 2019, 09:26:44 pm »
I also don't like to insist on the USB thing...  :)

I've tried multiple time in this forum that people start documenting the USB disks with controller, etc info. But to no avail... There are multiple FWs that use some (direct access) sector reading functions that may or may not work in certain conditions.

From what you have said it seems the prob may be in new FW. That's easy to check once I get my hands on it.

The only thing that comes to mind about the sector writing in HxD is if you are using logical or absolute sectors... That's why I prefer to tell people to use the Linux command.
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #272 on: August 14, 2019, 09:35:46 pm »
Thanks for reply.

All my recent tests are using your linux command modified for my file locations.  I have only checked with HxD to see if bytes are present.

I extracted the first 2 sectors from my stick with: dd if=/dev/sdb1 of=/home/nick/Downloads/DG800/sectors.hex count=2

Can you provide first 2 sectors of known good usb stick?
 

Online tv84

  • Frequent Contributor
  • **
  • Posts: 746
  • Country: pt
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #273 on: August 14, 2019, 10:52:46 pm »
Not at home.

Do this and see if the first 8 bytes are the sardinha.bin:

dd if=/dev/sdb1 of=block.bin skip=2000000 count=1
 

Offline Ashdash

  • Contributor
  • Posts: 12
  • Country: nz
Re: New Rigol 16-bit function generators DG800/900 series
« Reply #274 on: August 15, 2019, 02:51:57 pm »
Not at home.

Do this and see if the first 8 bytes are the sardinha.bin:

dd if=/dev/sdb1 of=block.bin skip=2000000 count=1

Upload utility won't accept block.bin so block.hex.

Attachment is the result of your command on usb drive prepared with linux that I have been using to try to upgrade.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf