Products > Test Equipment

Hantek HDG2002B AWG: 5Mhz or 100MHz? Let's see!

<< < (60/134) > >>

flatlander:

--- Quote from: Cyber7 on October 22, 2014, 07:52:28 am ---@FLatlander: Could you post your FPGA bin file? I'd be interested to see if they have done anything about the jitter that gets really bad above 5mhz for the standard waveforms.

--- End quote ---

OK, copied the FPGA firmware file (see attachment). The date in the file header is 2014/09/20, so a few months more recent than Cyber7's. I also unlocked the extra bandwidth, which still seems to work but I haven't had time to do extensive testing.

@Cyber7: Great initiative with the HDG2002B website, looks great. Good to have everything easily accessible in one place.

FrankenPC:
That website is great!  What does the audio section theoretically do?

Cyber7:
@flatlander: Thanks! I'll try it out tonight.

@FrankenPC: My guess: Hantek copied all the peripherals from the devkit! :-DD Really, they probably thought to provide some bells and whistles, but a piezo buzzer is much cheaper than a codec, amp, spkr combo.

Maybe some 'enterprising' engineer out there will work up an LCARS skin and audio mod! :-/O

I'm presently digging around LXI & VXI-11 specs/codes for linux to get familiar with the protocol. I may be able to get away with a sockets server daemon that pipes messages to the Android USB driver, as the SCPI language support looks fairly extensive based on the English user manual. I have a 2416SDK as well as the GPL sources for the DSO5000 (same kernel rev, and similar U-boot), so I'll see about adding FTP, SSH, etc, to simplify mod development.

Cyber7:
Ok, while I was testing the DM9000 ethernet mod, I ran the AWG's PCB outside the case without the front panel, with a separate cooling fan across the PS and main PCB. So I used TTSOURCE to control the unit. No problems. Now that I have put everything back together: The front panel controls the device, LCD works, self diags all OK, USB ok, ethernet pings + telnetd mod works great. TTSOURCE reads the unit and controls the AWG, BUT the LCD & button LEDs no longer update when I make a change in TTSOURCE!  |O

I've reset the AWG firmware to factory defaults using the U-boot recovery partition. Lost my software tweaks and BW limit mod, but still no dice; the front panel will not reflect changes made via USB/TTSOURCE. I've also had a few BSODs on the win64 host PC while changing controls via TTSOURCE.

Tried, with No effect: Firmware reset to factory settings, ethernet cable jacked in/out, different USB cable, different PC & driver.

Hardware mods: Ethernet (added all missing parts), Hi-freq counter (added 5080  IC and RF jack), output fix (removed caps, inductors).

 Anyone with the DM9000 mod have a similar issue? :-//

EDIT: Guess I was imagining the display/front panel updated when TTSOURCE was modified. :palm: Just reread the thread, and idpromnut wrote last July regarding TTSOURCE control:
--- Quote ---You won't see anything on the HDG itself as the leds and the display are not updated but you will hear the relays when switching a channel on or off.
--- End quote ---
 

Can anyone confirm this behavior with a unit running FW v1.00.2 ? Thx.

Cyber7:
In my apparent Quixotic attempt to 'fix' the ttsource/front panel issue I did find this interesting bit:

SCPI Commands are found within library: libhtg1000.so
used by:
test_cmd
afg_bin

[root@Hantek /dso/app]#./test_cmd
./test_cmd: error while loading shared libraries: libanolis-1.1.0.so: cannot open shared object file: No such file or directory

Argh. :( Ok let try simlinking to the 0.0.0 lib available:

ln -s /dso/lib/libanolis.so.0.0.0 /dso/lib/libanolis-1.1.0.so

-------------------------------------------------------------------------------
./test_cmd
lib htg version:1.00.1.0
<7>dma0: s3c2410_dma_request:734: ls=0, cur=  (null),   (null)   (null)
0
Usage: htg -cmd `scpi cmds`
0

Aha! it runs. :) Funny thing is that I hear relays clicking even when no command is specified.
-------------------------------------------------------------------------------
./test_cmd -cmd *IDN?
lib htg version:1.00.1.0
0
input is *IDN?
findCommand: cmd founded, *IDN?
hantek,HDG2002B,DDSxxxxxxx,result is 1

serial xxx'ed out

-------------------------------------------------------------------------------
./test_cmd -cmd IDN?
lib htg version:1.00.1.0
<7>dma1: 00000002 to DMASKTRIG
0
input is IDN?
SCPI_Parse: undefined cmd
**ERROR: -113, "Undefined header"
result is 0
0

Purposedly skipped the * so its invalid.

Interesting thing is that sometimes when turning a Output On/OFF I would get:
SQL error: database is locked

Seems the control's status is maintained via SQLlite.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod