I am sure they are STILL keeping you up at night.
Actually they forced me to learn VS/platformIO usage ,so a good loss of sleep in the end .
I am sure they are STILL keeping you up at night.
I assume for the Lolin D32 Pro I set the environment to d32_pro? I gave it a quick go but it seems I need to pull a pin high/low or something to program, it times out trying to connect. It did autodetect the COM port which is positive. I will look at that tonight.
I have not had this issue. I upload a new image with the SD Card plugged in all the time.If there is an SD Card installed on your D32 Pro then remove it and try the upload again. I have to do this on my ESP32 TTGO-T8 boards and perhaps the Lolin D32 is the same.
If you have any suggestions on why if I build and load through the IDE, I can do the file system load through the IDE; but I can't load the file system through the IDE if I do the build and load through Platform IO it would be a good learning opportunity for me.
To get it working, I followed Thomas's instructions above and if I upload the file system through Platform IO all is good!!!
I've got it working! I know how, but I don't know why.... LOL.
The D32 pro had the same issues for me as the D1 mini. I did need to pull IO0 low to get it to program. Looking online it seems this could by my laptop's issue. Some people use a USB hub and the problem goes away... Weird.
SD card being installed or not has no effect.
To get it working, I followed Thomas's instructions above and if I upload the file system through Platform IO all is good!!!
This is consistent with both the mini D1 and the D32 pro. After I had it working with Platform IO to confirm I hadn't fixed it some other way I went back to the IDE, did the little F's upload, reboot, little F's can't mount. Went back to Platform IO, just did a Filesystem load, reboot, all is good with the world.
I'm happy I can get things working by ignoring the IDE. The engineer in me wants to understand why I have issues with the IDE, but I'm going to drop that for a bit and instead focus on making pixels flash.
Thank you much Martin and Thomas for your help!!!
If you have any suggestions on why if I build and load through the IDE, I can do the file system load through the IDE; but I can't load the file system through the IDE if I do the build and load through Platform IO it would be a good learning opportunity for me.
That would make sense, but this may be a little over my head...My best hunch is that the build partition sizes are not exactly the same on the two build platforms. For example, check the "board_build.partitions" environmental condition stated in platformio.ini. If the Arduino IDE does not use the same partition specs then that can cause grief if you use it to upload data files to the Platformio flashed device.
Good question. I abandoned the Arduino IDE when I migrated to ESP boards, so those ESP32 build choices are a mystery to me. However, I would choose the entry that says "Minimal SPIFFS (Large Apps with OTA)"). Perhaps that is the equiv of Platformio's min_spiffs.csv partition file. Or maybe not.Am I missing it? I don't see any real detail here.
That was it! I changed the partition scheme in the IDE from default spiffs to minimal spiffs and no more error messages! Case closed.
Thanks again everyone.