PPK2 reports implausible values & modifiers - how to recalibrate?

Hello,

My PPK2 is reporting 2 zetta amperes power usage, and I found out that the "modifiers" appear really broken:

Calibrated: 0
R0: 3095044895830869060112875520.0000
R1: 0.0000
R2: 0.0000
R3: 0.0000
R4: 0.0000
GS0: 0.0000
GS1: 138.3582
GS2: 21.5994
GS3: 3.0130
GS4: 0.0876
GI0: 1.0000
GI1: 0.9614
GI2: 0.9534
GI3: 0.9415
GI4: 0.9521
O0: 0.0000
O1: -2814926129201152.0000
O2: 0.0000
O3: -2251799813685248.0000
O4: 0.0000
VDD: 3300
HW: 54350
mode: 2
S0: -0.000000009
S1: -0.000000064
S2: -0.000000512
S3: -0.000004891
S4: 0.002447326
I0: 0.000000044
I1: 0.000000364
I2: 0.000061116
I3: -0.000254856
I4: -0.007713722
UG0: 1.00
UG1: 1.00
UG2: 1.00
UG3: 1.00
UG4: 1.00
IA: 58
END

I have attempted to re-flash the ppk2 firmware, but that had no effect.

This affects both measurement modes, but in source mode the correct voltage is still output.

Intercepting the modifiers before they are parsed and replacing them with some from a different PPK2 again results in plausible measurements.

This may be related to accidentally writing a binary image intended for a different device onto the PPK2 serial port, assuming there are serial commands to configure those values which do not verify plausibility and do not have a checksum.

Is it possible to re-calibrate the device, or will it have to be replaced?

Parents
  • Hi

    Based on your initial ticket, we assumed you were running your own software/app or were modifying ours so that you would be able to hard code these values in for now. I have currently contacted the devs/PMT regarding whether we can share the API calls that are used for the calibration data with you as they are not public, but we will have to wait for their yes/no before sharing anything on how to use these log data with you. Sorry for the inconvenience.

    Best regards,

    Simon

Reply
  • Hi

    Based on your initial ticket, we assumed you were running your own software/app or were modifying ours so that you would be able to hard code these values in for now. I have currently contacted the devs/PMT regarding whether we can share the API calls that are used for the calibration data with you as they are not public, but we will have to wait for their yes/no before sharing anything on how to use these log data with you. Sorry for the inconvenience.

    Best regards,

    Simon

Children
Related