Not sure if this is H/W or F/W.
The full history is below. This is the program I am testing with.
void setup() {
Serial.begin( 115200 );
Serial.println( System.version());
}
void loop() {
Serial.println( millis());
delay(2000);
}
The program crashes and resets the Argon after running for 50-60 Seconds (according to serial monitor)
I had a typical firmware running for days on this. After 1.5.0 was published built the firmware for 1.50 and upgrade device os and my Firmware. That FW immediately started this reset loop. It reboots the old firmware and runs as normal.
Confused, I worked down to that simplest possible program and it still does the same thing.
Confused, I swapped for a new Argon and it works fine.
So, I took the failing unit and ran…
particle flash --serial C:\argon\argon-bootloader@1.5.0.bin
particle flash --usb C:\argon\argon-tinker@1.5.0.bin
particle flash --usb C:\argon\argon-system-part1@1.5.0.bin
The unit still cannot run the simplest program for more than 60 seconds.
Is this defective h/w or is there something else I can try to fix the unit.
What perplexes me is that after reboots it downgrades to the prior firmware and runs normally.
Particle audit environment
{
"username": "nnn@gmail.com",
"workspace": {
"name": "LoopTest",
"isWorkspace": false,
"folders": [
{
"location": "c:\\prod\\x\\LoopTest",
"hasValidPath": true,
"settings": {
"firmwareName": "deviceOS",
"firmwareVersion": "1.5.0",
"targetDevice": "env03",
"targetPlatform": "argon",
"compileButtonAction": "localAppDeviceOS",
"flashButtonAction": "localAppDeviceOS",
"disableWelcomeScreen": true,
"disableDeviceOSOutdatedCheck": false,
"disableLocalCompilerDirtyCheck": true,
"enableVerboseLocalCompilerLogging": false,
"compileDefines": [],
"customDeviceOSLocation": "",
"maxAllowedToolchains": 4
},
"files": [
".vscode",
".vscode\\launch.json",
".vscode\\settings.json",
"project.properties",
"README.md",
"src",
"src\\LoopTest.cpp",
"src\\LoopTest.ino",
"target",
"target\\1.5.0"
]
}
]
},
"cli": {
"binpath": "c:\\Users\\gtiss\\.vscode\\extensions\\particle.particle-vscode-core-1.11.0\\src\\cli\\bin\\windows\\amd64\\particle.exe",
"ok": true,
"version": "2.3.0",
"installed": 1585834144765
},
"localCompiler": {
"ok": true,
"dependencies": [
{
"id": "deviceOS@1.5.0",
"ok": true
},
{
"id": "gcc-arm@5.3.1",
"ok": true
},
{
"id": "buildtools@1.1.1",
"ok": true
},
{
"id": "buildscripts@1.9.2",
"ok": true
},
{
"id": "openocd@0.11.2-adhoc6ea4372.0",
"ok": true
},
{
"id": "deviceOS@1.4.4",
"ok": true
}
]
},
"platform": {
"os": "windows",
"type": "Windows_NT",
"release": "10.0.19041",
"arch": "x64",
"path": {
"key": "Path",
"value": "C:\\Python27\\;C:\\Python27\\Scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\OpenSSH-Win64;C:\\tools\\flutter\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\gtiss\\AppData\\Local\\Microsoft\\WindowsApps;C:\\tools\\dart-sdk\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\Pub\\Cache\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\npm"
},
"homeDir": "C:\\Users\\gtiss",
"particleDir": "C:\\Users\\gtiss\\.particle",
"localCompilerToolchainDir": "C:\\Users\\gtiss\\.particle\\toolchains"
},
"env": {
"ALLUSERSPROFILE": "C:\\ProgramData",
"AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
"APPDATA": "C:\\Users\\gtiss\\AppData\\Roaming",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
"ChocolateyLastPathUpdate": "132301791322972984",
"ChocolateyToolsLocation": "C:\\tools",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "DESKTOP-MHUFOGQ",
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"ELECTRON_RUN_AS_NODE": "1",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\gtiss",
"LOCALAPPDATA": "C:\\Users\\gtiss\\AppData\\Local",
"LOGONSERVER": "\\\\DESKTOP-MHUFOGQ",
"NUMBER_OF_PROCESSORS": "4",
"OneDrive": "C:\\Users\\gtiss\\OneDrive",
"OneDriveConsumer": "C:\\Users\\gtiss\\OneDrive",
"OS": "Windows_NT",
"Path": "C:\\Python27\\;C:\\Python27\\Scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\OpenSSH-Win64;C:\\tools\\flutter\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\gtiss\\AppData\\Local\\Microsoft\\WindowsApps;C:\\tools\\dart-sdk\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\Pub\\Cache\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\npm",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
"PIPE_LOGGING": "true",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 142 Stepping 9, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "8e09",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PUBLIC": "C:\\Users\\Public",
"SESSIONNAME": "Console",
"SystemDrive": "C:",
"SystemRoot": "C:\\WINDOWS",
"TEMP": "C:\\Users\\gtiss\\AppData\\Local\\Temp",
"TMP": "C:\\Users\\gtiss\\AppData\\Local\\Temp",
"USERDOMAIN": "DESKTOP-MHUFOGQ",
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-MHUFOGQ",
"USERNAME": "gtiss",
"USERPROFILE": "C:\\Users\\gtiss",
"VERBOSE_LOGGING": "true",
"VSCODE_CWD": "C:\\Program Files\\Microsoft VS Code",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "\\\\.\\pipe\\dfff7dafadb7b3234e95aad43a717f1a-1.43.2-main-sock",
"VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-db30ff84-cfa1-4d51-8555-18e48921b294-sock",
"VSCODE_LOGS": "C:\\Users\\gtiss\\AppData\\Roaming\\Code\\logs\\20200403T155258",
"VSCODE_LOG_STACK": "false",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\gtiss\\AppData\\Roaming\\Code\\CachedData\\0ba0ca52957102ca3527cf479571617f0de6ed50",
"VSCODE_PID": "4644",
"windir": "C:\\WINDOWS"
},
"versions": {
"node": "12.8.1",
"v8": "7.8.279.23-electron.0",
"uv": "1.30.1",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "75",
"nghttp2": "1.39.2",
"napi": "4",
"llhttp": "1.1.4",
"http_parser": "2.8.0",
"openssl": "1.1.0",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019b",
"unicode": "12.1",
"electron": "7.1.11"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
"machineId": "8ba5250dfc55c3808c8f245e1503a5b4055d829a5f6a079ffa1d1ad645ab7a50",
"sessionId": "c29878fb-efcd-4ed0-9fbc-292976d9b2ac1585954380148",
"version": "1.43.2"
},
"extensions": [
{
"id": "ms-vscode.node-debug",
"version": "1.43.2"
},
{
"id": "ms-vscode.node-debug2",
"version": "1.42.1"
},
{
"id": "ms-vscode.references-view",
"version": "0.0.47"
},
{
"id": "Dart-Code.dart-code",
"version": "3.9.0"
},
{
"id": "Dart-Code.flutter",
"version": "3.9.0"
},
{
"id": "eamodio.gitlens",
"version": "10.2.1"
},
{
"id": "jeroen-meijer.pubspec-assist",
"version": "0.3.6"
},
{
"id": "marus25.cortex-debug",
"version": "0.3.6"
},
{
"id": "ms-vscode-remote.remote-wsl",
"version": "0.42.4"
},
{
"id": "ms-vscode.cpptools",
"version": "0.27.0"
},
{
"id": "ms-vscode.powershell",
"version": "2020.3.0"
},
{
"id": "particle.particle-vscode-core",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.11.0"
},
{
"id": "ritwickdey.LiveServer",
"version": "5.6.1"
}
]
}---
Particle audit environment
{
"username": "nnn@gmail.com",
"workspace": {
"name": "LoopTest",
"isWorkspace": false,
"folders": [
{
"location": "c:\\prod\\x\\LoopTest",
"hasValidPath": true,
"settings": {
"firmwareName": "deviceOS",
"firmwareVersion": "1.5.0",
"targetDevice": "env03",
"targetPlatform": "argon",
"compileButtonAction": "localAppDeviceOS",
"flashButtonAction": "localAppDeviceOS",
"disableWelcomeScreen": true,
"disableDeviceOSOutdatedCheck": false,
"disableLocalCompilerDirtyCheck": true,
"enableVerboseLocalCompilerLogging": false,
"compileDefines": [],
"customDeviceOSLocation": "",
"maxAllowedToolchains": 4
},
"files": [
".vscode",
".vscode\\launch.json",
".vscode\\settings.json",
"project.properties",
"README.md",
"src",
"src\\LoopTest.cpp",
"src\\LoopTest.ino",
"target",
"target\\1.5.0"
]
}
]
},
"cli": {
"binpath": "c:\\Users\\gtiss\\.vscode\\extensions\\particle.particle-vscode-core-1.11.0\\src\\cli\\bin\\windows\\amd64\\particle.exe",
"ok": true,
"version": "2.3.0",
"installed": 1585834144765
},
"localCompiler": {
"ok": true,
"dependencies": [
{
"id": "deviceOS@1.5.0",
"ok": true
},
{
"id": "gcc-arm@5.3.1",
"ok": true
},
{
"id": "buildtools@1.1.1",
"ok": true
},
{
"id": "buildscripts@1.9.2",
"ok": true
},
{
"id": "openocd@0.11.2-adhoc6ea4372.0",
"ok": true
},
{
"id": "deviceOS@1.4.4",
"ok": true
}
]
},
"platform": {
"os": "windows",
"type": "Windows_NT",
"release": "10.0.19041",
"arch": "x64",
"path": {
"key": "Path",
"value": "C:\\Python27\\;C:\\Python27\\Scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\OpenSSH-Win64;C:\\tools\\flutter\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\gtiss\\AppData\\Local\\Microsoft\\WindowsApps;C:\\tools\\dart-sdk\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\Pub\\Cache\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\npm"
},
"homeDir": "C:\\Users\\gtiss",
"particleDir": "C:\\Users\\gtiss\\.particle",
"localCompilerToolchainDir": "C:\\Users\\gtiss\\.particle\\toolchains"
},
"env": {
"ALLUSERSPROFILE": "C:\\ProgramData",
"AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
"APPDATA": "C:\\Users\\gtiss\\AppData\\Roaming",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
"ChocolateyInstall": "C:\\ProgramData\\chocolatey",
"ChocolateyLastPathUpdate": "132301791322972984",
"ChocolateyToolsLocation": "C:\\tools",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "DESKTOP-MHUFOGQ",
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"ELECTRON_RUN_AS_NODE": "1",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\gtiss",
"LOCALAPPDATA": "C:\\Users\\gtiss\\AppData\\Local",
"LOGONSERVER": "\\\\DESKTOP-MHUFOGQ",
"NUMBER_OF_PROCESSORS": "4",
"OneDrive": "C:\\Users\\gtiss\\OneDrive",
"OneDriveConsumer": "C:\\Users\\gtiss\\OneDrive",
"OS": "Windows_NT",
"Path": "C:\\Python27\\;C:\\Python27\\Scripts;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\OpenSSH-Win64;C:\\tools\\flutter\\bin;C:\\Program Files\\nodejs\\;C:\\Users\\gtiss\\AppData\\Local\\Microsoft\\WindowsApps;C:\\tools\\dart-sdk\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\Pub\\Cache\\bin;C:\\Users\\gtiss\\AppData\\Roaming\\npm",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
"PIPE_LOGGING": "true",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 142 Stepping 9, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "8e09",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PUBLIC": "C:\\Users\\Public",
"SESSIONNAME": "Console",
"SystemDrive": "C:",
"SystemRoot": "C:\\WINDOWS",
"TEMP": "C:\\Users\\gtiss\\AppData\\Local\\Temp",
"TMP": "C:\\Users\\gtiss\\AppData\\Local\\Temp",
"USERDOMAIN": "DESKTOP-MHUFOGQ",
"USERDOMAIN_ROAMINGPROFILE": "DESKTOP-MHUFOGQ",
"USERNAME": "gtiss",
"USERPROFILE": "C:\\Users\\gtiss",
"VERBOSE_LOGGING": "true",
"VSCODE_CWD": "C:\\Program Files\\Microsoft VS Code",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "\\\\.\\pipe\\dfff7dafadb7b3234e95aad43a717f1a-1.43.2-main-sock",
"VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-db30ff84-cfa1-4d51-8555-18e48921b294-sock",
"VSCODE_LOGS": "C:\\Users\\gtiss\\AppData\\Roaming\\Code\\logs\\20200403T155258",
"VSCODE_LOG_STACK": "false",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\gtiss\\AppData\\Roaming\\Code\\CachedData\\0ba0ca52957102ca3527cf479571617f0de6ed50",
"VSCODE_PID": "4644",
"windir": "C:\\WINDOWS"
},
"versions": {
"node": "12.8.1",
"v8": "7.8.279.23-electron.0",
"uv": "1.30.1",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "75",
"nghttp2": "1.39.2",
"napi": "4",
"llhttp": "1.1.4",
"http_parser": "2.8.0",
"openssl": "1.1.0",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019b",
"unicode": "12.1",
"electron": "7.1.11"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "c:\\Program Files\\Microsoft VS Code\\resources\\app",
"machineId": "8ba5250dfc55c3808c8f245e1503a5b4055d829a5f6a079ffa1d1ad645ab7a50",
"sessionId": "c29878fb-efcd-4ed0-9fbc-292976d9b2ac1585954380148",
"version": "1.43.2"
},
"extensions": [
{
"id": "ms-vscode.node-debug",
"version": "1.43.2"
},
{
"id": "ms-vscode.node-debug2",
"version": "1.42.1"
},
{
"id": "ms-vscode.references-view",
"version": "0.0.47"
},
{
"id": "Dart-Code.dart-code",
"version": "3.9.0"
},
{
"id": "Dart-Code.flutter",
"version": "3.9.0"
},
{
"id": "eamodio.gitlens",
"version": "10.2.1"
},
{
"id": "jeroen-meijer.pubspec-assist",
"version": "0.3.6"
},
{
"id": "marus25.cortex-debug",
"version": "0.3.6"
},
{
"id": "ms-vscode-remote.remote-wsl",
"version": "0.42.4"
},
{
"id": "ms-vscode.cpptools",
"version": "0.27.0"
},
{
"id": "ms-vscode.powershell",
"version": "2020.3.0"
},
{
"id": "particle.particle-vscode-core",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.11.0"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.11.0"
},
{
"id": "ritwickdey.LiveServer",
"version": "5.6.1"
}
]
}