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

ESP8266 OTA compilation issue #19

Open
ThierryC49 opened this issue Feb 28, 2019 · 0 comments
Open

ESP8266 OTA compilation issue #19

ThierryC49 opened this issue Feb 28, 2019 · 0 comments

Comments

@ThierryC49
Copy link

Hello

I'm using the template program named "esphttpd" on eclipse / windows with ESP07 with 8MBit (1MByte) SPI flash.

When I'm putting the OTA flag on makefile "OUTPUT_TYPE=ota"

The compiler send me an error :

"mingw32-make.exe: *** No rule to make target 'libesphttpd/mkupgimg/', needed by 'libesphttpd/mkupgimg/mkupgimg'. "

If I comment the line on makefile.ota the line

libesphttpd/mkupgimg/mkupgimg: libesphttpd/mkupgimg/
make -C libesphttpd/mkupgimg/

the compilation seem OK and two bin was genrated httpd.user1.bin and httpd.user2.bin.
I flash the boot_c1.6.bin at 0x0000
the httpd.user1.bin at 0x1000
the esp_init_data_default.bin at 0xFC000
the blank.bin at 0xFE000

reboot the device, all thing seem well I can connect to WEB server at 192.168.4.1 and go to firmware update.
I choose the httpd_user2.bin stat flash and the ESP module reboot before ending the download.

I'm reading the flash before and after the user2.bin fw download / convert it in hex format and see that the user1 area is corrupted by some FF.

It seem that my user2.bi is not located corectly in memory but I don't know why

If is due to missing line in makefile.ota that I puted in commentary ? if yes how to compile the "mkupgimg" file / what the mean of this file?

Have you got some idea how to investiguate the issue?

Thank

Thierry

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

1 participant