Products > Test Equipment
Hantek HDG2002B AWG: 5Mhz or 100MHz? Let's see!
<< < (24/134) > >>
idpromnut:
Actually, after a bit more looking, fremen67 can you check what is in your /etc/anolis.conf?  Mine is empty, and that seems suspicious.
fremen67:

--- Quote from: idpromnut on May 20, 2014, 10:16:25 am ---Actually, after a bit more looking, fremen67 can you check what is in your /etc/anolis.conf?  Mine is empty, and that seems suspicious.

--- End quote ---
OK I will do it when back home. Did you list all the lastly modified files? I could send you all of them if needed.
One file you should absolutly backup is the htg.cal in /etc because it has the initial calibration of your hdg and at the moment the calibration procedure is still buggy.
The embedded nanddump utility doens't work well for backing up root file system but it could simply be done with the dd command.
I will post the procedure later on...
idpromnut:

--- Quote from: fremen67 on May 20, 2014, 01:15:34 pm ---
--- Quote from: idpromnut on May 20, 2014, 10:16:25 am ---Actually, after a bit more looking, fremen67 can you check what is in your /etc/anolis.conf?  Mine is empty, and that seems suspicious.

--- End quote ---
OK I will do it when back home. Did you list all the lastly modified files? I could send you all of them if needed.
One file you should absolutly backup is the htg.cal in /etc because it has the initial calibration of your hdg and at the moment the calibration procedure is still buggy.
The embedded nanddump utility doens't work well for backing up root file system but it could simply be done with the dd command.
I will post the procedure later on...

--- End quote ---

At this point, there are a few files in /home/user that were modified at the same time as the anolis.conf file. If you could throw me a copy of everything in/etc and /home/user that would be helpful. I have a backup of the htg.cal file already.
fremen67:

--- Quote from: idpromnut on May 20, 2014, 01:26:03 pm ---At this point, there are a few files in /home/user that were modified at the same time as the anolis.conf file. If you could throw me a copy of everything in/etc and /home/user that would be helpful. I have a backup of the htg.cal file already.

--- End quote ---

Here is the original content of /etc and /home. (I just replaced my serial in system.inf with 0000). Just remove the .hex extension and unzip.
I suggest you move your directories somewhere and take those one instead as a test. I hope it will work with just your system.inf and hdg.cal...
idpromnut:
AH HA!  Success!  But with a twist ;)

So my problem turned out to be not the saving of the status of the HDG2002, but actually doing the following:

- Go to Utility, select System Status
- Toggle the "Startup" option to "Last" (to set the funct gen to restore to the last setup before power-off I assumed!)
- Exit back to the main channels screen
- Power Cycle the generator using the power button on the front panel.

When the HDG2002 reboots, POOF! No more main screen after the Hantek logo briefly flashes on screen. So what happened? It turns out that the problem is actually that the BACKLIGHT is set to level 0 by doing the above procedure. I found this out by logging into the serial console and finding the /dso/app directory. In here, there are a couple of "test" binaries:


--- Code: ---test_beep
test_bkl
--- End code ---

I tried them both but the test_bkl was the interesting one. When I ran it with the following options:


--- Code: ---./test_bkl on 105
--- End code ---

Poof the display popped back on! Of course on reboot it turned back off again. So after temporarily re-enabling the backlight, I went back into Utility -> System Status -> Startup and set it to Default, power cycled and boom, back in business no worries.   :palm:

Well I guess there are still a few bugs in the firmware  ::)   Please note that you can run into this bug REGARDLESS OF WHETHER YOU CRACK THIS FUNCTION GENERATOR OPEN OR NOT, and it has nothing to do with modifying the HDG2002. Except that if you don't crack it open after you do this, you seemingly have no way to recover.   :-//

Hope this helps someone else!
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod