Category definition for Troubleshooting

If you’re having trouble with your Particle device or the Particle Cloud, here’s the place to get help.

If you’re reporting an issue related to a device, please try to include as much detail as possible:

  • Device type: Core, Photon, P1, Electron , etc…
  • Firmware version installed on the device
  • Firmware flashed from: Build, Dev, CLI, make
  • Firmware source code, or relevant parts if it’s large
  • Steps to reproduce the issue
  • Steps you’ve already tried to circumvent the issue
  • Did something change that caused the problem? firmware upgrade, flashed new application firmware, doesn’t work on Mondays.

:smile:

1st time user with Photon.
Opened it up, seamed to setup fairly easily but my Android app does not fully function.
I can see the Photon, flash Tinker but when trying something simple like setting up D0 as a digitalwrite it does not turn on (in the app) nor does it trigger the Photon.

A user by default may trigger a webhook up to 10 times per minute for every device that is registered to their account.

How can we change the default 10/per minute to a higher value?>

1 Like

hola yo tengo un problema con la particle photon . ke envio el codigo a la tarjeta y se carga con exito el codigo pero en mi smartphone no me funciona la app no me muestra el interface de la tarjeta y por ende no puedo ejecutarlo

Hi there
My Argon is working OK, but I can’t flash my code permanently. Before one year we had flashed an old code. Now I try to flash a new one using the Web IDE. The code is compiled OK, is flashed to Argon OK, the Argon next to this is running the new code OK but for a while. After a few seconds, the Argon start to blink magenta, then reboot and when is again connected to cloud the new code is lost. I can see on the Console data published related to the old code, as well as some error messages like ERROR EM: I2CSPI ERROR :3, ERROR EM: I2CSPI Fault pending, re-init, etc. etc.
I’m sorry but I couldn’t be more precise in my description due to so many new terms, on which I’m still not experienced.
Please note that I can’t flash the new code using the Particle Workbench either Local or Cloud.
I also can’t execute the Setup or DFU using the Particle CLI.
I did all necessary updates and my OS is Win10-64bit.
Thanks for any help

For some reason can’t post a separate topic.

I’m having issues with my Argon, was following the webhook tutorial (https://docs.particle.io/tutorials/device-cloud/webhooks/), I flashed the example webhook firmware code and have been unable to get control of my device (ie flash something else) since. Not sure if it’s related to the delay() calls?

I’ve tried resetting it, putting it into safe mode (it ends up exiting safemode by itself and running the webhook code). I’ve reclaimed the device (just in case), I’ve tried the cli hoping I code flash it via usb (but seems you can only flash via cloud, which times out).

Not sure what else to do, please help!

Cannot connect to Photon via USB.
I have a new Photon with 1.5.0 firmware. My OS is Windows 10. I have successfully compiled and flashed some programs via cloud using Visual Studio Code. I have installed CLI with USB drivers.
When I connect the Photon to a USB2 or USB3 port, device manager reflects nothing new. No new devices, new serial ports, or other devices. I have tried the two USB cables I have with no results. Need help, please.

I’m really new to c++ and my code has been having problems. I ran into a problem with stack overflow. I don’t even fully understand what stack overflow is but that was the problem. If you could check this code to see if it will develop a stack overflow problem that would be really helpful. And if it will have that problem please explain how to fix it in the most basic terms you can.

My code sets a value for the program to read so many elements from an array and it also sets an element for it to start on. It gets the array from a PLC reads the values it’s told to and publishes it to the cloud in a string. I want to have it infinitely loop through the whole code as fast as possible whatever speed that may be so that the PLC data can be continuously monitored.

this is my code

// This #include statement was automatically added by the Particle IDE.
#include <ModbusMaster.h>
#include “Particle.h”

float num;
int reading=1;
int starting=1;

// instantiate ModbusMaster object as slave ID 1
ModbusMaster node(1);

void setup() {
// initialize Modbus communication baud rate
node.begin(9600);
node.enableTXpin(D7); //D7 is the pin used to control the TX enable pin of RS485 driver
//node.enableDebug(); //Print TX and RX frames out on Serial. Beware, enabling this messes up the timings for RS485 Transactions, causing them to fail.
Serial.begin(9600);
delay(500);
}

void loop() {
Serial.begin(9600);
delay(500);
starting=0x64;
reading=5;
char convert[10];
sprintf(convert,"%d",reading);
Particle.publish(“readval”,convert);
int j;
String s=" “;
//reads values from holding register using the variables I defined earlier
node.readHoldingRegisters(starting,reading);
if (num == node.ku8MBSuccess) {
//loops and concatenates each element of the array into a string to be published after the loop finishes
for (j=0;j<reading;j++){
delay(400);
int g=node.getResponseBuffer(j);
char f[50];
sprintf(f,” %d",g);
s=(s+=f);
}
delay(800);
Particle.publish(“publishdata”,s);
node.clearResponseBuffer();
node.clearTransmitBuffer();
}
else{
Serial.print(“failure”);
}
}

Hello,
I want to post my problem, but when I select category Troubleshooting my “New Post” link is disabled.
If I am on another category and search for category Troubleshooting it is not found.
Looks like I only have access to 2 categories.
Please advise.
Thank you,
Michael