Starchild Active Member Licensed User Longtime User Nov 15, 2016 #1 I have sometimes had trouble getting the ESP8266 to re-program when it is busy in a blocking function and also Sleeping. It seems to still run the last loaded program. Just can't reprogram it. I found by some "skilful timing" of manually pressing the reset button (or reset wire) to just before the actual flash programming cycle begins, you can get it to re-program again. This is best observed from Arduino IDE as it displays a full compiling/programming progress trace. After a B4R project build you can locate the arduino sketch files in ...your-b4r-project/objects/src Has anyone else experienced this programming lockout? It would be good to get some validation of this problem.
I have sometimes had trouble getting the ESP8266 to re-program when it is busy in a blocking function and also Sleeping. It seems to still run the last loaded program. Just can't reprogram it. I found by some "skilful timing" of manually pressing the reset button (or reset wire) to just before the actual flash programming cycle begins, you can get it to re-program again. This is best observed from Arduino IDE as it displays a full compiling/programming progress trace. After a B4R project build you can locate the arduino sketch files in ...your-b4r-project/objects/src Has anyone else experienced this programming lockout? It would be good to get some validation of this problem.
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2016 #2 Deployment does fail from time to time and the reset button usually solves such issues. You can also reconnect the USB cable. Upvote 0
Deployment does fail from time to time and the reset button usually solves such issues. You can also reconnect the USB cable.
Cableguy Expert Licensed User Longtime User Nov 16, 2016 #3 Mine seems to have some burned pins so it compiles but not behaves as I want it to... I will keep this one for simple 1 or 2 pins projects... A new one is in the mail! Upvote 0
Mine seems to have some burned pins so it compiles but not behaves as I want it to... I will keep this one for simple 1 or 2 pins projects... A new one is in the mail!
P positrom2 Active Member Licensed User Longtime User Nov 26, 2016 #4 I was having the same issue (flashing always ok, but code execution random). After powering by a stabilized 3.3V supply it looks like the problem is solved. Upvote 0
I was having the same issue (flashing always ok, but code execution random). After powering by a stabilized 3.3V supply it looks like the problem is solved.
Cableguy Expert Licensed User Longtime User Nov 26, 2016 #5 positrom2 said: I was having the same issue (flashing always ok, but code execution random). After powering by a stabilized 3.3V supply it looks like the problem is solved. Click to expand... I had that problem too, powering from the laptop usb port seemed to not be enought to run the project, but OK to compile and upload to the esp... I had a power block laying around and a breadboard friendly psu, and never had issues like that Upvote 0
positrom2 said: I was having the same issue (flashing always ok, but code execution random). After powering by a stabilized 3.3V supply it looks like the problem is solved. Click to expand... I had that problem too, powering from the laptop usb port seemed to not be enought to run the project, but OK to compile and upload to the esp... I had a power block laying around and a breadboard friendly psu, and never had issues like that