EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: BillB on May 20, 2018, 03:59:03 pm

Title: Siglent SDM3045X Boot Hang
Post by: BillB on May 20, 2018, 03:59:03 pm
Haven't turned it on for a while, but today I fired it up and it is hanging at the Siglent boot screen.  I do have the latest firmware installed: SDM3045X_5.01.01.03 which is supposed to support a USB recovery.  However, I'm not sure I know the procedure for doing it?

Help me tautech, you're my only hope!  :scared:
Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on May 20, 2018, 06:27:26 pm
Sure I will.  :)

Great you have the latest FW installed that supports recovery, that makes it much simpler.  :-+
I have to request the recovery package from the factory or you could from Siglent USA but I'll have it faster than them unless they have on file....they probably do. (I don't yet have the SDM recovery package)
It'll most probably be a link to a download package (zipped or rar'ed) including specific instruction to place the files in the root sector of your thumb drive.....so clean one in readiness.  ;)

I still have your email Bill so I can send the link or file direct to you.

Important note:
It is only provided on the understanding it is NOT made public otherwise your unit must go to an authorized repair center.

I should have something in ~8hrs when they're up and running for Monday morning.

Title: Re: Siglent SDM3045X Boot Hang
Post by: BillB on May 20, 2018, 07:35:11 pm
Sounds good!  I probably should contact Siglent USA, but you're so darn helpful!   :-+ 
Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on May 21, 2018, 08:56:00 am
Sounds good!  I probably should contact Siglent USA, but you're so darn helpful!   :-+
Thanks.  :-[

They're sure taking their time Bill but I'm off to the scratcher so hopefully there's something in my inbox for you in the morning.  :=\
Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on May 24, 2018, 08:56:37 pm
I got the files from Siglent yesterday and forwarded them to Bill by personal email.

Did they do the recovery trick for you Bill ?
Title: Re: Siglent SDM3045X Boot Hang
Post by: BillB on May 24, 2018, 10:45:05 pm
Well, I gave it a go a few times with different USB drives, but nothing seemed to work.   :-BROKE

Looks like I'll need to contact Siglent America and get an RMA. 

Thanks again though for the help!
Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on May 24, 2018, 10:53:57 pm
Well, I gave it a go a few times with different USB drives, but nothing seemed to work.   :-BROKE

Looks like I'll need to contact Siglent America and get an RMA. 

Thanks again though for the help!
Bugger !
I'll make sure they know of this thread.
Title: Re: Siglent SDM3045X Boot Hang
Post by: radiolistener on May 24, 2018, 11:30:30 pm
This is why I'm afraid to buy a new Siglent equipment. These things may become to a brick at any random time.  :(
I'm looking at SDG2042X for more than one year, but I'm afraid to buy it, because of possible pitfalls...
Title: Re: Siglent SDM3045X Boot Hang
Post by: Performa01 on May 25, 2018, 02:36:05 am
Well, I gave it a go a few times with different USB drives, but nothing seemed to work.   :-BROKE

I thought about that issue the last few days (since a few people had troubles updating the OS in their SDS1004X-E) and have a strong suspicion - it's most likely an USB stick compatibility issue after all.

While the instruments seem to handle most USB sticks just fine during regular operation (as long as they are FAT16/32 format), the boot loader is a completely different piece of software that uses more basic device drivers and might be more picky.

I don't know what USB sticks you have tried, but from my experience, Transcend works absolutely reliable and I would expect the same for SanDisk (cannot test this because I don't have an alternative OS version for the SDS1004X-E). If you haven't tried one of these, it might be worth doing so first, before sending the unit anywhere.
Title: Re: Siglent SDM3045X Boot Hang
Post by: tv84 on May 25, 2018, 09:39:04 am
While the instruments seem to handle most USB sticks just fine during regular operation (as long as they are FAT16/32 format), the boot loader is a completely different piece of software that uses more basic device drivers and might be more picky.

(I also believe it's a USB stick problem...)

Let's try to understand this in a more scientific way:

As Performa01 suggests, it definitely can be (or is) a problem in the way the sticks's USB controller handles the scope's requests. The scopes usually use several raw-access routines which may not be correctly handled by the controller.

For example, in the DS1054Z, Rigol tries to read explicit boot sectors to see if the stick is a "special vendor USB stick" which triggers special options/access rights. Those raw boot sector access routines are not used anywhere else in the scope, only on USB boot/insert.

I suggest you all to use the ChipGenius  (http://www.usbdev.ru/files/chipgenius/ (http://www.usbdev.ru/files/chipgenius/)) software to see which  is the controller/fw version of your stick and to establish a compatibility table with these scopes.

And, when you mention sticks that work or not work, include that controller reference so that we try to map the valid ones.
Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on May 25, 2018, 09:46:09 am
While the instruments seem to handle most USB sticks just fine during regular operation (as long as they are FAT16/32 format), the boot loader is a completely different piece of software that uses more basic device drivers and might be more picky.

(I also believe it's a USB stick problem...)

Let's try to understand this in a more scientific way:

As Performa01 suggests, it definitely can be (or is) a problem in the way the sticks's USB controller handles the scope's requests. The scopes usually use several raw-access routines which may not be correctly handled by the controller.

For example, in the DS1054Z, Rigol tries to read explicit boot sectors to see if the stick is a "special vendor USB stick" which triggers special options/access rights. Those raw boot sector access routines are not used anywhere else in the scope, only on USB boot/insert.

I suggest you all to use the ChipGenius  (http://www.usbdev.ru/files/chipgenius/ (http://www.usbdev.ru/files/chipgenius/)) software to see which  is the controller/fw version of your stick and to establish a compatibility table with these scopes.

And, when you mention sticks that work or not work, include that controller reference so that we try to map the valid ones.
Yes I strongly suspect you are right.
For something like an OS upgrade or in this case a boot recovery where files are accessed from the stick very early in the boot process I've always taken the precaution of using a freshly formatted stick.

Did you try this Bill ?
Title: Re: Siglent SDM3045X Boot Hang
Post by: BillB on May 25, 2018, 05:16:25 pm
My first attempt was with a Transcend 32GB flash drive that did work for the OS update on SDS1104X-E (even though I knew that the SDM3045X instructions said that 16GB drives wouldn't work I figured what the heck) and that didn't work.  Then I tried a FAT16 formatted, generic 2GB flash drive, and that did not work either.  Unfortunately, while I have lots of other flash drives, they are all 16GB or larger.  For giggles, I tried a 16GB Corsair formatted as EXFAT, and that didn't work either.

I know that with some other embedded linux systems I've worked with, the ROM boot loader was particular about the MLO (x-loader) being the first file on the device, so I even made sure that was the case.

I've got an RMA from Siglent America, so it's going into a box tonight.  :'(

Title: Re: Siglent SDM3045X Boot Hang
Post by: BillB on June 14, 2018, 10:35:40 pm
Siglent America fixed it (though, I didn't get any not about what the problem was or what they did to fix it.)  Turn around from leaving the house to getting it back was 2 weeks.  :-+
Title: Re: Siglent SDM3045X Boot Hang
Post by: BillB on July 15, 2018, 08:51:47 pm
Fired up the SDM3045X again this morning and it hung at boot again.   :(

I loaded the firmware update recovery files that tautech gave me the first time onto a USB flash drive that I tried before and gave it a go.

I'm happy to report that it recovered successfully this time!



Title: Re: Siglent SDM3045X Boot Hang
Post by: tautech on July 15, 2018, 09:03:43 pm
Fired up the SDM3045X again this morning and it hung at boot again.   :(

I loaded the firmware update recovery files that tautech gave me the first time onto a USB flash drive that I tried before and gave it a go.

I'm happy to report that it recovered successfully this time!
:phew:
Bill, can you please drop a note to the guys you dealt with in Ohio to let them know.
TIA.