Re: How to use local Cloud update of own code
Posted: Mon Dec 08, 2014 1:49 pm
I am working with cygwin, after struggling, somehow I managed to generate user1.bin and user2.bin too.
Manual flashing (through uart) of user1.bin to ESP is working fine (at respective address).
Updating also happening from local server.
But unfortunately the update process stalls and the last line showing
The device should (??) restart after it, but not restarting. Manual restarting sending to a different state where it is not recognising any command (baud rate mismatch??)
Any suggestion will be helpful.
BTW, I have also made a custom AT command to specify the local address from UART terminal.
Manual flashing (through uart) of user1.bin to ESP is working fine (at respective address).
Updating also happening from local server.
But unfortunately the update process stalls and the last line showing
Code: Select all
.............
......................
2nd boot version : 1.1
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 4Mbit
jump to run user2
user code done
The device should (??) restart after it, but not restarting. Manual restarting sending to a different state where it is not recognising any command (baud rate mismatch??)
Any suggestion will be helpful.
BTW, I have also made a custom AT command to specify the local address from UART terminal.