Git Product home page Git Product logo

Comments (6)

mcbeenb avatar mcbeenb commented on August 21, 2024 1

I was able to generate the firmware following these steps:

  1. Download and install VS code
  2. Install platformIO extension (View->Extensions)
  3. Install git https://git-scm.com/downloads
  4. Grab the project form github by either cloning or downloading
  5. Inside the project, Open Knomi -> Knomi1 -> firmware -> platformio.ini
  6. Click build in the menubar

The bin files will be saved into .\KNOMI\KNOMI1\Firmware.pio\build\esp32dev

from knomi.

mcbeenb avatar mcbeenb commented on August 21, 2024 1

To upload the firmware to a Knomi1, you must go into dfu mode to connect.

Make sure your environment is ready, and you are getting serial timeouts when trying to connect. The next step must be done quickly.

Choose upload in vscode
hold down the reset button on knomi
insert usbc cable
release the reset button

This puts the device in DFU mode, like many other esp32 devices.

You should see the IDE begin to upload.

from knomi.

BuschyX avatar BuschyX commented on August 21, 2024

I was able to generate the firmware following these steps:

  1. Download and install VS code
  2. Install platformIO extension (View->Extensions)
  3. Install git https://git-scm.com/downloads
  4. Grab the project form github by either cloning or downloading
  5. Inside the project, Open Knomi -> Knomi1 -> firmware -> platformio.ini
  6. Click build in the menubar

The bin files will be saved into .\KNOMI\KNOMI1\Firmware.pio\build\esp32dev

Thanks!

from knomi.

BuschyX avatar BuschyX commented on August 21, 2024

To upload the firmware to a Knomi1, you must go into dfu mode to connect.

Make sure your environment is ready, and you are getting serial timeouts when trying to connect. The next step must be done quickly.

Choose upload in vscode hold down the reset button on knomi insert usbc cable release the reset button

This puts the device in DFU mode, like many other esp32 devices.

You should see the IDE begin to upload.

I did the firmware upload via the web app and I did your way, neither threw any errors or confirmations really. Nothing to say it was already up to date. Just success. And from what I can see there is no way to check firmware on the device from the device. So I am just happy that I did not brick it in the process.

Thanks again, very helpful

from knomi.

mcbeenb avatar mcbeenb commented on August 21, 2024

Couple more quick things for anyone else attempting to update firmware, or as in my case, flashing a KNOMI1 to KNOMI2 firmware.

  • There are two different firmware branches on the site currently. If you want to install the KNOMI2 branch, you need to select that branch when downloading. You can select this by either selecting the branch in the upper left of the code view or click the link in the readme.md that will take you to the other tree (https://github.com/bigtreetech/KNOMI/tree/firmware)
  • Once you download this branch, you will need to set the env param in platformio.ini to KNOMI1. If you don't do this, you will get cpu mismatch errors when compiling.
  • Flashing the KNOMI1 to KNOMI2 gives you the new hello page along with some of the new KNOMI2 features. Obviously there is no touch interface, but a lot of the realtime readouts don't appear to be pack ported either. At least from what I have seen so far. Very cool to see KNOMI1 getting a bit more love.

from knomi.

Hiccup-kzh avatar Hiccup-kzh commented on August 21, 2024

Why do I encounter errors when I click on compile firmware
MissingPackageManifestError: Could not find one of 'package.json' manifest files in the package
![Uploading 8ERKC`U$]JNH{FM_LTT{{4.png…

from knomi.

Related Issues (20)

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.