Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote upgrade firmware... #33

Closed
gorec2005 opened this issue Dec 16, 2014 · 7 comments
Closed

remote upgrade firmware... #33

gorec2005 opened this issue Dec 16, 2014 · 7 comments

Comments

@gorec2005
Copy link

will be nice posibility "remote upgrade firmware via wifi or from cloud..."
of course - from nodemcu.previous to nodemcu.next... :-)

@nodemcu
Copy link
Collaborator

nodemcu commented Dec 19, 2014

A little complicated. NodeMCU firmware is bigger than 256KB.
currently the bootloader of esp8266 does not support two firmware >256KB.

@gorec2005
Copy link
Author

Ok. but may be partially, part by part... or write it not by loader?

@nodemcu
Copy link
Collaborator

nodemcu commented Dec 19, 2014

A firmware can receive from wifi and write to flash part by part.
but it can not overwrite the previous one, since there may be some power failure.
so, if the previous firmware stored in 0x000000, and the upgraded one in 0x100000.
the bootloader can't run the second.

@gorec2005
Copy link
Author

but may be do this via multi step like a ElectroDragon's firmware cloud update?

@ghost
Copy link

ghost commented Jan 15, 2015

it possible to write firmware from nodemcu or copy it from file in spiffs?
Executed program located in memory?

@clixx-io
Copy link

Yes it is.

I'm actually working on a set of tools called esptools which I will try to
finish off this weekend.

https://github.com/clixx-io/esptools

  • espls - list files
  • espcp - copy files to and from
  • esprm - delete files
  • espcat - show file contents
  • espmv - move files

There's a few problems with remote upgrade however, as far as I know the
nodemcu firmware only allows one server at a time to run on one tcp/ip port.

So it would have to be worked into an application as far as I can see.

On Thu, Jan 15, 2015 at 7:28 PM, NeiroNx [email protected] wrote:

it possible to write firmware from nodemcu or copy it from file in spiffs?
Executed program located in memory?


Reply to this email directly or view it on GitHub
#33 (comment)
.

@TerryE
Copy link
Collaborator

TerryE commented Dec 12, 2015

Superseded by #806 and #816.

@TerryE TerryE closed this as completed Dec 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants