Products > Test Equipment

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

<< < (46/134) > >>

fremen67:

--- Quote from: FrankenPC on July 04, 2014, 11:54:36 pm ---
--- Quote from: idpromnut on July 04, 2014, 11:18:06 pm ---@fremen67/FrankenPC:

How do I get the HDG connected to TTsource? I tried following your instructions above, and while I can load the wave data into TTsource, I can't seem to connect to the funct gen or remotely control the generator. Is there additional software that needs to be installed aside from TTsource?

--- End quote ---

I had the same problem.  I switched USB ports and the problem went away.  The USB driver is garbage.  It leaks like a sieve.  At least the Windows 7 64bit one does.  The driver actually blue screened my laptop once.

--- End quote ---
I also had a blue screen, on a USB3.0 port. I have to use a usb 2.0 port...
If you are able to load data from the HDG (Initial -> real time -> read operation) then it should work. 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.

FrankenPC:

--- Quote from: fremen67 on July 05, 2014, 12:09:10 am ---
--- Quote from: FrankenPC on July 04, 2014, 11:54:36 pm ---
--- Quote from: idpromnut on July 04, 2014, 11:18:06 pm ---@fremen67/FrankenPC:

How do I get the HDG connected to TTsource? I tried following your instructions above, and while I can load the wave data into TTsource, I can't seem to connect to the funct gen or remotely control the generator. Is there additional software that needs to be installed aside from TTsource?

--- End quote ---

I had the same problem.  I switched USB ports and the problem went away.  The USB driver is garbage.  It leaks like a sieve.  At least the Windows 7 64bit one does.  The driver actually blue screened my laptop once.

--- End quote ---
I also had a blue screen, on a USB3.0 port. I have to use a usb 2.0 port...
If you are able to load data from the HDG (Initial -> real time -> read operation) then it should work. 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 ---

Mine blue screened on my USB 2.0 port.

rdg:
@fremen67

--- Quote from: fremen67 on June 27, 2014, 12:01:23 am ---I PM you the link. My backup has my serial in it and I am too lazy to do it again   ;)

--- End quote ---

I have had a go at updating to your version of the firmware with nandwrite, turns out it segfaulted and looks like I have a bricked HDG for now. Will have to look at rewriting it with JTAG, if you could let me know your setup and procedure for doing that it would be great.

Also, I have made a full teardown of the device and compared the boards. It looks like I probably have the same board (1.00.2, 2013-06), though I am missing one bodge they have made -- the extra components near the count trig BNC. Presumably they did this for some reason but I can't make out the details from the hires pictures.

I have included pictures of all the hand-made mods below. On my unit they have crudely hacked out a piece of the chassis near the counter BNC, presumably so that it is possible to get to the mounting standoff. On both of our units it looks like the HF counter BNC was populated at one point and removed by hand.
 

fremen67:

--- Quote from: rdg on July 05, 2014, 03:53:36 am ---Will have to look at rewriting it with JTAG, if you could let me know your setup and procedure for doing that it would be great.

--- End quote ---
If you want to restore the whole Nand via JTAG, H-JTAG/H-Flasher is the way to go. It will work with a low cost LPT Wrigler type JTAG interface. In the last version, V3.0, there is already a template for S3C2416+K9F1G08 Nand Flash ready to use.
http://www.hjtag.com/en/xz.asp
Either you concatenate you 4 nanddump files in one (Boot+logo+kernel+rootfs) and restore the whole flash, either you flash it in 4 times. Usually you don't need to flash the bootloader (safer because you will always have access to u-boot in case of flash problem), nor the logo (empty).
The Nand flash in the HDG is a 128Mb one. It is divided in 1024 blocks of 64 pages, each page containing 2048 bytes.
If you want to flash a specific part of the Nand, you will have to tell H-Flasher which block and page number to start with. Here are the values in Hex and the corresponding values in Block/page:
                        Beginning      End          Beginning   End
Bootloader         0                 100000     0/0            7/63
Logo                 100000        300000      8/0            23/63
Kernel               300000        700000      24/0          55/63
Rootfs               700000       8000000     56/0          1023/63

You also have the choice to flash only data or data with spare blocks (spare/oob), which you will choose.
It takes 3 1/2 hours with the LPT interface to flash the whole nand with oob (132Mb). Quite long but it works ...

Usually you just need to flash the bootloader via Jtag (if you can't see u-boot when starting) and then you can use u-boot to flash the nand via SD, USB or tftp (if lan is available). With my dev board, I have a tool to prepare a SD so that it can update the nand via u-boot but I had to mod a bootloader for that because of file size problem (limited to 64Mb). I did not test that with the HDG yet...(on my todo list  :))

If you need more details on how to, just ask me.

fremen67:

--- Quote from: tinhead on May 18, 2014, 05:55:20 pm ---
--- Quote from: fremen67 on May 18, 2014, 11:31:11 am ---
--- Quote from: idpromnut on May 18, 2014, 04:44:30 am ---I think you may have been running into a limitation of your scope for at least the sine wave past 30MHz or so.

--- End quote ---
Possible but I hope not  :(
I have a MSO5062B hacked to 200Mhz and made Tinhead's frontend hack on channel 1... and the results are the same on both channels.
@Tinhead: what do you think?

--- End quote ---

something is wrong on your pictures, and it is probably MSO. It is always good idea to hack/change both channels, with only one you running into calibration trap.

--- End quote ---
I received today a replacement board for my MSO and have exactly the same results. The amp of a 2V sine decrease above 30Mhz to 340 mV à 100MHz.
So it has to come from the HDG.
With my stock MSO board:
30 000 000.000 000 Mhz -> 1.98 V
30 000 000.000 001 Mhz -> 1.62 V !!!

Software "issue" of v1.00.1?

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