Author Topic: Siglent .ads firmware file format  (Read 172084 times)

0 Members and 3 Guests are viewing this topic.

Offline vtwin@cox.net

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Siglent .ads firmware file format
« Reply #275 on: December 23, 2018, 04:59:52 pm »
I wasn't exact on filesize, exact filesize is 174080 bytes . 170 MB exactly.

I wonder where the last 2M is. I would expect 172M or 168M,
A hollow voice says 'PLUGH'.
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: Siglent .ads firmware file format
« Reply #276 on: December 23, 2018, 05:18:14 pm »
I wasn't exact on filesize, exact filesize is 174080 bytes . 170 MB exactly.

I wonder where the last 2M is. I would expect 172M or 168M,

cp /dev/mem can break anywhere. It depends on the running processes.
 

Offline ewaller

  • Contributor
  • Posts: 29
  • Country: us
Re: Siglent .ads firmware file format
« Reply #277 on: December 26, 2018, 07:10:19 pm »
How to open a telnet session in a Siglent when the root password is unknown?

Use the following scripts, according to each equipment.

They provide a root session via port 10101.
tv84,

I did finally get my SDS1204X-E and I did attempt to use telnet_SDG1000X.ADS on it.
Unfortunately, it did not go as I had hoped.  I am using a WiFi link and not the Wired Ethernet.  Running your ADS causes the scope to become lethargic at best, some times causing it to hang requiring that do a hard power down.  In any event, a Telnet port is not opened at 10101 on the WiFi interface.  The scope does restart just fine.

I am able to get a memory dump using a SHELLCMD from the web interface, but my real plan was to get in to the OS with the intent to explore with the ultimate goal of being able to build a new cramfs that perhaps would support better WiFi.  And maybe SSH.

Is your ADS known to work with WiFi?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: Siglent .ads firmware file format
« Reply #278 on: December 26, 2018, 07:20:23 pm »
SDS != SDG
 
The following users thanked this post: ewaller

Offline ewaller

  • Contributor
  • Posts: 29
  • Country: us
Re: Siglent .ads firmware file format
« Reply #279 on: December 26, 2018, 09:00:39 pm »
SDS != SDG
*Facepalm*


Edit:  By the way, I did find a way to root the SDS1204X-E without loading custom firmware:
https://www.eevblog.com/forum/testgear/unlocking-siglent-sds1104x-e-step-by-step/msg2070406/#msg2070406
« Last Edit: December 27, 2018, 05:03:43 pm by ewaller »
 

Offline tinhead

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: 00
    • If you like my hacks, send me a donation
Re: Siglent .ads firmware file format
« Reply #280 on: December 28, 2018, 12:37:34 am »
in case someone have here already Siglent SDS2202X-E or SDS2352X-E, i really would love to get NAND dump or at least the content of /usr/bin/siglent directory.
I don't want to be human! I want to see gamma rays, I want to hear X-rays, and I want to smell dark matter ...
I want to reach out with something other than these prehensile paws and feel the solar wind of a supernova flowing over me.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Siglent .ads firmware file format
« Reply #281 on: December 28, 2018, 01:05:41 am »
Same here. based on what I've seen we may be able to do sideways migration of some functions.
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: Siglent .ads firmware file format
« Reply #282 on: December 28, 2018, 08:26:32 am »
Edit:  By the way, I did find a way to root the SDS1204X-E without loading custom firmware:
https://www.eevblog.com/forum/testgear/unlocking-siglent-sds1104x-e-step-by-step/msg2070406/#msg2070406

So now you know how my .ADS work, but without SHELLCMD. ;)
 
The following users thanked this post: patman27, ewaller

Offline hamtarociaooo

  • Newbie
  • Posts: 4
  • Country: it
Re: Siglent .ads firmware file format
« Reply #283 on: January 03, 2019, 11:46:39 am »
Hello guys, I'm not an expert on Unix shells but I don't get panic when I see one, can anybody tell me if the steps in this thread can apply even on the SVA1015X? If I'm not wrong is about editing the memory (the 179mb dump?) And getting it back on the instrument, am I right?
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: Siglent .ads firmware file format
« Reply #284 on: January 03, 2019, 12:02:14 pm »
Hello guys, I'm not an expert on Unix shells but I don't get panic when I see one, can anybody tell me if the steps in this thread can apply even on the SVA1015X? If I'm not wrong is about editing the memory (the 179mb dump?) And getting it back on the instrument, am I right?

It won't do any harm! :)

No mem edit, just processing.
 

Offline hamtarociaooo

  • Newbie
  • Posts: 4
  • Country: it
Re: Siglent .ads firmware file format
« Reply #285 on: January 03, 2019, 12:03:55 pm »
thank you for your quick answer, can you give me some additional hints? i'm still waiting for the instrument so i can't try anything now
 

Offline Algu607

  • Newbie
  • Posts: 4
  • Country: de
Re: Siglent .ads firmware file format
« Reply #286 on: January 10, 2019, 03:41:13 pm »
I have a SDS2202X-E tell me how to to make a memory dump and i will post it here.
 

Offline vtwin@cox.net

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Siglent .ads firmware file format
« Reply #287 on: January 10, 2019, 06:04:29 pm »
I have a SDS2202X-E tell me how to to make a memory dump and i will post it here.

If it operates the same as the other X-E equipment, mounting a USB disk and using the SCPI command

SHELLCMD cat /dev/mem > /usr/bin/siglent/usr/mass_storage/U-disk0/memdump.bin

might do it?
A hollow voice says 'PLUGH'.
 

Offline lazarusr

  • Regular Contributor
  • *
  • Posts: 54
  • Country: gb
Re: Siglent .ads firmware file format
« Reply #288 on: January 12, 2019, 08:25:17 pm »
How to open a telnet session in a Siglent when the root password is unknown?

Use the following scripts, according to each equipment.

They provide a root session via port 10101.
You, sir, are a genius. Many thanks
 

Offline gorillamotors

  • Contributor
  • Posts: 14
  • Country: us
Re: Siglent .ads firmware file format
« Reply #289 on: February 18, 2019, 07:22:09 pm »
Does anyone have a copy of janekivi zipped file  SDG6000X_eevblog_29R10.zip that can send me.

Jim
 

Offline gorillamotors

  • Contributor
  • Posts: 14
  • Country: us
Re: Siglent .ads firmware file format
« Reply #290 on: February 18, 2019, 07:34:29 pm »
Does anyone have a copy of janekivi zipped file  SDG6000X_eevblog_29R10.zip that can send me.

Jim

Do you have a share area?
I just signed up to this forum about 4 or 5 days ago. How do I set up shared area?

Jim
 

Offline gorillamotors

  • Contributor
  • Posts: 14
  • Country: us
Re: Siglent .ads firmware file format
« Reply #291 on: February 19, 2019, 01:59:46 am »
Does anyone have a copy of janekivi zipped file  SDG6000X_eevblog_29R10.zip that can send me.

Jim

Do you have a share area?

I just signed up to this forum about 4 or 5 days ago. How do I set up shared area?

Jim

Did you received it?


Yes but part 2 was corrupted and would not open. Also, is all this done in Linux or can it be done in Windows?

Jim
 

Offline gorillamotors

  • Contributor
  • Posts: 14
  • Country: us
Re: Siglent .ads firmware file format
« Reply #292 on: February 19, 2019, 02:03:11 am »
How can I open up ads files to look at the firmware? I just noticed on reply #46 that there is a siglent ads editor. Where can I download this?

Jim
« Last Edit: February 19, 2019, 02:12:15 am by gorillamotors »
 

Offline gorillamotors

  • Contributor
  • Posts: 14
  • Country: us
Re: Siglent .ads firmware file format
« Reply #293 on: February 19, 2019, 02:49:55 pm »
Did you put both files in the same directory before extraction?

The .ADS require special tool to extract. There is no editor publicly available. What exists is a viewer/limited extraction tool. It doesn't reassemble.
This is the error message I get. That's OK as I got in contact with janekivi and he sent me the file. Thanks for trying. The ADS file was intact but the instructions were not.

I figured that was a special disassembler that janekivi wrote.

Jim
 

Offline ebastler

  • Super Contributor
  • ***
  • Posts: 6202
  • Country: de
Re: Siglent .ads firmware file format
« Reply #294 on: February 19, 2019, 02:55:39 pm »
This is the error message I get. ... The ADS file was intact but the instructions were not.

To say it with Jimi Hendrix: "Are you experienced?"  ;)
I wonder what you expect to find in the firmware, and what you expect to do with it?
 

Offline n3mmr

  • Regular Contributor
  • *
  • Posts: 121
  • Country: se
Re: Siglent .ads firmware file format
« Reply #295 on: February 28, 2019, 02:04:43 pm »
I can make the same trick here like when I was uploading LeCroy in to SDG1025
but who can try this and there may be the same check routine and instrument
will say "Not supported firmware, please reflash correct. Otherwise I will wait 15 min".
This is stupid, it will wait that time anyway before you can access flash menu...

So... do not be the first who is using this firmware file on SPD3303X-E
but this first hack may be needed to be tried out by someone.

SPD3303X-V100R001B01D02P03_with _E_header.zip
OK, I give this only individually after request. I can't test it.

A year ago nobody volunteered to confirm Janekivi's work so I resuscitated the challenge and was successfull!   :popcorn:

Attached is the proof of a Siglent SPD3303X-E conversion to a SPD3303X model.

The method is simple:

1. Run the SCPI command in the X-E to enable the 1mV step:

FACTORY ON

2. Using EasyPower flash the required FW file from the attached ZIP. (ConvertFromX-E)

(3. If you want to rollback, flash the other file.)

The FWs are Siglent official versions with Prod_ID's swapped like janekivi suggested.

The HW version of the board where the test was done is 0.3.

ATTENTION: This may involve a certain risk so do it at your own responsability!

Enjoy!

Did this to my 3303x-e, and it sort-of works.

Factory on; upgrade via the easypower normal i/f.

Then I get the extra digit of precision, however accuracy is worse than ±1mV.
And balance in serial mode is about 2 mV at best.

Can one calibrate and equalize a 3303X at home?

Or is this good enough as it is?   :-DD
« Last Edit: February 28, 2019, 02:11:38 pm by n3mmr »
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28139
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent .ads firmware file format
« Reply #296 on: February 28, 2019, 07:29:54 pm »
Can one calibrate and equalize a 3303X at home?
Check the Cal cert for the equipment used, but in short probably not.

A recent thread you might like to study:
https://www.eevblog.com/forum/testgear/how-to-calibrate-siglent-spd1000x-spd3303x-spd3303x-e-series-power-supplies/
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: Siglent .ads firmware file format
« Reply #297 on: February 28, 2019, 08:56:09 pm »
janekivi,

Just released is a FW for SDS5000X, you might like to have a look into it.

V0.8.0R1B5 http://old.siglentamerica.com/USA_website_2014/Firmware&Software/firmware/SDS5000X_0.8.0R1B5_EN.zip

Looks like a new .ADS format. (Maybe just small differences...)

Product_ID: 14000
« Last Edit: February 28, 2019, 09:13:56 pm by tv84 »
 

Offline janekivi

  • Frequent Contributor
  • **
  • Posts: 368
  • Country: ee
Re: Siglent .ads firmware file format
« Reply #298 on: March 01, 2019, 06:14:32 pm »
Somehow this is like zip is starting with Central directory file header.
https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html
And I see additional FF XOR regions and patterns. Like from here is starting
one and after XOR it is normal directory.

Code: [Select]
00000B80 | 00 00 00 00 00 00 00 00 E4 81 D9 DC 54 02 69 6D |         äŁÜT im
00000B90 | 67 5F 73 69 6D 70 2F 69 6D 61 67 65 32 31 36 D1 | g_simp/image216Ń
00000BA0 | 8F 91 98 AA AB FA FF FC BE 5C B0 A3 8A 87 F4 FF | ¸‘˜Ŗ«ś˙ü¾\°£Š‡ō˙
00000BB0 | FE FB 12 FC FF FF FB 12 FC FF FF AF B4 FE FD E1 | žū ü˙˙ū ü˙˙Æ´žżį
00000BC0 | FC EB FF FF FF F7 FF AF B9 C2 B1 FF E5 83 EE 93 | üė˙˙˙÷˙ƹĀ±˙åƒī“
00000BD0 | F0 FF FF 9D ED FF FF EA FF E7 FF FF FF FF FF FF | š˙˙¯ķ˙˙ź˙ē˙˙˙˙˙˙
00000BE0 | FF FF FF 1B 7E B7 05 AB FD 96 92 98 A0 8C 96 92 | ˙˙˙ ~· «ż–’˜ Œ–’
00000BF0 | 8F D0 96 92 9E 98 9A CE CB C6 D1 8F 91 98 AA AB | ¸Š–’˛˜šĪĖĘѸ‘˜Ŗ«


Code: [Select]
00000B80 | 00 00 00 00 00 00 00 00 E4 81 D9 DC 54 02 69 6D |         äŁÜT im
00000B90 | 67 5F 73 69 6D 70 2F 69 6D 61 67 65 32 31 36 2E | g_simp/image216.
00000BA0 | 70 6E 67 55 54 05 00 03 41 A3 4F 5C 75 78 0B 00 | pngUT   A£O\ux 
00000BB0 | 01 04 ED 03 00 00 04 ED 03 00 00 50 4B 01 02 1E |   ķ    ķ   PK   
00000BC0 | 03 14 00 00 00 08 00 50 46 3D 4E 00 1A 7C 11 6C |        PF=N  | l
00000BD0 | 0F 00 00 62 12 00 00 15 00 18 00 00 00 00 00 00 |    b           
00000BE0 | 00 00 00 E4 81 48 FA 54 02 69 6D 67 5F 73 69 6D |    äHśT img_sim
00000BF0 | 70 2F 69 6D 61 67 65 31 34 39 2E 70 6E 67 55 54 | p/image149.pngUT

 

Offline janekivi

  • Frequent Contributor
  • **
  • Posts: 368
  • Country: ee
Re: Siglent .ads firmware file format
« Reply #299 on: March 01, 2019, 07:24:35 pm »
But not that simple. I see between them extra previously known pattern too.


00001720 | 12 FC FF FF FB 12 FC FF FF AF B4 FA F9 FF FF FFü˙˙ū ü˙˙Æ´śł˙˙˙
00001730 | FF 9A FC 9A FC 65 C6 FE FF 70 7A 9C FD FF FF B4 | ˙šüšüeĘž˙pzœż˙˙´
00001740 | E9 25 FD 69 6D 98 5F 73 69 92 70 2F 69 6D 9E 67 | é%żim˙_sip/im˛g
00001750 | 65 32 38 30 D1 70 6E 67 55 54 05 FF 03 28 A3 4F | e280ŃpngUT ˙ (£O
00001760 | 5C 75 78 F4 00 01 04 ED 03 00 00 FB 12 03 00 00 | \uxō   ķ   ū   
and so on

Parts are 0x1400, but this last (what is at the beginning now) is shorter leftover (file end?).
Seems like more kind of reversed...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf