Hello all happy miners:

Recently I purchased a Minerfixes
Lucky Miner LV08 and I must say I am very impressed with it!
For the first few days I was tweaking it a fair bit to see what TH/s I could get out of it at various frequencies and voltages. As an example,
3.6 TH/s is achievable at 450 MHz and a core voltage of 1.135v (yes stable). Depending on the ambient temperature (I was supplying additional external cooling), the power level at the wall was between 79 and 82 watts. This is almost
1 TH/s higher than my Avalon Nano 3 at a similar power level.
Unfortunately Minerfixes have disabled the ability to update the firmware through the website of the miner itself. That's where a jTAG and probe has come in handy and allowed me to install a customized firmware. I made a backup of the original firmware before I started testing other firmware of course.
Incidentally, the LV08 firmware has it listed as a devicemodel =
supra with boardversion =
402.
My goal is to do some tweaking in the code as well as add some additional logging. The current firmware I am testing with the LV08 is this one from the GitHub:
https://github.com/TinyChipHub/ESP-Miner-TCH/releases/tag/v2.5.1However I have hit upon a snag. With the TCH v2.5.1 firmware installed, only 6 out of 9 of the BM1366 ASICs are actually working according to the Chip Submit logging. With the setting I've listed above, the hashing rate only gets to 2.4 TH/s which is about two thirds of the expected of 3.6 TH/s. But surprisingly the power level at the wall is a little higher than what I've listed above. I should mention that some of the meter readings on the website are wrong as well though.
There are
3 x TPS546 Voltage Regulators on the LV08. All 3 of them have different addresses on the I2C bus. This is a snippet from the Logs of the original Minerfixes firmware:
₿ (1191167) power_management: 7F vout: 1.09, iout: 13.67
₿ (1191167) power_management: 24 vout: 1.09, iout: 14.00
₿ (1191167) power_management: 14 vout: 1.09, iout: 10.61
At this power level the watt meter was showing
63 watts with a hashrate of
3 TH/s. That's
21 watts per TH at the wall!
As you can see from the 3 lines above the
I2C addresses are
0x7F, 0x24 and 0x14But when I install firmware
TCH v2.5.1 this is what I get on the regulators:
₿ (809655) TPS546: Got Vin: 12.125 V
₿ (809655) TPS546: Got Iout: -0.357 A
₿ (809665) TPS546: Got Vout: 0.049 V
₿ (810305) TPS546: Got Vout: 0.051 V
₿ (810945) TPS546: Got Vout: 0.049 V
I have tried sending different configurations to the TPS546 Voltage Regulators such as:
.TPS546_INIT_SCALE_LOOP=0.125f,
.TPS546_INIT_VOUT_MAX=4.5f,
.TPS546_INIT_VOUT_COMMAND=3.6f,
.TPS546_INIT_VOUT_MIN=2.5f,
.TPS546_INIT_SCALE_LOOP=0.25f,
.TPS546_INIT_VOUT_MAX=3.0f,
.TPS546_INIT_VOUT_COMMAND=1.2f,
.TPS546_INIT_VOUT_MIN=1.0f,
.TPS546_INIT_SCALE_LOOP=0.5f,
.TPS546_INIT_VOUT_MAX=1.5f,
.TPS546_INIT_VOUT_COMMAND=1.0f,
.TPS546_INIT_VOUT_MIN=0.5f,
.TPS546_INIT_SCALE_LOOP=1.0f,
.TPS546_INIT_VOUT_MAX=0.75f,
.TPS546_INIT_VOUT_COMMAND=0.5f,
.TPS546_INIT_VOUT_MIN=0.25f,
All these configurations yielded the same results above with some small milli-volt changes only.
In the source code of the TCH v2.5.1, I did notice that there is only one TPS546 device that is assigned to the I2C bus and that is with the 0x24 address. So I added some additional code to add all 3 TPS546 Regulators on the I2C bus (with 0x7F, 0x24 and 0x14 addresses) and confirmed all 3 successfully added. I also tried the different voltage configurations above and also verified that they are set. However now, the power at the wall is only 3.5 watts! The only thing that appears to be working is the ESP32 itself as I'm still able to upload new firmwares and try again.
I know the TPS546 can be stacked 2x, 3x and 4x allowing up to 160A of current and be programmed through one address all at the same time. But I'm unfamiliar with how to do this. So some help would be appreciated.

I have sent an email to Minerfixes for some help as well, but I'm not holding my breath.
