Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifying the need of for zadig & flashing methods #46

Open
wants to merge 4 commits into
base: 2.2
Choose a base branch
from

Conversation

RCdiy
Copy link
Contributor

@RCdiy RCdiy commented Sep 1, 2017

As per #24
The two download sections may be better in a different stand alone page... If a page stub is provided I can place it there. For now it is just an edit of what was already started on this page.

The download section may be better in a different stand alone page... If a page stub is provided I can place it there. For now it is just an edit of what was already started on this page.
@RCdiy
Copy link
Contributor Author

RCdiy commented Sep 1, 2017

images will follow once we decide where the downloads section is going to be.
Images are here http://rcdiy.ca/opentx-guide/introduction-to-opentx-companion/#Transmitter_Read_Write

@RCdiy RCdiy mentioned this pull request Sep 1, 2017
@RCdiy
Copy link
Contributor Author

RCdiy commented Sep 5, 2017

What is neede to get this pull request to be accepted? @schwabe @bsongis @kilrah

@schwabe
Copy link
Member

schwabe commented Sep 5, 2017

Time from one of us to review it.



## Installing The Windows Driver If Required
## Installing The Windows Driver with Zadiag (optional)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure... I deliberately chose "If Required" based on forum feedback form people helping users who installed zadig and went through all of that when it was not required and did nothing to solve the problem they were addressing... but you approach is a different way... up to you...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather add an additional setence under that. if required in a title sounds a bit odd to me.

@@ -16,23 +16,19 @@ To check power up the transmitter in Bootloader mode:
![bootloadersmall](https://user-images.githubusercontent.com/20209851/29190168-1b415e06-7de7-11e7-8d92-0010df929bbd.png)


| Tx | OpenTX Bootloader | PC OS | Add PC Driver |
| Tx | OpenTX Bootloader | Flash method |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deliberately chose the Add PC driver because users are reading about zadig and installing it... the idea of the table is that from the user point of view do I have to go get and install drivers.... no an under the hood technical document.... the table was posted in issues and discussed... consensus reached and then I posted the changes here.... I neither agree nor disagree with your changes... it is a different style....

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to be precise as the flash method is dfu-util even under windows.

@@ -2,11 +2,11 @@

### Are Additional Drivers Required?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different style.... up to you... I obviously prefer my style but you have final say...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed that part, not me :)

@RCdiy
Copy link
Contributor Author

RCdiy commented Sep 12, 2017

could this be accepted and closed?


There are two options to write the firmware:
* Using The Bootloader Menu
* Using Companion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not accurate!

First using dfu-util on Windows requires Zadig driver. So they are tied together. On Linux/MAC there is no need for Zadig driver (since driver is built into the kernel), only dfu-util is needed.

Flashing from Companion, these are possible ways:

  • radio off - connect to computer - you are in STM Bootloader - Companion auto detects this and uses zadig/dfu-util to flash
  • radio on with trim held inwards - you are in OpenTX Bootloader, connect to computer. Now you have two sub choices:
    • either flash directly from Companion - this will work without any drivers, the bin file is copied to special file (using mass storage USB mode) that represents the flash of the radio.
    • or copy the file on the SD card (via file manager), disconnect radio - use menu in OpenTX Bootloader to flash it.

Then there is also procedure to update the OpenTX Bootloader itself. It is similar to the last option above, just the flashing is done from the regular OpenTX, using the same file.

Copy link
Contributor Author

@RCdiy RCdiy Sep 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what is the goal of this section?
For me the goal is to guide users to get things done; not list every single technical way things can be done. These extra ways can be in an advanced trouble shooting section.

When it says there are two options to write the firmware it is under the sentence connect the transmitter to the computer in boot loader mode. Then there will be a boot loader screen image and then the rest of that text.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not need to explain every detail. But what it explains should be correct.

Copy link
Contributor Author

@RCdiy RCdiy Sep 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed...

Writing The OpenTX Firmware

+Connect the transmitter to the computer in bootloader mode.
companion-bootloader
+There are two options to write the firmware:
+* Using The Bootloader Menu
+* Using Companion
So when the Tx is turned on in boot loader moder this screen appears

Now there are two choices
Write the firmeware using that menu
Plug in the usb cable and use companion to write the firmware
What is not accurate? What do I need to change?
It is formatted easier to read here
http://rcdiy.ca/opentx-guide/introduction-to-opentx-companion/#Writing_The_OpenTX_Firmware

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a separate section on boot loader... what it is and the ways it get updated...

* When the “Writing Complete” message is displayed press EXIT
* Power the transmitter off

## Using Companion (dfu-util)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is wrong.

In order for Companion to use dfu-util/zadig the radio has to be in STM Bootloader. So the radio has to be OFF and then connected to computer.

What you describe below is also possible, using OpenTX Bootloader like you described above. But in this case dfu-util/zadig is not used. This method uses USB mass storage mode (that is implemented by the OpenTX Bootloader) so no special driver needed for this.

Copy link
Contributor Author

@RCdiy RCdiy Sep 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the confusion is that we have writing firmware under the driver section... the writing firmware may be clearer if put in its own section... When I wrote the writing firmware instructions I wrote if for a majority audience of FrSKY Tx purchased today and going forward... well purchased within the last year... for this audience informaing them about dfu/zadig etc. is unnecessary and adds confusion... many users forst want to know how to do something and only want to know the why and underlying details later on out of curiosity or have problems... This section makes more sense when arranged as it is in this article
http://rcdiy.ca/opentx-guide/introduction-to-opentx-companion/
Where I state
Transmitter Read & Write

Connecting The Transmitter In Bootloader Mode

Most new transmitter such as the Taranis series do not require any additional software or drivers to be installed on the computer. One exception is the FrSKY Horus X12S which is covered here (link).

So how do I remove this section from here while retaining the other edits that have passed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've browsed trough your page (link above) and there instructions are much more clear. I agree that skipping whole dfu-util/zadig is a good thing.

But on the other hand dfu-util/zadig has to be documented somewhere because it is needed for X12 and can be helpul/needed for X9D.

So how do I remove this section from here while retaining the other edits that have passed?

Just move the dfu-util/zadig to a separate section.

* When the “Writing Complete” message is displayed press EXIT
* Power the transmitter off

## Using Companion (dfu-util)
Copy link
Contributor Author

@RCdiy RCdiy Sep 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh... I went back up and noticed this table which is not how I wrote it....

Tx OpenTX Bootloader Flash method
X7 2.2 Bootloader, Dfu-util
X9D 1.x Dfu-util
X9D 2.x Bootloader, Dfu-util
X9D+ 2.x Any
X9E 2.x Any
X12S 2.2 + later Dfu-util

I wrote is as below after gaining a consensus here
#24
Is Zadig required

bootloadersmall

Tx OpenTX Boot Loader PC OS Add PC Driver
X7 2.2 Any No
X9D 1.x Windows Zadig
X9D 1.x Linux Dfu-util
X9D 1.x Mac Dfu-util
X9D 2.x Any No
X9D+ 2.x Any No
X9E 2.x Any No
X12S 2.2 + later Windows Zadig
X12S 2.2 + later Linux Dfu-util
X12S 2.2 + later Mac Dfu-util

MAC Note: Companion 2.2 for Mac comes with Dfu-util. (Need some wording for linux?)


The difference is

  • do I as a user need to install a driver

versus

  • telling me the user what is being used....

I wrote the rest of the instructions in the context on how to get something done without the what is being used....

So should I just close this pull request?
Or will someone fix its...
The way it is now we have mixed two different approaches which is beyond me to fix...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your last table looks good.

Still I hope you realize that for example a 9XE with 2.x can also be written with dfu-util. Perhaps your way of mentioning only no driver needed is more appropriate since it is less confusing to the user. But the fact is that all radios in the above table regardless of the OpenTX version installed support dfu-util/zadig method, just that some of them also support no driver needed method.

@projectkk2glider
Copy link
Member

I would like to point out that we really appreciate your work on documentation. As you can see it is not easy and fun, that is why we don't like to do it 😛

@RCdiy
Copy link
Contributor Author

RCdiy commented Sep 16, 2017

Thanks
I'm taking a break from this.
I think the admins may want to discuss amongst themselves how to proceed.
This method of review is not working for me.
I don't keep good health and enjoy documentation to help my health but this here is not enjoyable.
I totally understand the need for accuracy.

@RCdiy RCdiy closed this Sep 16, 2017
@schwabe schwabe reopened this Sep 16, 2017
@schwabe
Copy link
Member

schwabe commented Sep 16, 2017

I am reoping this since I think the changes are good and just need some more work. If you do not want to that work, it is fine with me but someone still use this as basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants