Code Monkey home page Code Monkey logo

tracbox8-flash-tool's Introduction

TracBox 8 Flash Utility

Update your TracBox with ease!

flasher

A cross platform app built with Electron

System requirements

Instructions

  • Plug in your TracBox
  • Click the Scan Ports button and select a COM port
  • Click Browse to select a custom firmware.bin file
  • Click Browse to select a custom littlefs.bin file
  • Click Flash and wait

Electron Project setup

npm install

Compiles and hot-reloads for development

npm run electron:serve

Compiles and creates package(s) for prod

npm run electron:build

big ol' pile of shot to fix later

--chip esp32 --port "/dev/tty.usbserial-10" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 .pio/build/esp32dev/firmware.bin 0x1000 /Users/acea/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin 0x8000 /Users/acea/Documents/FTP/hardware/esp-tracbox/software/esp-tracbox/.pio/build/esp32dev/partitions.bin 0xe000 /Users/acea/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x290000 .pio/build/esp32dev/littlefs.bin
--chip esp32 --port "/dev/tty.usbserial-10" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_size detect 0x290000 .pio/build/esp32dev/littlefs.bin

Customize configuration

See Configuration Reference.

Reference

Electron inter process communication tutorial

https://www.tutorialspoint.com/electron/electron_inter_process_communication.htm

run Python script from nodejs

https://ourcodeworld.com/articles/read/286/how-to-execute-a-python-script-and-retrieve-output-data-and-errors-in-node-js

readline module for parsing stdout stream line by line

https://html.developreference.com/article/21696559/NodeJS+spawn+stdout+string+format https://www.w3schools.com/nodejs/ref_readline.asp

tracbox8-flash-tool's People

Contributors

84ace avatar dependabot[bot] avatar giobauermeister avatar r3n33 avatar

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.