GithubHelp home page GithubHelp logo

flasher's Introduction

GitHub release (latest by date) GitHub all releases GitHub license Commit Tests Gitpod ready-to-code Conventional Commits Discord Support us on OpenCollective

Welcome to EdgeTX!

The cutting edge open-source firmware for your R/C radio!

About EdgeTX

EdgeTX is the cutting edge of OpenTX. It is the place where innovative ideas and cutting-edge features are developed and field-tested by the enthusiasts of our hobby. EdgeTX is a community project – ideas from the community, developed by the community, and enjoyed by the community! The community will always have a say in what EdgeTX is and what EdgeTX will be in the future. Without community feedback and involvement EdgeTX cannot exist.

Community

Discord

Facebook

Github Discussions

Navigation Links

Community Guidelines

Installation Guide

Installation Video

FAQ

Reporting Issues / Requesting features

Development WIKI

Lua Documentation Site

Flasher Info Page

Flasher Downloads

SD Card Info Page

SD Card Downloads

Sound Packs Info Page

Sound Packs Downloads

EdgeTX Build Environment Docker Images

Acknowledgements

Some icon assets provided by ICONS8.
Lua Documentation site powered with the kind support of GitBook.

flasher's People

Contributors

bigspeedfpv avatar coderelectronics avatar jurgelenas avatar pfeerick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flasher's Issues

Incompatible version of dfu util deliverd with win releas.

The actual release delivers the dfu-util v0.10 binaries wich seems to be broken. After downgrading to dfu-util 0.9 in the installationfolder everything is working fine.

2021-09-01 09_42_45-edgetx-flasher

May there is an option to build the win version with the working dfu-util until 11 is released which hopefully fixes the problem

[SDCARD] SD cards without labels

I think a side effect of this test is that SD cards that haven't had a label set won't appear in the drop down? I can understand the mounted part, that's part and parcel of doing stuff on Linux, but requiring a label is going to be annoying unless the requirement is clearly stated. i.e. I never bothered setting a volume label for the SD that came with my T-Lite, and it didn't appear in the list - so I just had to set one after reviewing the code to work out why it didn't show. I can't say for certain I noticed the problem on Windows - I'll have to try again with another unlabelled card to check.

return el.removable && (el.label != "") && (el.mount != "")

Improving the dfu-util installation message - Linux

May be an idea to add a link the message to either a page on the flasher wiki, or better yet, on the main wiki, in order to keep all the documentation together, and give suggestions as to how to install the Flasher - as not all users are literate in doing this.

I may also look at improving this message anyway, as it's generic... surely it's possible to detect the OS running on, so the language doesn't have to be "if" running on Linux? So this issue is more a reminder to myself to look ;)

Screenshot_20210726_191648

SD card setup doesn't complete when there is no sound pack selected

I did two attempts for my x7, one for two hours, one for 40 minutes and neither completed in the flasher window, but the card seemed to have all the necessary files. I took a brief look at SDCardPage.vue and it appears that the case where no sound packs are selected is not actually handled, hence the interface hang. It'd be nice to skip the download of the archive manifest thing when nothing is selected as well.

I understand the purpose of talking radios, I just find them a little cringe and figure I can save the SD card space.

All languages selected.

New to this but tried using the flasher to flash my jumper t light v1 and when I went to click English for the audio file it selected all of the checkboxes instead of just English. It did this no matter what I clicked. When I tried to flash anyway it got stuck at retrieving audio file.

Problem with "Setup SD Card"

Hi,
when click on "Setup SD Card" no Voicepack and no Lua scripts are shown, and no Disk into selectbox.

In loggin:
[updateConfig.message.error][2022-06-08T13:30:40.338Z] Error: Request failed with status code 404

Thanks

PS: both Windows & MacOS version

Radio screen doesn't shows up

Got this error while flashing with DFU and radio seems to be dead somehow.
how should I recover my radio back!

Opening DFU capable USB device...
Device ID 0483:df11
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(10) = dfuERROR, status(10) = Device's firmware is corrupt. It cannot return to run-time (non-DFU) operations
Clearing status
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading element to address = 0x08000000, size = 13297

Issue_1
40

MacOS Flash error

Trying to Flash a RadioMaster TX16s from a MacBook macOS BigSur. I have flashed this radio previously with OpenTX from OpenTX companion. I have not tried that method for EdgeTX as was hoping to use your new utilities. I receive the following message immediately upon pressing the "Flash Radio Firmware" button. (By the way, this differs slightly from the Installation Guide which mentions selecting "Write") Thank you for all your work on this project!!
image

No way to see "Official Releases or Release Candidates" in flasher

Currently in the flasher, the is no way to designate a "official release or release candidate". In the current branching scheme, there is the 2.4 branch which has all the merges as well as the nightly branch which is everything that happened to be checked in at the time of the nightly run (I dont really see the benefit to having both of these branches - why choose the nightly over the most recent 2.4?). In my opinion, there needs be an option for users to select the official release or release candidate, and an option to select a branch - like 2.4 is now with all the recent past builds.
Additionally, it would be great if somehow in the 2.4 branch for the autobuilds we could add the notes form the check in to the notes on the flasher so you would see what was changed - instead of just "Major initial bug fixes". As it stands right now, there is no way for a normal user to download the RC1 with the flasher - you can only download the latest 2.4 build or an earlier one - but there is no way to tell which one is the "release candidate". I think that this needs to be addressed for the acutal release ideally.

Some rough edges still ;)

First of all, it works! :) 🍕 🥳

Thank you for taking on board the Transmitter model dropdown (rather than the zip name)... that makes it so much simpler! :)

Now, for the not so fun stuff...
Something is a bit iffy about the msg dialog and the time stuff is shown...

I just ran through on my TX16S, with the transmitter in bootloader mode, on Windows 10.

I had the explorer window open so I could see what happens, and after clicking the 'Download Package' button (perhaps that should be 'Write to SD Card'?) , I could see the folders being erased from the SD Card, nothing was showing on the Flasher yet.

i.e. the dialog in the screenshot wasn't being shown, and the message marked as 1 wasn't being shown whilst that was happening. The dialog finally appeared after the SD card was complete erased (including MODELS and RADIO!?!) and was immediately at message 2. Message 3 wasn't shown until after that had happened. So it seems like messages are being shown after they are completed, not before or whilst they are running.

'Finished voicepack 0' wording is a little confusing... but the voicepack was installed.

image

Since this erases the SD card, perhaps more emphasis on the warning?

<p>Please select the SD Card you want to write, please note this will overwrite all contents of the disk so make sure to select the correct one.</p>

I'm not sure if this is right... I copied it from here, but it's being used for list elements... hopefully give you some ideas ;)

<p>Please select the SD Card you want to write to. <span class="red--text">Please note this will erase the contents of the selected disk, so make sure to select the correct one!</span></p>

  • Check why UI messages are showing after the task have completed (including not visual feedback until SD card erased)
  • More emphasis on fact SD card will be erased
  • Perhaps don't delete the RADIO and MODELS folders... I wasn't expecting to need to re-calibrate/re-configure transmitter and re-add models
  • Tweak to the 'Finished voicepack 0' message ... "Finished installing Voicepack"?
  • Maybe re-label button ... it's not really "Download Package" ... "Write to SD Card"?

I look forward to seeing this endeavor continuing to evolve and get even better! :)

SDCard Tab buttons are disabled

[Running on Chrome Version 98.0.4758.102 (Official Build) (64-bit)]

I am having some problems applying SD content from the Buddy tool

When I select "SD Card Content tab" ,
Firmware Version : "EdgeTX "Santa" v2.6.0SD Card Pack"
RadioModel : TX16S

None of the buttons (Revert Apply, Reinstall) are enabled.

What am I missing ?

Change software source

In China, due to network reasons, firmware and SD card files cannot be updated online most of the time .

How to set up a mirror server by yourself (server hardware is ready)

Flash local file missing in Windows version

Am I blind or is it not possible to flash a local file (e.g. a self compiled build) using the windows version of the EdgeTX flasher?
I can see this function in the Linux version but it seems to be missing on the Windows (release) version.

Improvement suggestion - compile inside the flasher

I don't know whether this is a viable idea, and I am afraid it is not because of QT dependency, for example. But I have seen recently a nice ExpressLRS Configurator, they have basically offloaded their building process to their clients by integrating the ELRS Configurator written in Electron with Platform.io. This way, they build FW files on client machines on-demand without the need for their own build system. So I thought, we already have a nice minimalistic flasher, which could maybe do this in future and this way, resolve a discussion about what options to include or not and leave it on users, maybe in a better and more granular way then supported by original OpenTX Companion.

SD Card pack incorrectly being unzipped

When I selected the TX16S as the target radio, it seems like the complete wrong version of the SD card pack was downloaded. It's not the zip file, but the wrong version - i.e. background graphic is the opentx one, not the edgetx one and there are scripts which were removed from the pack a week or so ago). I double checked against the latest rolling release of the sdcard repo just to check I wasn't going crazy! 😆

Also just noticed edgetx.sdcard.version is completely missing... I was waiting for the nightly build of ETX to go though before testing, so am finally testing both the flasher and the sdcard pack stuff.

Flashing worked perfectly for the nightly, btw. Nice to see the commit hashes and that any testing/wip branches also automatically pop up ;)

New data structure for UI

Since we are prior to release 2.4 these changes to drop-downs should reflect it and make finding proper firmware easier

So first dropdown should be fairly simple

  1. Main or Releases
  2. Development

In case of selecting 1. Main second dropdown should show only releases eg. 2.4, 2.4.1, 2.4.2 etc with sorting from the latest. Name should be descriptive like EdgeTX release 2.4.0

In case of selecting 2. Development there should be additional dropdown
So second dropdown would have ‘type of development firmware’ like: Nightlies, ‘Branch name 1’, ‘Branch name 2’ etc
Then third dropdown will have list of firmwares. Name should have creation timestamp and hex firmware identifier

Idea behind is that common user will not see several dev firmwares until he/she switches first dropdown to 2.Development, the we can have short info those firmwares may be unstable

Flasher SD Card download does not see data partition of SD Card

I tried the SD Card downloader in the latest flasher - it does not detect the SD card data partition, just the Firmware partition, even though in windows explorer I can see both. If I put a SD card in my laptops built in card reader, it will see it, but not when it is in the radio and connected via USB.

sd card contents

I am trying to se up my sd card contents however evry time i use the flasher it just doesnt do what it is supposed to do. What i mean is that when i choose soundpacks it (i click one ) it chooses them all and also doesnt download or use any of them the sounds folder is basically empty. Seconfly when I choose the lua scirps I want to use it doesnt also file them they are ont download or placed in the sd card

Tried on X9D 2019+ and won't work

Good evening.
I tried to upgrade my Frsky X9d2019+ from its current OTX2.3 ans using the SDCard transfer the only result I got was:

  • Edge Fw is on the flashing choice list on the SDCard
  • OTX also.
  • I installed Edge
  • Then Edge reported installed ok but the OTX kept running. I had installed the Edge Bootloader...
  • After a few tries, I got the Edge logo but it was OTX running. Or else there are no differences betw E and O !
  • All my models were gone. No conversion whatsoever.
  • So I decided to go back to OTX from the saved SDcard.
  • Now OTX runs but the bootloader is still Edge's ! it stays there and the OTX one does not install.
    Lots of strange things. Since I am fluent in OTX, what is the purpose on a X9D ?

Have a good evening

[BUG] Wrong radio target being flashed/downloaded

If the user has already selected the radio target - i.e. picked the nightly option, and then picked the target - and then changes their mind as to which nightly, the wrong target will be downloaded/flashed.

For example, pick edgetx-firmware-nightly, pick the top entry in the dropdown for which nightly to use, then pick NV14. Realise that's not the nightly you want because the most recent is not at the top or whatever, so change that. Now save the file locally, and you'll realise it is downloaded the TX16S firmware, as well as flashing it! :-O

Error when trying to flash on a Mac

I have an M1 mac and am trying to run the flasher and the companion. When i run the flasher i got the following error.
image

Also the companion does not recognize my radio.

releases -> nightly "firmware does not contain any metadata"

Looks like this hasn't gone away. I'm on Windows now, and am getting it. Only affects the "releases -> nightly" combination, in both simple and advanced mode, but edgetx-firmware-nightly is fine.

image

[created.message][2021-08-02T06:18:19.289Z] Instance created, loading info from GH API
[updateContent.data.indexdat][2021-08-02T06:18:24.123Z] ""
[updateContent.message][2021-08-02T06:18:24.123Z] Metadata not found, error showing.

Version still not being shown on Windows builds

As has been pointed out a few times now, and was also the reason for #27, version numbers are still not being shown on Windows builds. Visible here, also on the screenshot Risto posted in Discord when talking about the wizard.

image

DFU flash error with TX16S but T-Lite works fine

I attempted to upgrade both my Jumper T-Lite and Radiomaster TX16S from 2.5.0RC3 to 2.5.0 today. The T-Lite upgraded fine but despite the TX16S DFU device appearing in lsusb I could not flash it from flasher:

Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 1329740

Download [ ] 0% 0 bytesdfu-util: ERASE_PAGE not correctly executed

This is on Linux, T-Lite working fine but had to copy file to SDcard and use bootloader to flash the TX16S. DFU would be nice and it's much quicker and easier.

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.