Giter Site home page Giter Site logo

Comments (7)

pierrep avatar pierrep commented on May 10, 2024 2

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.

pierrep avatar pierrep commented on May 10, 2024

FWIW, I get this when creating a new project as well.

from neopo.

nrobinson2000 avatar nrobinson2000 commented on May 10, 2024

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.

nrobinson2000 avatar nrobinson2000 commented on May 10, 2024

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.

pierrep avatar pierrep commented on May 10, 2024

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.

nrobinson2000 avatar nrobinson2000 commented on May 10, 2024

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.

pierrep avatar pierrep commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.