Open bootrino opened 5 years ago
I found the problem.
It happens when ./Library/Arduino15/packages/esp32/hardware/esp32/1.0.1/tools/partitions/default.csv
contains this:
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
storage, data, spiffs, , 0xF0000,
Looks like the partition parsing code in this utility can't handle that partition structure for some reason.
@bootrino , first of all, huge fan of your work! especially with the esp32 a2dp source project! Now let me ask, did you find a solution for this tool with the modified partition? if no, there is any other similar tool available! Thank you
@bootrino . Well I just returned the lib its original content, use the tool and its working perfectly! Ty!
@DarvosBR thanks for the kind words. I fixed it in the end by modifying the esp32 partition csv file - I suspect the problem is this utility cannot parse the line that says "1M" but I never bothered digging any deeper.
Could it be happening when the offset is empty?
I can confirm it does work when the offset is not blank.
I used this command to convert the partition table with blank offset values to a bin:
python gen_esp32part.py input_partitions.csv binary_partitions.bin
And then verify the bin file just created with the command above:
python gen_esp32part.py binary_partitions.bin
And jsut like that it will print the computed offsets in console for you. You can then replace the csv file with the new values computed.
Guys I found the solution, at least in my case, by using mkspiffs tool provided by espressif, I made a new partition csv but in order to use the mkspiffs to upload the WAV file I made a batch script to run the mkspiffs with the memory locations I need.
I get the following error trying to upload using this plugin:
Any clues valued.