You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spend some time to understand why my flash wasn't able to read/write data after uploading new sketch or even old working sketch, until I powered board off then on and get it back to life.
Then I understood, Oh, I changed main sketch to put flash into sleep mode with SerialFlash.sleep(); and seems it's not waked on reset so any further use fail.
Now I'm doing SerialFlash.wakeup(); after SerialFlash.begin(4);, it's fine but may be adding this call in begin() of library would make sense and would avoid this little pain to other first time ;-)
The text was updated successfully, but these errors were encountered:
Hi Paul,
I spend some time to understand why my flash wasn't able to read/write data after uploading new sketch or even old working sketch, until I powered board off then on and get it back to life.
Then I understood, Oh, I changed main sketch to put flash into sleep mode with
SerialFlash.sleep();
and seems it's not waked on reset so any further use fail.Now I'm doing
SerialFlash.wakeup();
afterSerialFlash.begin(4);
, it's fine but may be adding this call inbegin()
of library would make sense and would avoid this little pain to other first time ;-)The text was updated successfully, but these errors were encountered: