Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Boot loop after uploading a compiled binary #45

Closed
bench2012 opened this issue Sep 21, 2021 · 3 comments
Closed

Boot loop after uploading a compiled binary #45

bench2012 opened this issue Sep 21, 2021 · 3 comments

Comments

@bench2012
Copy link

bench2012 commented Sep 21, 2021

Hi,

I am not sure if I am the only one here, I compile from source using platform.io (after taking out the include String.h in Menucontrol.cpp, otherwise it will not compile). Uploaded firmware.bin to an nodemcu v1, (tried using both platformio and cli) and now it is in a boot loop with:

rst cause:2, boot mode:(3,7)

Any idea?

Bench

Addition info: I try the same board with the pre-compile binary and its works.

@avanx
Copy link

avanx commented Sep 23, 2021

See(#44), add switch when size equals zero
Besides,
try to change configuration in platformio.ini
from
platform = espressif8266
to
platform = [email protected]
I guess pre-compile binary was compiled using 8266Arduino SDK 2.x.Doing these helps me to stop rebooting and fixes issure (#43)

@bench2012
Copy link
Author

Thx, will give this a try.

@bench2012
Copy link
Author

Hi,

Try it and added a quick "fix" to setup:

if (size !=0)
{
JsonObject &json = jsonBuffer.parseObject(buf.get());
...............
}
configFile.close();

Not sure if this damage anything, but it compiled ok and I change te SDK to 2.6.3 and it is now working.

Thanks for the support and a great product.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants