Burning Flash on Windows [Finally SOLVED}
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Burning Flash on Windows [Finally SOLVED}
The directions in the manual do not mention anything about dfu.
After going thru the directions, then trying to read Flash on a new tx, I get a message
"DFU Util executable not found"
Trying to write 2588 gets me to the same message.
Did I miss a step somewhere?
TIA
After going thru the directions, then trying to read Flash on a new tx, I get a message
"DFU Util executable not found"
Trying to write 2588 gets me to the same message.
Did I miss a step somewhere?
TIA
Last edited by rdeanchurch on Fri Jul 19, 2013 12:40 am, edited 1 time in total.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Burning Flash on Windows
Grab the file here:
http://openrcforums.com/taranis/
Copy df-util to suitable folder.
Configure companion burn press to the correct location for of util.
Sent from my GT-I9300 using Tapatalk 2
http://openrcforums.com/taranis/
Copy df-util to suitable folder.
Configure companion burn press to the correct location for of util.
Sent from my GT-I9300 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Burning Flash on Windows
Where is this df-util stuff coming from? I just finished reading the wiki (again) and it has instructions for downloading the Zadig utility which I did successfully. It then instructs to select STM32 BOOTLOADER and install that driver. Well, STM32 BOOTLOADER does not appear as an option even though LIST ALL DEVICES is ticked. Grrr!
What does this have to do with df-util which is not mentioned in the wiki, the Taranis Operating Manual, or any other document I can find?
My OS is Win XP 32.
Ted
What does this have to do with df-util which is not mentioned in the wiki, the Taranis Operating Manual, or any other document I can find?
My OS is Win XP 32.
Ted
Re: Burning Flash on Windows
dfu-util is kind of the equivalent to avrdude for the chip that is in the Taranis. A copy is placed in companion9x folder when you install c9x, so it's supposed to just work.
If not make sure you have openTx for Taranis selected, and check in Burn->Configure that the location is correctly set (default path is C:\Program Files (x86)\companion9x\dfu-util.exe )
If not make sure you have openTx for Taranis selected, and check in Burn->Configure that the location is correctly set (default path is C:\Program Files (x86)\companion9x\dfu-util.exe )
Re: Burning Flash on Windows
OK, I do have openTx for Taranis selected, and the path is as you show except the (x86) part which is not appropriate for my directory. Does this mean I don't have to get the STM32 BOOTLOADER working with the Zadig utility, and do I even need the Zadig utility? If not, reference to it in the wiki needs to be deleted.
Thanx,
Ted
Thanx,
Ted
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Me Too.
I just uninstalled C9x 1.33 and reinstalled it.
Taranis is my preference.
Burn config shows DFU_UTIL path as
C:/Program Files/Companion/companion9x/dfu-util.exe
Windows Vista SP2 a 32 bit macihine.
The error message is
dfu-util 0.6
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... Cannot open device
=================================================================================
DFU Util done - exit code 1
=================================================================================
PS I can read EEPROM just fine....haven't tried to write it.,
I just uninstalled C9x 1.33 and reinstalled it.
Taranis is my preference.
Burn config shows DFU_UTIL path as
C:/Program Files/Companion/companion9x/dfu-util.exe
Windows Vista SP2 a 32 bit macihine.
The error message is
dfu-util 0.6
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... Cannot open device
=================================================================================
DFU Util done - exit code 1
=================================================================================
PS I can read EEPROM just fine....haven't tried to write it.,
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
- MikeB
- 9x Developer
- Posts: 18010
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Burning Flash on Windows
On the Taranis, due to the different processor, you need to do things differently for the flash and the EEPROM.
For the EEPROM, power on the Tx, then plug the USB cable in.
For the flash, do NOT power on the Tx, just plug the USB cable in.
Mike.
For the EEPROM, power on the Tx, then plug the USB cable in.
For the flash, do NOT power on the Tx, just plug the USB cable in.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Mine was NOT powered on in the above error message, But I did that earlier, then went back and looked at Scotts video again and saw the error of my ways.
EEPROM On, but Flash OFF!
EEPROM On, but Flash OFF!
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Burning Flash on Windows
Did you install the driver using zaddig?
Sent from my GT-I9300 using Tapatalk 2
Sent from my GT-I9300 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Yes, absolutely. I don't think I'ld be able to read EEPROM without it would I?
The driver is installed in Windows, right? Uninstalling c9x and re-installing it wouldn't affect the driver?
The driver is installed in Windows, right? Uninstalling c9x and re-installing it wouldn't affect the driver?
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Burning Flash on Windows
Absolutely no.. the eeprom is read without the driver, as we emulate a Mass Storage Device
To reinstall the driver (radio must be plugged in and powered off)
start zadig
show all
select STM32 BOOTLOADER
verify that winusb is selected
(install/reinstall driver)
To reinstall the driver (radio must be plugged in and powered off)
start zadig
show all
select STM32 BOOTLOADER
verify that winusb is selected
(install/reinstall driver)
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Thanks, I'll give it a try when I get home.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Just tried to reinstall driver via zadig.
Can NOT get STM 32 BOOTLOADER in the device list.
Instead I see STM Device in DFU Mode.. There are 3 other devices listed but they are 'human interface' or chi.... Something.
I guess I'll delete all references to zadig on my disk, get it from where Rob pointed me to and start again with the install.
Does that sound reasonable or is there another suggestion?
PS. With the STM device in DFU mode, a read flash attempt produced a 64k bin file. Doesn't look legit to me as all downloaded from opentx files are 100k+. I notice the DFU files on the sd card are 64k from FrSky.
Can NOT get STM 32 BOOTLOADER in the device list.
Instead I see STM Device in DFU Mode.. There are 3 other devices listed but they are 'human interface' or chi.... Something.
I guess I'll delete all references to zadig on my disk, get it from where Rob pointed me to and start again with the install.
Does that sound reasonable or is there another suggestion?
PS. With the STM device in DFU mode, a read flash attempt produced a 64k bin file. Doesn't look legit to me as all downloaded from opentx files are 100k+. I notice the DFU files on the sd card are 64k from FrSky.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Burning Flash on Windows
1) Connect the radio
2) Disinstall the driver from windows manager...
3) Disconnect the radio
4) Reconnect the radio
5) Start Zadig
6) Show all
2) Disinstall the driver from windows manager...
3) Disconnect the radio
4) Reconnect the radio
5) Start Zadig
6) Show all
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Romolo wrote:1) Connect the radio
2) Disinstall the driver from windows manager...
3) Disconnect the radio
4) Reconnect the radio
5) Start Zadig
6) Show all
Tried it... No Joy
.Connect the radio
. In Device Manager. Uninstall STM Device in DFU Mode
.Disconnect the radio
.Connect the radio
. Start Zadig Version 2.0.1 (Build 160)
.in Options click List All Devices
..shows 4
......STM Device in DFU Mode. Driver STTub30 (V3.0.1.0)
......2 ea USB Human Interface Device(Interface 0) and (Interface 1)
......Chicony USB 2.0 Camera (Interface 0)
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Burning Flash on Windows
What happens if you select STM Device in DFU mode and then you force install of WINUSB driver ?
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
=================================================================================
Started DFU Util
C:/Program Files/Companion/companion9x/dfu-util.exe -a 0 --dfuse-address 0x08000000 -d 0483:df11 -UC:/Users/Dean/Documents/Models/0-Xmitters/Taranis/Taranis-OprSys/tttt.bin
=================================================================================
dfu-util 0.6
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Filter on vendor = 0x0483 product = 0xdf11
No DFU capable USB device found
=================================================================================
DFU Util done - exit code 1
=================================================================================
Started DFU Util
C:/Program Files/Companion/companion9x/dfu-util.exe -a 0 --dfuse-address 0x08000000 -d 0483:df11 -UC:/Users/Dean/Documents/Models/0-Xmitters/Taranis/Taranis-OprSys/tttt.bin
=================================================================================
dfu-util 0.6
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Filter on vendor = 0x0483 product = 0xdf11
No DFU capable USB device found
=================================================================================
DFU Util done - exit code 1
=================================================================================
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Ok
Take X.
I deleted all references to zadig, STM, and uninstalled c9x v1.34.
Reinstalled c9x and followed directions in Wiki.
.That is downloaded zadig for Vista.
Started Zadig with Tx plugged into a USB and turned off.
the Device List shows only:
...Camera Chiccony
and
...STM Device in DFU Mode
I'm at a loss as what to try next, Help Please
Take X.
I deleted all references to zadig, STM, and uninstalled c9x v1.34.
Reinstalled c9x and followed directions in Wiki.
.That is downloaded zadig for Vista.
Started Zadig with Tx plugged into a USB and turned off.
the Device List shows only:
...Camera Chiccony
and
...STM Device in DFU Mode
I'm at a loss as what to try next, Help Please
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
Re: Burning Flash on Windows
Can you take a screeenshot of the Zadig window when "stm device in DFU mode" is selected?
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Burning Flash on Windows
Is the device actually already installed?
Or... Try a different USB port?
Are you certain you have a working cable?
Sent from my GT-I9300 using Tapatalk 2
Or... Try a different USB port?
Are you certain you have a working cable?
Sent from my GT-I9300 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Burning Flash on Windows
Select the "STM Device in DFU Mode" entry and press "replace driver" - and you're done.rdeanchurch wrote: ...STM Device in DFU Mode
I'm at a loss as what to try next, Help Please
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Tried all USB ports on my laptop. It's the cable I've been using on my t9xSkyNorth tx. It reads and writes EEPROM, I think that is conclusive. Is it?Rob Thomson wrote:Is the device actually already installed?
Or... Try a different USB port?
Are you certain you have a working cable?
Sent from my GT-I9300 using Tapatalk 2
Kilrah:
Will get screenshot after breakfast.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
Re: Burning Flash on Windows
No it's not. EEPROM access doesn't require the driver.rdeanchurch wrote:I think that is conclusive. Is it?
Re: Burning Flash on Windows
Maybe rdeanchurch means it's conclusive that his USB port and cable are working in answer to Rob's question. Does not mean that the driver is /installed/configured/whatever properly though as you point out.
Ted
Ted
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
Ted has it. I was trying to say the USB port and cable should be good in answer to Rob.
Now just to try to figure out how to get an image here.
![Image](http://img842.imageshack.us/img842/9662/yb05.jpg)
Now just to try to figure out how to get an image here.
![Image](http://img842.imageshack.us/img842/9662/yb05.jpg)
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Burning Flash on Windows
What happens if you click replace driver ?
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
It replaces. In the above screen I first uninstalled the driver, and deleted zadig, and uninstalled c9x. Just for Rob I used a different USB port and a different cable. If I click replace, it installs the driver. But it always says STM device in Dfu Mode.
It takes a couple minutes to install.
Will start from scratch on my old xp win desktop. It takes half a day (well it seems that way) to boot.
It takes a couple minutes to install.
Will start from scratch on my old xp win desktop. It takes half a day (well it seems that way) to boot.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
At least I'm in business, can flash from my crappy, slow, obsolete desktop.
Suddenly my favorite machine.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
I still like to get the laptop fixed. It's 3 or 4 years old and not the fastest thing, but it beats the old desktop.
......except for getting 2604 on Taranis.
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
-
- Posts: 750
- Joined: Tue Dec 27, 2011 11:22 pm
- Country: United States
- Location: Carson City, Nv
Re: Burning Flash on Windows [Finally SOLVED}
Solved!!! I wasn't deleteing the driver when I un-installed it.
Once I did that it came up correctly. And I could read the control program// er Operating System....Core, paper tape, ROM, uvERom...whatever that hard stuff is there Flash..ing around.
Happy camper
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Once I did that it came up correctly. And I could read the control program// er Operating System....Core, paper tape, ROM, uvERom...whatever that hard stuff is there Flash..ing around.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Happy camper
![Smile :)](./images/smilies/icon_e_smile.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Dean
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
OldDmbThms: 1. Takeoff, 2. Crash, 3. Repair, GOTO 1
Re: Burning Flash on Windows [Finally SOLVED}
I'm in a similar pickle, all I get is dfu util code 1 (did not finish properly). This is using windows vista, I have uninstalled and installed a number of times without any success. I'm too tired to heave the laptop out, any ideas?