Hello,
When my code has an error, it is not able to sync to the cloud, so I am not able to reload any (fixed) firmware to it. Everytime I test my code I have to keep resetting the spark core to factory settings and reentering my wifi credentials, which is kind of slow and clunky.
I feel like there is a better way to go about this than factory resetting it every time. Am I missing something basic?
Hello,
Thank you for your response.
So far I have encountered two errors that caused the core to begin flashing the red panic code. One was I was making http requests and forgot to set a delay between each request, and another was something weird happened with sending a UDP packet (looking it up showed something about overwriting the buffer)
I shall install the CLI
Also it seems like anytime I make HTTP requests, the core turns white and it can no longer see the cloud.
I agree with @Moors7 a delay will help you flash and resolved some issues I had. Without that delay I had to always do a factory reset which is not fun if the chip is installed somewhere