I was able to get my first project working using a combination of Carloop + Electron + Particle.io SIM + Blynk.cc. I had to downgrade to the 0.64 Particle Electron firmware and also had to remove the following line from the application:
SYSTEM_MODE(SEMI_AUTOMATIC);
Once I removed the above statement, my Electron successfully booted, acquired a cellular signal, and began sending data. With the above line still in place, the Electron would perpetually stay in “booting” with a pulsing white LED.
That is the expected behaviour, cause when you use the semi automatic mode, the electron doesn’t connect automatically to the network, and that white blinking led means “cellular off” (https://docs.particle.io/guide/getting-started/modes/electron/) . You have to connect by code with something like this:
When you remove that line, the electron goes in automatic mode, so the device handle by it self the connection life cycle to the network and to the particle’s cloud.
The Carloop library was covered by code review; it appears to not be the issue. See the earlier post here:[quote=“cyclin_al1, post:12, topic:584”]
carloop.begin() is pretty simple code within that function; the only call of significance is can.begin().
[/quote]
can.begin() is part of the Particle HAL. In the example code given, the next call was a Particle.process().
At the moment, the focus is on the can object in the system firmware along with how it might interact with the process function in the system thread, given the RTOS is multithreaded (application thread & system thread).
If you can setup a complete debugging environment and rebuild the complete firmware with debugging enabled, then we would welcome digging into the 0.7.0 system firmware.
The Carloop people are aware. However, I do not know if they have determined any cause yet for the SOS behaviour.
Hi folks, sorry it took me a while to look into this crash. I’ll create a new thread in the community and document how I go about fixing this issue. Stay tuned!