Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.13.0 fails to flash binary OTA #251

Closed
technobly opened this issue May 27, 2016 · 0 comments
Closed

v1.13.0 fails to flash binary OTA #251

technobly opened this issue May 27, 2016 · 0 comments
Assignees
Labels

Comments

@technobly
Copy link
Member

v1.13.0 fails to flash binary OTA (tried and failed with Core and Photon)

particle flash core10 tinker-0.5.1-core.bin 
/usr/local/lib/node_modules/particle-cli/commands/CloudCommands.js:975
            var alwaysIncludeThisFile = ((ext === '.bin') && (i === 0) && (filelist.length === 1));
                                                                           ^

ReferenceError: filelist is not defined
    at Object.extend._handleMultiFileArgs (/usr/local/lib/node_modules/particle-cli/commands/CloudCommands.js:975:67)
    at Object.extend.flashDevice (/usr/local/lib/node_modules/particle-cli/commands/CloudCommands.js:263:20)
    at Object.extend.flashCloud (/usr/local/lib/node_modules/particle-cli/commands/FlashCommand.js:141:28)
    at Object.extend.flashSwitch (/usr/local/lib/node_modules/particle-cli/commands/FlashCommand.js:133:29)
    at Object.BaseCommand.runCommand (/usr/local/lib/node_modules/particle-cli/commands/BaseCommand.js:108:17)
    at Object.Interpreter.runCommand (/usr/local/lib/node_modules/particle-cli/lib/interpreter.js:93:13)
    at Object.Interpreter.handle (/usr/local/lib/node_modules/particle-cli/lib/interpreter.js:55:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/particle-cli/bin/particle.js:20:5)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

Works with v1.12.0

particle flash core10 tinker-0.5.1-core.bin 
Including:
    tinker-0.5.1-core.bin
attempting to flash firmware to your device core10
Flash device OK:  Update started
@technobly technobly added the bug label May 27, 2016
@monkbroc monkbroc self-assigned this May 27, 2016
monkbroc added a commit that referenced this issue May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants