I'm guessing maybe the configuration from the last operating mode is saved somewhere on a file so when it reboots, it redirects to that code. What I am curious about is what the exact bootup sequence is up to the initialization file so I can reset it to the factory default configuration. What is the name of the initialization file, the factory default configuration file, and the directory?
well yes, there is config file. But actually this is what Hantek implemented on my request, a watchdog deleting
config file if something wrong, if dso.exe killed, if crashed etc. Additionally the watchdog have to reboot the DSO.
So far the watchdog always worked for me, i've used bad config file etc to force to crash, but as i said, it was always doing the job.
So it can be that:
- something physicaly is broken (e.g. memory)
- something physicaly is not connecitg (like the 2 power rail plugs on left and right side of the mainboard)
- NAND is having bad sectors and the driver didn'T recognized it properly and not moved data somewhere (i had this
already once, i bought cheap NAND chips and most of them was fucked up. My DSO was not able to handle few of them.
Now i have a half tray with new chips, they working always)
- filesystem is having error generally, should be never this case but who knows.
Now what you an do is to open the enclosure and first try to un/replug the two power rail plugs on the left and right side of PCB.
If this will not fix your DSO then you will have to use different way, to connect the internal UART port via UART<->USB adapter to your PC, set PC Terminal app to 115200, 8n1, boot DSO and atch the messages. If you can see them while rebooting DSO, then at least hardware is maybe ok. Then try to get into the shell by using space, then ctrl+c and enter.
If you can oepn the shell, then go to folder /param/sav/ and delete the file run1kb**** or simply
rm /param/sav/r*
After that you can try to reboot DSO, it should then boot with default config. If not, well then you will have to send it back to the dealer.
In addition, the scope displayed the factory default screen for a few months whilst rebooting. Sometime recently however, it has been going back to the last used configuration.
oh well, this is already an indication for something wrong there.
Did you ever made backup of your DSO? If not (and if 'we' manage to let is boot properly) then i would like to
get backup of your DSO, simply to double check if there is something in the file system killing your device.
How to backup ->
https://www.eevblog.com/forum/chat/hantek-tekway-dso-hack-get-200mhz-bw-for-free/msg35683/#msg35683