When running some of our code on Particle boards, more so in the Core, it might occasionally not work as expected. Some of the problems you might face are listed here:
Particle CLI setup and other commands fail: This is usually due to Internet connectivity issues. Make sure your Wi-Fi is turned on, and the computer is connected to Wi-Fi.
Web requests fail to work: This problem arises due to the low memory available in Particle boards running old firmware, particularly the Core. The available memory is sometimes not enough for web responses to fit into. This problem can be rectified by updating the Core to the latest firmware, and slowing down the frequency of web requests. Flashing the latest firmware is discussed in Chapter 6, Hacking the Firmware.
Flashing new code takes a lot of time, in the order of minutes, while normally it should be less than 30 seconds. Sometimes, old code still remains after flashing—this problem is fairly common in the Particle Core. It may be due...