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

RBOOT NONOS SDK 3.1 #51

Open
scargill opened this issue Apr 17, 2019 · 6 comments
Open

RBOOT NONOS SDK 3.1 #51

scargill opened this issue Apr 17, 2019 · 6 comments

Comments

@scargill
Copy link

scargill commented Apr 17, 2019

As original issue seems closed, you may recall you kindly re-wrote the flash-write section of RBOOT to get over the unreliability I was (am) suffering only with RBOOT or rather with OTA using SDK 3.1 - the changes produced a reboot on use. Did you get a chance to look at this?

I put in your new flash write routine (a couple of weeks ago, I've been travelling since so sorry if I missed anything) and on trying OTA, the Raspberry Pi 3 crashed and rebooted immediately. It does this every time.

For clarity, the original RBOOT code works perfectly every time with SDK 2.1

With SDK 3.1 all aspects of my code work perfectly except RBOOT/OTA which works sometimes and fails other times (not crashing, simply failing to OTA). With the new flash write code and SDK 3.1, OTA attempts produce an immediate reboot every time.

Pete

@raburton
Copy link
Owner

The raspberry pi crashed when you do ota? Not the esp? Where does a pi come into it?
I looked at it, I can't find anything wrong with the new code and can't replicate the crash. Perhaps if it's consistent on yours you could add some debug output to the serial console and identify which line of code is causing the crash and the values of the values it's working with at that point and I will try to see if I can figure out what's happening at your end.

@scargill
Copy link
Author

scargill commented Apr 17, 2019 via email

@scargill
Copy link
Author

scargill commented Apr 17, 2019 via email

@scargill
Copy link
Author

Still no-where with SDK 3.1 - the original RBOOT (on for example ESP12) works some of the fime, failing to OTA other times, the changed version (flash writing routine update) crashes completely when OTA is attempted. Meanwhile on SDK 2.1, all is completely reliable.

@raburton
Copy link
Owner

I know, did you get the requested debug?

@scargill
Copy link
Author

I will try to get that.

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

2 participants