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 cannot quite pinpoint it to either one, but when a string is either initilized, written, or read from a XIAO's flash memory, the next time it is power cycled, there is essentially no communication to the PC it connects to. Not only this, but there is not even an attempt (no Windows 'device connected' sound effect that one normally gets.). The XIAO is bricked to the point to where jumping the reset pins does not even trigger a reset, so that makes me think the processor itself is bricked and can't even initilize/boot anymore.
I used a byte for FlashStorage as well, but I followed plenty of public examples to ensure I did the right steps to utilize it.
Initialization code used (along with some other variables used):
I took a risk with another XIAO, and tried some modified code. Instead of trying to store a string, I stored a struct that simply had a 32-char array... like so:
struct name
{
char actual_name[32];
};
FlashStorage(deviceName, name);
I write and read as normal using the existing read() and write() functions... works like a charm! I can write stuff, power cycle the XIAO, and read what I wrote upon powering it back on! I hope this post helps more people.
I cannot quite pinpoint it to either one, but when a string is either initilized, written, or read from a XIAO's flash memory, the next time it is power cycled, there is essentially no communication to the PC it connects to. Not only this, but there is not even an attempt (no Windows 'device connected' sound effect that one normally gets.). The XIAO is bricked to the point to where jumping the reset pins does not even trigger a reset, so that makes me think the processor itself is bricked and can't even initilize/boot anymore.
I used a byte for FlashStorage as well, but I followed plenty of public examples to ensure I did the right steps to utilize it.
Initialization code used (along with some other variables used):
Reading Code Used:
Writing Code Used:
Normally, I would do process of elimination and test each of the three functions seperately, but I do not want to risk keep bricking XIAO's.
The text was updated successfully, but these errors were encountered: