I get 65535 all the time.
In the manual it says
system_get_vdd33 can only be called when TOUT pin is suspended
I do not know what is the case on ESP-01. But let's assume* it is suspended...
I went on reading...
The 107th byte in esp_init_data_default.bin(0〜127byte) is named as
“vdd33_const“ , when TOUT pin is suspended vdd33_const must be set as
0xFF, that is 255
Ok, I thought. Have a look at this file. This is the current (SDK 1.2.0) esp_init_data_default.bin:
Code: Select all
05 00 04 02 05 05 05 02 05 00 04 05 05 04 05 05
04 FE FD FF F0 F0 F0 E0 E0 E0 E1 0A FF FF F8 00
F8 F8 52 4E 4A 44 40 38 00 00 01 01 02 03 04 05
01 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00
E1 0A 00 00 00 00 00 00 00 00 01 93 43 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
So byte 107 is 0 by default? This does not seem right to me... Can someone explain?
* If my assumption was wrong and the pin is not suspended... another quote from the SDK:
The 107th byte in esp_init_data_default.bin(0〜127byte) is named as
“vdd33_const”, and when wire TOUT pin to external circuitry, the
vdd33_const must be set as real power voltage of VDD3P3 pin 3 and 4.
Still 0 has to be an incorrect value.