I completed the suggested steps and still have the issue.
- Windows virus software and firewall were both off.
- Unused VS Code extensions are globally disabled.
- No USB cable required for cloud flashing. I checked the USB cable for the serial monitor, it is okay.
- No USB hub, no cloud drive, no custom shell commands.
- latest versions of VS Code (1.56.0) and Particle extension workbench core (1.13.8)
- I am logged in to Particle
- for the serial monitor issue, the device manager shows my Argon connected to com11
The two symptoms I am seeing are:
- cloud flash fails with an error “path must be a string”
- seral monitor won’t start with error “path is not defined”
Since it was last working 2 weeks ago, I uninstalled 3 tool chain versions. Now I only have 1.4.4 (required for mesh networking) and 2.0.1 installed.
Here is the environment audit report.
{
"username": "mpeterson@theiatech.com",
"workspace": {
"name": "temp_sense_hub",
"isWorkspace": false,
"folders": [
{
"location": "c:\\Users\\mpete\\Documents\\Drive\\Particle\\Smart_home\\temp_sense_hub",
"hasValidPath": true,
"settings": {
"firmwareName": "deviceOS",
"firmwareVersion": "1.4.4",
"targetDevice": "temp_sense_hub-argon",
"targetPlatform": "argon",
"compileButtonAction": "localAppDeviceOS",
"flashButtonAction": "localAppDeviceOS",
"disableWelcomeScreen": true,
"disableDeviceOSOutdatedCheck": true,
"disableLocalCompilerDirtyCheck": true,
"enableVerboseLocalCompilerLogging": false,
"compileDefines": [],
"customDeviceOSLocation": "",
"maxAllowedToolchains": 4
},
"files": [
".vscode",
".vscode\\launch.json",
".vscode\\settings.json",
"Archive",
"Archive\\Temp_sense_hub v.1.11.8.zip",
"Archive\\temp_sense_hub v.1.12.0.zip",
"Archive\\temp_sense_hub v.1.13.0.zip",
"Archive\\temp_sense_hub v.1.13.1.zip",
"Archive\\temp_sense_hub v.1.13.2.zip",
"Archive\\temp_sense_hub v.1.14.0.zip",
"Archive\\temp_sense_hub v.1.14.1.zip",
"Archive\\temp_sense_hub v.1.14.3.zip",
"Archive\\temp_sense_hub v.1.15.0.zip",
"Archive\\temp_sense_hub v.1.15.2.zip",
"Archive\\temp_sense_hub v.1.15.3.zip",
"Archive\\temp_sense_hub v.1.16.0.zip",
"Archive\\temp_sense_hub v.1.16.1.zip",
"Archive\\temp_sense_hub v.1.16.2.zip",
"Data",
"Data\\High fire trigger study 201228.xlsx",
"lib",
"lib\\Adafruit_MAX31855",
"lib\\RunningAverage",
"project.properties",
"README.md",
"src",
"src\\jsonBuilder.cpp",
"src\\jsonBuilder.h",
"src\\jsonParser.cpp",
"src\\jsonParser.h",
"src\\temp-sense-hub.cpp",
"src\\temp-sense-hub.ino",
"target",
"target\\1.4.4"
]
}
]
},
"cli": {
"binpath": "c:\\Users\\mpete\\.vscode\\extensions\\particle.particle-vscode-core-1.13.8\\src\\cli\\bin\\windows\\amd64\\particle.exe",
"ok": true,
"version": "2.11.0",
"installed": 1620275128444
},
"localCompiler": {
"ok": true,
"dependencies": [
{
"id": "deviceOS@2.1.0",
"ok": true
},
{
"id": "gcc-arm@9.2.1",
"ok": true
},
{
"id": "buildtools@1.1.1",
"ok": true
},
{
"id": "buildscripts@1.10.0",
"ok": true
},
{
"id": "openocd@0.11.2-adhoc6ea4372.0",
"ok": true
},
{
"id": "deviceOS@1.4.4",
"ok": true
},
{
"id": "gcc-arm@5.3.1",
"ok": true
}
]
},
"platform": {
"os": "windows",
"type": "Windows_NT",
"release": "10.0.19041",
"arch": "x64",
"path": {
"key": "Path",
"value": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Mu\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files\\Breault Research Organization\\APEX 2019\\Application;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\;C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\;C:\\Users\\mpete\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\mpete\\AppData\\Local\\particle\\bin;C:\\OpenSSL-Win32\\bin;C:\\curl;C:\\Users\\mpete\\AppData\\Roaming\\npm;C:\\Users\\mpete\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\mpete\\AppData\\Roaming\\Python\\Python37\\Scripts;C:\\Users\\mpete\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Users\\mpete\\AppData\\Local\\Programs\\ExifTool;C:\\Users\\mpete\\AppData\\Local\\GitHubDesktop\\bin",
"entries": [
"C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath",
"C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common",
"C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler",
"C:\\Windows\\system32",
"C:\\Windows",
"C:\\Windows\\System32\\Wbem",
"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\",
"C:\\Windows\\System32\\OpenSSH\\",
"C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\",
"C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\",
"C:\\Program Files (x86)\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\",
"C:\\Program Files\\PuTTY\\",
"C:\\Program Files\\nodejs\\",
"C:\\Program Files\\Mu\\bin",
"C:\\WINDOWS\\system32",
"C:\\WINDOWS",
"C:\\WINDOWS\\System32\\Wbem",
"C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\",
"C:\\WINDOWS\\System32\\OpenSSH\\",
"C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\",
"C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\",
"C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin",
"C:\\Program Files (x86)\\QuickTime\\QTSystem\\",
"C:\\Program Files\\Breault Research Organization\\APEX 2019\\Application",
"C:\\Program Files\\Git\\cmd",
"C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL",
"C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL",
"C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\",
"C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\",
"C:\\Users\\mpete\\AppData\\Local\\Microsoft\\WindowsApps",
"C:\\Users\\mpete\\AppData\\Local\\particle\\bin",
"C:\\OpenSSL-Win32\\bin",
"C:\\curl",
"C:\\Users\\mpete\\AppData\\Roaming\\npm",
"C:\\Users\\mpete\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"C:\\Users\\mpete\\AppData\\Roaming\\Python\\Python37\\Scripts",
"C:\\Users\\mpete\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin",
"C:\\Users\\mpete\\AppData\\Local\\Programs\\ExifTool",
"C:\\Users\\mpete\\AppData\\Local\\GitHubDesktop\\bin"
]
},
"homeDir": "C:\\Users\\mpete",
"particleDir": "C:\\Users\\mpete\\.particle",
"particleToolchainDir": "C:\\Users\\mpete\\.particle\\toolchains"
},
"env": {
"ALLUSERSPROFILE": "C:\\ProgramData",
"APPDATA": "C:\\Users\\mpete\\AppData\\Roaming",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
"CARBON_MEM_DISABLE": "1",
"CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_19064_OHBPZNXUIQSEAVES",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "MARK-PC5",
"ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"ELECTRON_RUN_AS_NODE": "1",
"FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
"FPS_BROWSER_USER_PROFILE_STRING": "Default",
"GENICAM_GENTL32_PATH": "C:\\Program Files (x86)\\Common Files\\Sentech\\GenTL\\",
"GENICAM_GENTL64_PATH": "C:\\Program Files\\Common Files\\Sentech\\GenTL\\",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\mpete",
"INTEL_DEV_REDIST": "C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\",
"LOCALAPPDATA": "C:\\Users\\mpete\\AppData\\Local",
"LOGONSERVER": "\\\\MARK-PC5",
"MIC_LD_LIBRARY_PATH": "C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\compiler\\lib\\mic",
"NUMBER_OF_PROCESSORS": "12",
"OneDrive": "C:\\Users\\mpete\\OneDrive",
"OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
"ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
"OS": "Windows_NT",
"Path": "C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Mu\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin\\;C:\\Program Files\\IVI Foundation\\VISA\\Win64\\Bin\\;C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files\\Breault Research Organization\\APEX 2019\\Application;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\;C:\\Users\\mpete\\AppData\\Local\\Programs\\Python\\Python37-32\\;C:\\Users\\mpete\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\mpete\\AppData\\Local\\particle\\bin;C:\\OpenSSL-Win32\\bin;C:\\curl;C:\\Users\\mpete\\AppData\\Roaming\\npm;C:\\Users\\mpete\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\mpete\\AppData\\Roaming\\Python\\Python37\\Scripts;C:\\Users\\mpete\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Users\\mpete\\AppData\\Local\\Programs\\ExifTool;C:\\Users\\mpete\\AppData\\Local\\GitHubDesktop\\bin",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 158 Stepping 10, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "9e0a",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PSModulePath": ";C:\\Users\\mpete\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\PowerShell",
"PUBLIC": "C:\\Users\\Public",
"SESSIONNAME": "Console",
"SystemDrive": "C:",
"SystemRoot": "C:\\WINDOWS",
"TEMP": "C:\\Users\\mpete\\AppData\\Local\\Temp",
"TMP": "C:\\Users\\mpete\\AppData\\Local\\Temp",
"USERDOMAIN": "MARK-PC5",
"USERDOMAIN_ROAMINGPROFILE": "MARK-PC5",
"USERNAME": "mpete",
"USERPROFILE": "C:\\Users\\mpete",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
"VSCODE_CWD": "C:\\Users\\mpete\\AppData\\Local\\Programs\\Microsoft VS Code",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "\\\\.\\pipe\\0b2477e192bd9b06de6a11c271c48560-1.56.0-main-sock",
"VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-1e78469b-8b46-4f1d-b90a-4c9749417bc0-sock",
"VSCODE_LOG_NATIVE": "false",
"VSCODE_LOG_STACK": "false",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\mpete\\AppData\\Roaming\\Code\\CachedData\\cfa2e2181003230...",
"VSCODE_PID": "19064",
"VSCODE_PIPE_LOGGING": "true",
"VSCODE_VERBOSE_LOGGING": "true",
"VXIPNPPATH": "C:\\Program Files (x86)\\IVI Foundation\\VISA\\",
"VXIPNPPATH64": "C:\\Program Files\\IVI Foundation\\VISA\\",
"windir": "C:\\WINDOWS",
"ZES_ENABLE_SYSMAN": "1"
},
"versions": {
"node": "14.16.0",
"v8": "8.9.255.24-electron.0",
"uv": "1.40.0",
"zlib": "1.2.11",
"brotli": "1.0.9",
"ares": "1.16.1",
"modules": "87",
"nghttp2": "1.41.0",
"napi": "7",
"llhttp": "2.1.3",
"openssl": "1.1.1",
"cldr": "38.0",
"icu": "68.1",
"tz": "2021a",
"unicode": "13.0",
"electron": "12.0.4"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "c:\\Users\\mpete\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
"machineId": "4a8aab23823879a...",
"sessionId": "e938a019-3a30-4f5...",
"version": "1.56.0"
},
"extensions": [
{
"id": "ms-vscode-remote.remote-wsl-recommender",
"version": "0.0.9"
},
{
"id": "ms-vscode.js-debug",
"version": "1.56.2"
},
{
"id": "ms-vscode.js-debug-companion",
"version": "1.0.13"
},
{
"id": "ms-vscode.node-debug",
"version": "1.44.27"
},
{
"id": "ms-vscode.node-debug2",
"version": "1.42.6"
},
{
"id": "ms-vscode.references-view",
"version": "0.0.80"
},
{
"id": "ms-vscode.vscode-js-profile-table",
"version": "0.0.18"
},
{
"id": "austin.code-gnu-global",
"version": "0.2.2"
},
{
"id": "marus25.cortex-debug",
"version": "0.3.12"
},
{
"id": "ms-vscode.cpptools",
"version": "1.3.1"
},
{
"id": "particle.particle-vscode-core",
"version": "1.13.8"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.13.8"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.13.8"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.13.8"
},
{
"id": "whizkydee.material-palenight-theme",
"version": "2.0.1"
}
]
}
I don’t see any missing paths in the audit log. All paths appear to be plausible.