Open JpEncausse opened 1 year ago
It's like the device get disconnected while uploading or something like that. I tried multiple USB port same issue.
A fatal error occurred: The chip stopped responding.
So pressing the button while inserting the USB, seems to always help uploading the firmware with esptool.exe
But otherwise the upload of the firmware or the from platformio fail most of the time. I assume the USB key do something ?? that break upload ?
I confirm, the Serial communication from this device is not stable.
When I correctly upload my custom firmware (doing Serial.print() ) I see text chuck in VSCode with spaces ' ' in the middle of trace, like if the lag introduce kind of error or chunck.
1.Pressed BOOT Button
1.Pressed BOOT Button 2. Insert USB 3. Upload
Yes that's the workflow I use to save the dongle with master firmware when nothing works
But how do you handle regular developpement in PlatformIO ? Do you follow these steps each time before pressing Upload of your code ?!
I don't have these issue with other LILYGO devices (camera, display, etc ... works fine) Is it a specific issue to this type of device ? or my device has flaws?
No, the program does not need to operate in this way during normal operation. It is only necessary to operate in this way when the wrong program is running causing chip abnormalities.
There is still a lot of difficulities to upload custom code with PlatformIO to the device in normal mode. It fail > 50% of the time and need to reset to default firmware (plug / push button) before trying again Is it normal behavior ?
Try reducing the Baud by 115200. I have no problem with the test here.
Hello,
I don't know what to do,
I switch port, reduce the bandwith, etc ... nothing change Now when I monitor the device from VSCode I have a loop :