Comments (7)
Excellent, I was hoping you'd be prompt and I wasn't disappointed! I'm highly in need of your "iterative" function to program multiple xenons. I was in the process of rolling my own then came across your project....this will save me a lot of time...thanks!
from neopo.
FWIW, I get this when creating a new project as well.
from neopo.
Hey @pierrep,
This bug likely occurred because your ~/.neopo/cache/manifest.json
file was not populated correctly during installation because the Particle dependencies were likely already installed from Workbench. I will push a fix for this soon.
In the meantime, can you try doing a forced installation of dependencies?
$ neopo install -f
from neopo.
I have pushed a fix for this. It appears that when dependencies were skipped during the installation they were not added to manifest.json. I have corrected this behavior.
Upgrading neopo and installing dependencies without -f
should fix your issue.
$ neopo upgrade
$ neopo install
from neopo.
OK I ran
$ neopo upgrade
$ neopo install
and everything works fine now. I flashed 4 Xenons with a single
neopo iterate flash
command. Huge thanks...I have around 35 devices, so this was critical to solve.
Just a couple of other random questions while I'm here.
I was using your code to enter DFU mode, but it was only working by setting the baud to 14400 and then to 9600 again. Is that normal??
Also, I'd REALLY love a homebrew solution to OTA programming. I see that you've dug into the toolchain a fair bit....do you know if this is remotely feasible? If so, I'd love some pointers. It's more for the longer term as I'm making an art installation from my Xenons and it'll be a huge pain to reprogram them via USB once they are installed.
from neopo.
I was using your code to enter DFU mode, but it was only working by setting the baud to 14400 and then to 9600 again. Is that normal??
On Linux I’ve seen this behavior when using that C program. I’ve had better luck using pyserial.
However, lately with deviceOS you can use Particle CLI to put devices into DFU. I’ve included access to the Particle CLI executable used within neopo.
$ neopo particle usb dfu
I’m not sure it’s possible to create a homebrew OTA. Maybe you could slap some Raspberry Pi zeros onto the Xenons and use neopo over SSH?
from neopo.
Yeah I'm aware of particle usb dfu
, I currently have a shell alias for it. I was just wondering about that weird behaviour.
Thanks anyway...RPI's would defeat my low energy budget, and there's already an RPI solution here. I was just wondering how Particle do it through the Cloud, if there was any published info on that...but I'm guessing not.
from neopo.
Related Issues (12)
- Error on link, missing libfl.so HOT 5
- Debuggable Builds [FEATURE] HOT 4
- [BUG] Neopo Broken in Debian 10.8 WSL HOT 13
- Errors while installing on MacOS HOT 4
- [BUG] deviceOS 3.1.0 not supported HOT 1
- Invalid Firmware Version - neopo Docker HOT 3
- Support `build.mk` HOT 1
- Test project compiles with particle compile but not neopo compile HOT 2
- Windows testing/support: Help wanted HOT 1
- Adding libraries to the project HOT 2
- [BUG] No such file or directory: '~/.neopo/cache/manifest.json' HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neopo.