Author Topic: Hack of Sigllent spectrum analyzer ssa3021X?  (Read 417678 times)

0 Members and 2 Guests are viewing this topic.

Online tautech

  • Super Contributor
  • ***
  • Posts: 28482
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #925 on: February 07, 2021, 01:36:17 am »
you say
SSA3000X Plus updates here:
https://int.siglent.com/download/firmwares/?ProId=48

the lates file for my SSA3021X is called
SSA3021_3032XP_V3.2.2.4.0_EN

firmware update just say : System update failed in red.
WHY ?
my SSA is brand new, but its shipped fw is called : 20190610-1
so it come with 2years old sw ??
No, that is the SSA3000X Plus firmware and the correct one for your SSA3021X is here:
https://int.siglent.com/upload_file/zip/firmware/Spectrum_analyzer/SSA3000X_1.3.9.6_EN.zip
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: oz2cpu

Offline frankvh2

  • Newbie
  • Posts: 9
  • Country: ca
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #926 on: February 07, 2021, 01:37:27 am »
Hi all,

Long time lurker here - I own one of these units. Thanks for all the work done by the forum members.

I have a contribution to add. I've developed a web interface for the SSA3021X, so you can do a screen capture via a web interface straight to your PC (instead of using the USB stick). I find it much more convenient than the USB stick method.

I've attached a zip file to this posting with the files & install instructions.

 
The following users thanked this post: rf-loop, Relaxe, tautech, CDN_Torsten, oz2cpu, MOTechGuy

Offline EE4all

  • Regular Contributor
  • *
  • Posts: 108
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #927 on: February 07, 2021, 01:45:35 am »
I like it. Very nice. Thanks for posting!

Yes, it is obvious with the CPU usage then why Siglent didn't provide a native web interface.
 

Offline oz2cpu

  • Frequent Contributor
  • **
  • Posts: 850
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #928 on: February 07, 2021, 09:50:29 am »
Thanks !! that SW update link worked, 1.3.9.6
I am a bit sad about the model confusion, web pages on siglent site is very unclear,
my order sheet say my version is a PLUS version !!

that update solved my USB stick problems,
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
 

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: pt
    • VMA's Satellite Blog
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #929 on: February 07, 2021, 11:24:49 am »
If  you ordered the Plus model and received a non-plus model, return it immediately!

The Plus model is considerably better feature-wise and hacking-wise.

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4107
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #930 on: February 07, 2021, 01:51:22 pm »
Thanks !! that SW update link worked, 1.3.9.6
I am a bit sad about the model confusion, web pages on siglent site is very unclear,
my order sheet say my version is a PLUS version !!

that update solved my USB stick problems,

Here  December 16, 2020, 04:19:06 am » you told

Darrel ?? are you able to figure any of this out ??
I just got a brand new SSA3021X
sw version 1.3.9.5
its TG is enabled all the time, so at least that is fine.
the 3 other options: 47 hrs left (what crap)
and it is 2.1GHz only..
PLEASE HELP... it is VERY confusing the stuff you people explain here, many different links, and stuff to do..
why not have ONE place ?
with a full updated detailed instruction covering all things we must do, and access to the needed files ??

FW revision list do not have at all this FW version.
But also it can not be SSA3021X Plus

Are you sure there was 1.3.9.5.

Then now you tell you have purchased Plus version. After it arrive you still talk you get brand new SSA3021X
In this time if you have purchased Plus version why did you note it is wrong. They are totally very different machines.
When you receive it did you not look front panel at all where also read model.

But now if you have documents you have purchased SSA3021X Plus  and not SSA3021X...

You need asap contact seller and start dispute you have get wrong model. Bad that there is now so long time after you get it...
Or is it really you have purchased Plus model or is it now just mistake in this order sheet. Difficult to say without perfect and deeply detailed documents starting from purchase and  full record from it.

Also it depends what kind of seller it have been.

Can you find any record about  this seller prices from just this day you buy it. Looking this and your receipt may tell what you have really purchased, paid.

Btw, in Europe Siglent know every serial number what they have sold to individual distributors and when.

Of course it is possible that factory have used FW version what is more new than this time most new public shared and then there  come new public FW and this factory version do not never come to public share, this can happen. So if this is case it tell that least it is factory original and no one have updated it after factory.

If you have purchased Plus,  then you need get Plus. Period.  If seller is hones and he have made mistake of course he solve this for your best.
In this case only weird is that why you have not noted earlier you have wrong model.
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4107
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #931 on: February 07, 2021, 02:49:53 pm »
Thanks !! that SW update link worked, 1.3.9.6
I am a bit sad about the model confusion, web pages on siglent site is very unclear,
my order sheet say my version is a PLUS version !!

that update solved my USB stick problems,

What is unclear with models in Siglent side.
There is models list, there is data sheets there is simple key features list, every model have brochure where bit more about features and finally data sheets and user manuals. How it is unclear between X and X Plus.  It is good to know and forward to Siglent some note for develop information more clear if this is true..

https://www.siglenteu.com/spectrum-analyzers/

And this is ONLY Siglent in whole EU area. If you mean Siglent. If you mean some Siglent distributors sides, it is totally other case. Also it is good to note where is so unclear things that can not make clear what are what models. Then they need education.
« Last Edit: February 07, 2021, 02:52:41 pm by rf-loop »
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 
The following users thanked this post: oz2cpu

Offline aetherlab

  • Newbie
  • Posts: 1
  • Country: bg
  • Sapere Aude
    • æther lab
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #932 on: February 14, 2021, 07:38:56 pm »
Hello everyone!

I'm new to the forum and the thread. Thank you all for your work and dedication. I've been all over the 38 pages of the thread.
I just received a brand new SSA3021X and I was wondering if I could unlock it's EMI and AMK for good. Getting it to 3.2G will be fine, but it's not the main goal.
Is 1.3.9.6 still a major hindrance?
All the best!
73 de LZ1SWE,
Bill
« Last Edit: February 14, 2021, 07:49:29 pm by aetherlab »
 

Offline oz2cpu

  • Frequent Contributor
  • **
  • Posts: 850
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #933 on: February 14, 2021, 09:18:35 pm »
1.3.9.6 works great here
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
 

Offline frankvh2

  • Newbie
  • Posts: 9
  • Country: ca
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #934 on: February 16, 2021, 04:41:56 am »
For anyone who's interested, source files & build instructions for the SSA3021X webserver are posted here:

https://github.com/frankvanhooft/SSA3021X-webserver
 
The following users thanked this post: Kibabalu

Offline DarF

  • Newbie
  • Posts: 5
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #935 on: February 23, 2021, 05:23:32 pm »
Hello!
  Long time reader, first time poster.
  Anything in this message is for "educational research" only!
  First I'd like to say that 1.3.9.5 can be downgraded to 1.2.8.3.
  I'd like to use the method in post #866 compiled by nealix and then upgrading from there, but the link to the Firmware Converter Tool doesn't work.  Unless someone has a working link or a link to the files that are needed from the ZIP file, I'm stuck!
  Yes, I've read all 38 pages multiple times over months.  I have seen nothing special regarding the link other a couple of complaints that it doesn't work.  If I've missed something, it's not for lack of effort.  (I have a masters in Missing the Obvious.)
  The link leads to a permissions-based error.  (A no-go for newbies?)
  I welcome PMs.  Help from any source is welcome as I have a limited time to finish my "educational research" on this device!
  Also, there was all of this talk of making very expensive bricks to the point that some files were removed.  Then all of a sudden it's no longer mentioned.  The files seem to be back.  Has this problem been solved?  It's one of the reasons I downgraded to the oldest version that worked mentioned in this thread.
« Last Edit: February 25, 2021, 05:31:53 am by DarF »
 

Offline forest70

  • Newbie
  • Posts: 3
  • Country: si
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #936 on: February 23, 2021, 07:50:16 pm »
Hello everyone!

I'm new to the forum and the thread. Yesterday I brick my SSA 3032X .... Before I upgraded to last version  SSA3000X_1.3.9.6.ADS It wofked fine, but telnet is gone. So I use SSA3000X_telnet.
Connected with telnet first I copy
Code: [Select]
cp /etc/rc5.d/S98ecomb /etc/rc5.d/S98ecomb.orig  then I try change script 
Code: [Select]
/etc/rc5.d/S98ecomb to add /usr/sbin/telnetd -l /bin/sh -p 23
but somethig went wrong and do this
Code: [Select]
echo "#! /bin/sh" >S98ecomb After that I reboot device. And suprise me |O
I need help to restore device to working state.
This is serial console output
Code: [Select]
U-Boot SPL 2013.01.01-svn72327 (Sep 27 2020 - 15:29:08)
Start buzzer++
Stop buzzer--nand_init+++++
nand_init-----
>>spl_load_lcd_fpga++
LCD init()++
Lcd_Init()++
SetUpLCD()++
SetUpLCD()--
len=1228852, height=600, width=1024
Logo from nandflash: base=0x81000000; end=0x8112c01f; end-base=0x12c01f; rwsize=                                                                                                                                   0x12c020; r=0x0
Lcd_Init()--
>>spl_load_lcd_fpga--


U-Boot 2013.01.01-svn72327 (Sep 27 2020 - 15:29:08)

I2C:   ready
DRAM:  128 MiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

set_default_env::4393
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
(Re)start USB...
USB0:   lowlevel init failed
USB error: all controllers failed lowlevel init
MUSB found on device 0
** Bad device usb 0 **
Booting from nand ...

NAND read: device 0 offset 0x3080000, size 0x240000
 2359296 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2207888 Bytes = 2.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.180654] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.796710] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp
[    0.804377] sr_init: platform driver register failed
INIT: version 2.88 booting
Starting udev
INIT: Entering runlevel: 5
start ecomb running...
start ecomb running...
[    3.977662] Failed to request GPMC mem for FPGA
[    3.982850] Unhandled fault: external abort on non-linefetch (0x1008) at 0xc884a000
[    3.990842] Internal error: : 1008 [#1]
[    3.994838] Modules linked in:
[    3.998027] CPU: 0    Not tainted  (3.2.0 #208)
[    4.002750] pc : [<c01a89ac>]    lr : [<c02329b4>]    psr: 80000113
[    4.002757] sp : c73199c0  ip : 00000000  fp : c73199e4
[    4.014723] r10: c7118000  r9 : 00000200  r8 : 00000000
[    4.020168] r7 : c71ac810  r6 : 00000001  r5 : c7118000  r4 : 00000200
[    4.026973] r3 : c884c000  r2 : 80000000  r1 : c7118000  r0 : c884a000
[    4.033779] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    4.041218] Control: 10c5387d  Table: 874b0019  DAC: 00000015
[    4.047209] Process ecomb (pid: 721, stack limit = 0xc73182f0)
[    4.053289] Stack: (0xc73199c0 to 0xc731a000)
[    4.057834] 99c0: 00000000 c71ac810 c71aca28 c71ac810 00000802 0000000e c7319a3c c73199e8
[    4.066365] 99e0: c0231d64 c0232910 00000000 00000004 00000000 c046781c c7114480 c7118000
[    4.074895] 9a00: c7114000 00002242 00000200 00000000 c022ede0 c71aca28 00000800 c71ac810
[    4.083425] 9a20: 00000001 00002242 c7118000 00000000 c7319aac c7319a40 c022e348 c0231cac
[    4.091954] 9a40: c022ea14 00000001 c7319a50 60000113 00000040 00000004 0000003f 00000000
[    4.100484] 9a60: 00000000 c7118000 00002242 00000ec4 00000000 00000000 00000000 00000000
[    4.109014] 9a80: 00000000 01121000 00000000 10000000 00000000 00000ec4 00000ec4 c71ac810
[    4.117544] 9aa0: c7319afc c7319ab0 c022e9fc c022e1f0 c7319ab8 00000000 00000000 00000ec4
[    4.126074] 9ac0: 00000f43 00000004 c7271b40 000000bc c7118000 00000000 00ba1000 00000000
[    4.134604] 9ae0: 02b00000 00000000 c71dc400 c7319b74 c7319b4c c7319b00 c0222b98 c022e98c
[    4.143134] 9b00: 00000ec4 c7319b74 c7118000 c74bdf80 00000000 00000000 00000000 00000000
[    4.151665] 9b20: c023880c 00ba1000 00000000 00000004 c7118000 00000ec4 c7319b74 c71ac000
[    4.160195] 9b40: c7319ba4 c7319b50 c023a1d8 c0222b18 00000ec4 c7319b74 c7118000 00000000
[    4.168724] 9b60: 00000001 00000000 00001000 0000005d c7319ba4 c7319b80 c02386d0 c7266c00
[    4.177255] 9b80: c71ac000 c7266c00 00000000 0000005d c7118000 0000005b c7319bec c7319ba8
[    4.185785] 9ba0: c0238994 c023a17c 00000ec4 00000001 c01f43a8 3131a3dc 39383234 00000000
[    4.194314] 9bc0: c7319bec c7266c00 00000000 0000014b c7118000 00000003 0000005b 00000000
[    4.202844] 9be0: c7319c24 c7319bf0 c0238100 c023889c 00000000 00000ec4 00000000 c7319cdd
[    4.211374] 9c00: c03766ab c7118000 00000ec4 00000000 0000005b 2000002c c7319c54 c7319c28
[    4.219905] 9c20: c0164254 c023805c 00000ec4 00000000 00000006 ffffffff c7118000 c7319d10
[    4.228437] 9c40: c72d01a8 00000ec4 c7319c9c c7319c58 c0165d74 c0164230 00000ec4 00000001
[    4.236968] 9c60: c0167450 c0177ef8 00000041 c72d0000 c7319cfc c72d0000 c7319d10 c72d01a8
[    4.245498] 9c80: 00000000 00000000 00000001 c7118000 c7319cec c7319ca0 c0167670 c0165d34
[    4.254029] 9ca0: 00000000 c73074c0 0000031a 2000002c 00000000 0000005b 00000000 00000ec4
[    4.262559] 9cc0: 00000000 c055f280 c055f280 c687ab38 0000002c 000000d8 c7814000 c7118000
[    4.271090] 9ce0: c7319d44 c7319cf0 c015ce00 c0167588 00000000 c7319d00 c007a050 c0079654
[    4.279621] 9d00: 000d750c 00000000 c0442d9c 00000002 0000031a 2000002c c0079a94 c055f280
[    4.288151] 9d20: c055f280 0000002c c687ab38 0000002d c72d0000 00080001 c7319d9c c7319d48
[    4.296683] 9d40: c015e144 c015cce8 0000002c c749a740 c7319e00 00080001 c7319d84 c7319d68
[    4.305214] 9d60: c0074ae8 c01aefc4 c055f280 c055f280 00000000 c687abf8 c055f280 0000002c
[    4.313743] 9d80: c687abf8 c749a740 00000000 00080001 c7319dec c7319da0 c00766fc c015e110
[    4.322273] 9da0: 00000001 00000041 c0442d9c c687ab38 c7319e00 c731bcd8 c687ab38 00000004
[    4.330803] 9dc0: c055f0e0 c731bcd8 00000000 00000000 00000000 40380000 c74b1008 c7478cc0
[    4.339334] 9de0: c7319e3c c7319df0 c0089c30 c007645c c7319ed8 00000000 c74b1008 00000000
[    4.347863] 9e00: 00000000 0000002c 40380000 00000000 c007e54c 40354000 c731bcd8 40380000
[    4.356393] 9e20: c7478cc0 c731bcd8 c74b1008 00000000 c7319e8c c7319e40 c008c610 c0089bcc
[    4.364925] 9e40: 0000002c 00000000 00000000 c7319f60 00000000 c7319e90 c7318000 00000001
[    4.373456] 9e60: c7319ed8 c74b0000 00000201 40380000 c7478cc0 c731bcd8 c74b1008 00000000
[    4.381987] 9e80: c7319ec4 c7319e90 c008cc40 c008c5a4 c74b1008 00000000 ea3f3d72 c7319fb0
[    4.390519] 9ea0: c7478cc0 80000007 c71e0140 40380efc c731bcd8 c7478cf4 c7319efc c7319ec8
[    4.399050] 9ec0: c0019c90 c008cbbc c00ac3e4 c00abf74 00000041 00000007 c0019b34 c040274c
[    4.407582] 9ee0: 40380efc c7319fb0 00000000 4003a000 c7319fac c7319f00 c0008454 c0019b40
[    4.416111] 9f00: 00000000 00000000 00000000 00000005 c7409cc0 c73aed40 00000000 00000002
[    4.424642] 9f20: c7319f54 c7319f30 c00b644c 00000002 00000000 00000000 c03fe2ac ffffffff
[    4.433172] 9f40: c72cf000 ffffff9c c7319f94 c7319f58 c009ebe4 c009c380 c74bc340 00000004
[    4.441701] 9f60: 00000002 00000000 00000026 00000100 0057fba8 000fb2ec 0057fc18 00000005
[    4.450231] 9f80: c0013ee8 00000000 c7319fa4 40380efc 80000030 ffffffff 00000000 00000000
[    4.458761] 9fa0: 00000000 c7319fb0 c0013cd8 c0008424 0012f6fc be838e14 be838e1c 0000f309
[    4.467290] 9fc0: 0012f6fc be838cd8 0057fac0 00000000 00000000 00000000 4003a000 00000000
[    4.475821] 9fe0: 40381359 be838c88 00019f07 40380efc 80000030 ffffffff bdffffff ffffffff
[    4.484344] Backtrace:
[    4.486895] Function entered at [<c0232904>] from [<c0231d64>]
[    4.492975]  r7:0000000e r6:00000802 r5:c71ac810 r4:c71aca28
[    4.498890] Function entered at [<c0231ca0>] from [<c022e348>]
[    4.504967] Function entered at [<c022e1e4>] from [<c022e9fc>]
[    4.511046] Function entered at [<c022e980>] from [<c0222b98>]
[    4.517123] Function entered at [<c0222b0c>] from [<c023a1d8>]
[    4.523200] Function entered at [<c023a170>] from [<c0238994>]
[    4.529279] Function entered at [<c0238890>] from [<c0238100>]
[    4.535357] Function entered at [<c0238050>] from [<c0164254>]
[    4.541436]  r8:2000002c r7:0000005b r6:00000000 r5:00000ec4 r4:c7118000
[    4.548442] Function entered at [<c0164224>] from [<c0165d74>]
[    4.554520]  r7:00000ec4 r6:c72d01a8 r5:c7319d10 r4:c7118000
[    4.560434] Function entered at [<c0165d28>] from [<c0167670>]
[    4.566512] Function entered at [<c016757c>] from [<c015ce00>]
[    4.572590] Function entered at [<c015ccdc>] from [<c015e144>]
[    4.578668] Function entered at [<c015e104>] from [<c00766fc>]
[    4.584746] Function entered at [<c0076450>] from [<c0089c30>]
[    4.590824] Function entered at [<c0089bc0>] from [<c008c610>]
[    4.596902] Function entered at [<c008c598>] from [<c008cc40>]
[    4.602980] Function entered at [<c008cbb0>] from [<c0019c90>]
[    4.609058] Function entered at [<c0019b34>] from [<c0008454>]
[    4.615136] Function entered at [<c0008418>] from [<c0013cd8>]
[    4.621214] Exception stack(0xc7319fb0 to 0xc7319ff8)
[    4.626480] 9fa0:                                     0012f6fc be838e14 be838e1c 0000f309
[    4.635010] 9fc0: 0012f6fc be838cd8 0057fac0 00000000 00000000 00000000 4003a000 00000000
[    4.643538] 9fe0: 40381359 be838c88 00019f07 40380efc 80000030 ffffffff
[    4.650431]  r8:00000000 r7:00000000 r6:ffffffff r5:80000030 r4:40380efc
[    4.657443] Code: e1b02f82 25903000 2590c000 28a11008 (15903000)
[    4.663878] ---[ end trace 1b2fea6f67d37128 ]---

Thanks
« Last Edit: February 24, 2021, 07:27:53 am by forest70 »
 

Offline forest70

  • Newbie
  • Posts: 3
  • Country: si
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #937 on: February 23, 2021, 08:00:37 pm »
After that console is unresponsive, but if atach USB stick kernel respond with this
Code: [Select]
[ 1759.295694] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 1759.443232] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
[ 1759.450242] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1759.457698] usb 1-1: Product: Mass Storage
[ 1759.461968] usb 1-1: Manufacturer: Generic
[ 1759.466247] usb 1-1: SerialNumber: 9091E617
[ 1759.478047] scsi0 : usb-storage 1-1:1.0
[ 1760.488165] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[ 1760.499266] sd 0:0:0:0: [sda] 7866368 512-byte logical blocks: (4.02 GB/3.75 GiB)
[ 1760.508176] sd 0:0:0:0: [sda] Write Protect is off
[ 1760.513178] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 1760.519156] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1760.534720]  sda: sda1
[ 1760.540287] sd 0:0:0:0: [sda] Attached SCSI removable disk
« Last Edit: February 23, 2021, 08:03:33 pm by forest70 »
 

Offline DarF

  • Newbie
  • Posts: 5
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #938 on: February 24, 2021, 02:37:06 pm »
Yes, you can downgrade to at least 1.2.8.3.  I've done it.
 

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: pt
    • VMA's Satellite Blog
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #939 on: February 24, 2021, 02:57:33 pm »
Why don't you just copy back the copy of the original S98ecomb file?

Also, it doesn't seem correct to me to add the telnet start to this file! Telnet is started by its own file:

K10telnetd in /etc/rc1.d and /etc/rc.6:
Code: [Select]
#! /bin/sh
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in
#all copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.

telnetd=/usr/sbin/telnetd

test -x "$telnetd" || exit 0

case "$1" in
  start)
    echo -n "Starting telnet daemon"
    start-stop-daemon --start --quiet --exec $telnetd
    echo "."
    ;;
  stop)
    echo -n "Stopping telnet daemon"
    start-stop-daemon --stop --quiet --pidfile /var/run/telnetd.pid
    echo "."
    ;;
  *)
    echo "Usage: /etc/init.d/telnetd {start|stop}"
    exit 1
esac

exit 0

S10telnetd in /etc/rc5.d:
Code: [Select]
#! /bin/sh
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in
#all copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.

telnetd=/usr/sbin/telnetd

test -x "$telnetd" || exit 0

case "$1" in
  start)
    echo -n "Starting telnet daemon"
    start-stop-daemon --start --quiet --exec $telnetd
    echo "."
    ;;
  stop)
    echo -n "Stopping telnet daemon"
    start-stop-daemon --stop --quiet --pidfile /var/run/telnetd.pid
    echo "."
    ;;
  *)
    echo "Usage: /etc/init.d/telnetd {start|stop}"
    exit 1
esac

exit 0

The original content of S98ecomb in /etc/rc5.d:
Code: [Select]
#! /bin/sh
#test by Kener.Liao
#echo "start to mount datafs to usr dir... "

#if [ -c "/dev/ubi1_0" ]; then
#  echo "ubi1_0 exit already!"
#  exit 0
#fi

#info=`cat /proc/mtd | grep datafs`
#if [ "$info" = "" ]; then
#  echo "nand have no datafs mtd!!"
#  exit 0
#fi

#mtd=${info%:*}
#mtd=${mtd:3}
#cmd="ubiattach /dev/ubi_ctrl -m "$mtd" -O 2048"
#$cmd

#mount -t ubifs ubi1_0 /usr/bin/siglent/usr
#if [ $? -eq 0 ]; then
#  echo "mount datafs success!!!"
echo "start ecomb running... "
portmap &
cd /usr/bin/siglent/
#insmod /usr/bin/siglent/drivers/cfbcopyarea.ko
#insmod /usr/bin/siglent/drivers/cfbfillrect.ko
#insmod /usr/bin/siglent/drivers/cfbimgblt.ko
#insmod /usr/bin/siglent/drivers/da8xx-fb.ko
./ecomb &
#else
#  echo "mount datafs failed!!!"
#fi

exit 0

Good luck!

Regards,
Vitor
 
The following users thanked this post: forest70

Offline forest70

  • Newbie
  • Posts: 3
  • Country: si
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #940 on: February 24, 2021, 08:14:15 pm »
Can not, no access to telnet, serial console is not working.
Only access is U-BOOT, but I dont know how procede.
 

Offline DarF

  • Newbie
  • Posts: 5
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #941 on: February 28, 2021, 08:34:18 am »
  I've read all 38 pages again and I'd like to know if I've got this right.  Until version 1.2.9.3a it looks like telnet was active.  Downgrading to a pre-1.2.9.3a version doesn't restore telnet.  Then a script was created and converted into an ADS file to enable telnet temporarily.  Around version 1.3.9.5 the backup and telnet enabling ADS files started super bricking machines. :(  This topic was left hanging, except for one affirmative answer to the question, "Could 1.3.9.6 be successfully hacked?"
  Mine shipped with 1.3.9.5.  Originally, I downgraded it to 1.2.8.3 to try to avoid the problems with super bricking.  But if downgrading doesn't restore the telnet symlinks (I can ping, but not telnet), who knows what else it doesn't change?  Maybe the super bricking code?  Since I've never read a reason or solution to that problem, I'm leery to try anything except to bring it up to 1.3.9.6.  :scared:
  So is the super-bricking problem still occurring?  If not, how should I proceed?
TIA for any help/advice!
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3229
  • Country: pt
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #942 on: February 28, 2021, 12:38:46 pm »
So is the super-bricking problem still occurring?  If not, how should I proceed?

Use the new script.
 
The following users thanked this post: ThomasM...

Offline DarF

  • Newbie
  • Posts: 5
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #943 on: March 01, 2021, 05:40:15 pm »
tv84,
  Thanks for letting me know the file had been updated.  You have truly provided much help and knowledge in these groups.  :-+
  I would like to use the "ecomb8" file method if it's still safe.  But every time I try to download the converter using the link posted multiple times in this thread,  I get:

An Error Has Occurred!
You are not allowed to access this section

 :( :( :(

  I've only seen one other poster say the link doesn't work.   Should I chant "Bob's your uncle!" three times before clicking on the link?  Or does access require a poultry-themed meal?  ;)
    
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3229
  • Country: pt
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #944 on: March 01, 2021, 06:50:36 pm »
But every time I try to download the converter using the link posted multiple times in this thread

I'm not the provider of such tool.

Nonetheless, I'll say it again: there is no public tool that can correctly decrypt an .ADS file! That tool only deals with reversing and xoring some file zones. BUT, there is an encrypted part of the file that the toold doesnt decrypt SO BEWARE when using such thing. Depending on what you want to extract, the contents might be corrupted.
 

Offline DarF

  • Newbie
  • Posts: 5
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #945 on: March 02, 2021, 06:00:15 am »
  Thank you for the warning.  I have read many times in this thread that if there are any errors extracting the ecomb file, don't use it!  There is also a xml file, but the contents of it have been posted.
  I have no problem with using the "backup and delete by renaming" method.  The ecomb method just sounds more "future proof" by providing a set of keys.
  It would be nice to know why I'm denied permission.  Maybe someone reading this post knows?  Newbie thing?

  Boy!  The mobile version of this site leaves a lot to be desired as it leaves out a lot of information!  I know it's not a "newbie thing" because I'm no longer in the newbie class.
« Last Edit: March 02, 2021, 06:37:54 am by DarF »
 

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: pt
    • VMA's Satellite Blog
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #946 on: March 02, 2021, 09:05:25 am »
I posted the initial version of my "Siglent Firmware Tool" and recently decided to remove it again.

Regards,
Vitor

Offline joeB

  • Contributor
  • Posts: 14
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #947 on: March 07, 2021, 02:05:11 pm »
Yesterday I tried the upgrade described in #737. Everything worked including the verification of system information, but the unit failed to reboot. The UART output indicates ECC errors when trying to mount the root file system. Is there anything that can be done to recover from this ?

 U-Boot SPL 2013.01.01 (Jan 11 2016 - 14:14:06)
Start buzzer++
Stop buzzer--nand_init+++++
nand_init-----
>>spl_load_lcd_fpga++
LCD init()++
Lcd_Init()++
SetUpLCD()++
SetUpLCD()--
len=1228852, height=600, width=1024
Logo from nandflash: base=0x81000000; end=0x8112c01f; end-base=0x12c01f; rwsize=0x12c020; r=0x0
Lcd_Init()--
>>spl_load_lcd_fpga--


U-Boot 2013.01.01 (Jan 11 2016 - 14:14:06)

I2C:   ready
DRAM:  128 MiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

set_default_env::4309
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x3080000, size 0x240000
 2359296 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2191976 Bytes = 2.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.179899] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.795802] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp
[    0.803448] sr_init: platform driver register failed
[    0.958967] UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 3:4096, read 126976 bytes
[    1.113803] UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 4:4096, read 126976 bytes
[    1.128401] UBI error: ubi_io_read: error -74 (ECC error) while reading 11 bytes from PEB 9:6144, read 11 bytes
[    1.138954] UBIFS error (pid 1): ubifs_leb_read: reading 11 bytes from LEB 7:2048 failed, error -74
[    1.149143] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   29.66⸮
« Last Edit: March 07, 2021, 02:08:21 pm by joeB »
 

Offline joeB

  • Contributor
  • Posts: 14
  • Country: us
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #948 on: March 12, 2021, 04:08:41 am »
After a bit of research I believe I figured out why the SA failed to restart after the upgrade. The step to remount rootfs rw has the potential to corrupt the partition.  It all depends on how it was initially created. The explanation is in this link https://linux-mtd.infradead.narkive.com/aO9xNZvZ/temporarily-remounting-rootfs-as-rw-leads-to-kernel-panic-on-reboot.

With help from some of the experienced forum members I am back up and running again.
« Last Edit: March 12, 2021, 04:34:53 am by joeB »
 

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: pt
    • VMA's Satellite Blog
Re: Hack of Sigllent spectrum analyzer ssa3021X?
« Reply #949 on: March 12, 2021, 09:13:33 am »
I don't think it was any bug.

The instructions on #737 are clever, but prone to brick your SSA3021X. In my opionion, the offending step is:

Code: [Select]
Enter "cp /usr/bin/siglent/usr/mass_storage/U-disk0/ecomb8 ecomb8"
This assumes that the filesystem on the flash has enough space to have BOTH ecomb (original one and ecomb8) installed in parallel, which in your case was not true. By sync'ing and rebooting you overwrote some block in the filesystem and thus corrupted it.

I would say that it would be better, if one was to follow this route, to make a backup of the original ecomb to USB and first delete the ecomb, before copying the "ecomb8" (renaming would be unnecessary).
After generating the codes, the modded ecomb would be replaced with the original one from the backup. I guess that would be safer, but I have not tried it.

Anyway, this was one of the reasons I removed the "Siglent Firmware Tool" I had published, before someone had this issue. I don't know how you obtained the ecomb (the one you renamed to ecomb8).

To all: when modding/hacking your test equipment, especially new ones, never forget that you are messing with an expensive piece of equipment and you may/will void your warranty!

Regards,
Vitor
« Last Edit: March 12, 2021, 09:16:41 am by Bicurico »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf