Hantek support likely has records of the original calbration values linked to your serial number that can be restored with a custom update package. At least for the units that are supposed to have them.
There has been some previous discussion in setting calibration values for the AWG....
There is no AWG calibration option on the D10 I bought earlier this week...
Actually there is a practical way of calibrating the AWG. Please read the attached file Calibration_upk.doc....
# cal
Hantek DSO2x1x Wavegen calibration tool v0.1
Usage:
cal -r - Reset calibration data
cal -s <A> <B> - Manually set calibration
cal -c <Hi> <Lo> - Generate new calibration
cal -h | --help - This help screen
A reboot is always required to reload the new calibration data!
For the calibration to work, you must first reset the calibration, reboot,
then set the WaveGen to 1KHz, 1Vpp, probe in 1x DC and measure:
Hi: Peak positive voltage in mv
Lo: Peak negative voltage in mv
Then re-run the tool with the measures, ex. "cal -c 568 -630"
# cal -r
Reseting calibration data
Out:
A:1.000000 0x3FF0000000000000
B:0.000000 0x0000000000000000
EEPROM:
1.0000000.000000
Success
# xxd /cache/dds_calbration.dat
00000000: 1000 1000 0000 0000 0000 0000 0000 f03f ...............?
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000020: 0000 0000 0000 0000 ........
# i2cdump -y 0 0x50
...
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: 31 2e 30 30 30 30 30 30 30 2e 30 30 30 30 30 30 1.0000000.000000
f0: 10 10 18 05 15 04 22 ff ff ff ff ff ff ff ff ff ??????".........
# ./cal -c 544 -608
In:
AY:544.000000 BY:-608.000000
Out:
A:0.868056 0x3FEBC71C71C71C72
B:7.372800 0x401D7DBF487FCB92
EEPROM:
0.8680567.372800
Success
# xxd /cache/dds_calbration.dat
00000000: 1000 1000 0000 0000 721c c771 1cc7 eb3f ........r..q...?
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000020: 92cb 7f48 bf7d 1d40 ...H.}.@
# i2cdump -y 0 0x50
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
...
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: 30 2e 38 36 38 30 35 36 37 2e 33 37 32 38 30 30 0.8680567.372800
f0: 10 10 18 05 15 04 22 ff ff ff ff ff ff ff ff ff ??????".........
The Word Doc confirms my suspicion that the 2C1x don't contain the AWG Calibration values.
The Word Doc confirms my suspicion that the 2C1x don't contain the AWG Calibration values.This is not entirely so. At least the last four devices 2C10 reported by the participants in 4PDA forum (e.g. here: https://4pda.to/forum/index.php?showtopic=1018961&view=findpost&p=115355039, https://4pda.to/forum/index.php?showtopic=1018961&view=findpost&p=115643634) had all AWG hardware inside, there was a real calibration file, and the calibration coefficients were also on the PT24C02. But this of course does not guarantee that you will get the same.
A1 = AY - BY;
A = 1000 / A1;
B1 = -AY - BY;
B = B1 / A / 10.0;
A=0.844595 A1 = AY - BY;
A = 1000 / A1;
B1 = (-AY - BY)/2;
B = B1 / A / 10.0;
A=0.844595
... Edit: The algorithm is definitely wrong.
After calibrating, try setting a 500mV signal. The offset is huge.
Run Eeprom backup tool and Backup builder...
Send the files and I'll tell you if it contains calibration data
(Or just run DSO2D15 converter after you made the backups, if it matches the adjusted output, it's fine then!)
[SNIP]
To allow an easy users to revert to defaults (eg: for warranty return), how difficult would it be for you to make 3 new UPKs:
dso3kb_2C10_conversion.upk
dso3kb_2C15_conversion.upk
dso3kb_2D10_conversion.upk
No need of such, that's what Backup builder does, make your backup before doing anything, then whatever happens, restore it.
One of the issues here is that there is little/no information inside the packages that shows what each UPK actually changes.
Before doing anything, save your important data!
- Make a flash backup (Check DSO Flash Tool below)
- Run Backup Builder (In Mods section)
- Run Eeprom backup (In Mods section)
I coudn't see the voltages there.