Mac OSx- C9x reads 9x tx but not Taranis tx Help

A fork of eePe. It's aim is to provide one tool that works with ALL firmwares!
Post Reply
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

Ok probably not clued up on how to set this up and need some help.

Using the latest version for Mac - Version 1.47 (revision 2252), Aug 31 2013

Previously I have been using this version with my 9X tx and no issues.

I have tried to set up a new profile so that I can use C9x with either Tx. In the Preferences screen I have set it according to the attached image. When I plug into the Taranis ans attempt to read either the Eprom or Firmware Is get the error avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc

Seems like it can't see the Taranis USB but the Mac recognises the Taranis Volume and the No Name SD card.

Probably haven't set something up correctly but the 9X has always worked OK on my system.
Attachments
c9xprefs.jpg
Maintain thine airspeed.
Lest the ground arise and smite thee!

w4kac
Posts: 35
Joined: Thu Aug 30, 2012 2:00 pm
Country: -
Location: Granite Falls, NC
Contact:

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by w4kac »

For the firmware preference you have "opentx for 9x board". Change that to the Taranis board and it should work. It's right in the middle of your image. Hope that cures it.
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

Duh!

Ok manage to read the eprom onto the screen, but took a long time and I had the swirling Mac equivalent of the Win egg timer :(
I then exited the program, turned off TX.
Started C9x again, plugged in Tx, on attempting to read Firmware I get "DFU Util executable not found"

UPDATE.

Checked the path to DFU-UTIl in the default installation and it showed as USR/BIN/Dfu-Util

It does not exist in that dir and in fact a search of my mac does not show it anywhere. I browsed to /Applications/companion9x.app just to try and I got the following

=================================================================================
Started DFU Util
/Applications/companion9x.app -a 0 --dfuse-address 0x08000000:524288 -d 0483:df11 -U/Users/My_Mac/Documents/R:C/Taranis/Downloaded Firmware/stock.bin
=================================================================================

C9x also shows the Splash screen again during this process. Nothing else happens :(



MORE!!!

I discovered the DFU package for Mac OSX and have installed it an edited the path to /opt/local/bin/dfu-util

Got a bit further but still no joy...

=================================================================================
Started DFU Util
/opt/local/bin/dfu-util -a 0 --dfuse-address 0x08000000:524288 -d 0483:df11 -U/t.bin
=================================================================================
dfu-util 0.7

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
Please report bugs to [email protected]

Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg"
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
/t.bin: Permission denied

=================================================================================
DFU Util done - exit code 1
=================================================================================

Hopefully one of the MAc developer gurus will read this :)
Maintain thine airspeed.
Lest the ground arise and smite thee!
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Romolo »

try from a terminal
mkdir /firmware
/opt/local/bin/dfu-util -a 0 --dfuse-address 0x08000000:524288 -d 0483:df11 -U /firmware/t.bin
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

Hi Romolo,

It worked next time I tried it, and has worked OK again.

I do have a problem with the Eprom (model) read and write though. When I try to read the EEprom from Tx I get the swirling disc (mac) symbol for about 30 secs, then sometimes the EEprom appears on screen with the models and sometimes I get an error that the c9x cannot determine the Tx type.

I'm using Lion 10.8.4
Maintain thine airspeed.
Lest the ground arise and smite thee!

Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Romolo »

You need to be sure that TARANIS drive is mounted...
so that you have a drive with TARANIS.BIN in..
If you have such a drive, try to copy TARANIS.BIN to some dir and see if you get some error from the OS
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

I can copy and paste Taranis.bin to another Dir.

I can also see the SD card and Companion Package in Finder.
Maintain thine airspeed.
Lest the ground arise and smite thee!
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Romolo »

May you write me the exact error you get when eeprom does not appears ?
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

Hi Romolo

I have tried to replicate the error but every time it reads the EEprom OK except it takes a long time. If it happens again I will post the error message.

Thanks.
Maintain thine airspeed.
Lest the ground arise and smite thee!
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Romolo »

Do you have many drives (disk / cdrom / usbpens and so on ??)
The only possibility, in my opinion, is that it's loosing time in enumerating drives
User avatar
Redbrickman
Posts: 219
Joined: Tue Dec 27, 2011 9:43 pm
Country: -

Re: Mac OSx- C9x reads 9x tx but not Taranis tx Help

Post by Redbrickman »

No.

Only the Mac standard hard drive and Taranis, No Name (SD card) and C9x Drive.

Writing the EEprom is almost instantaneous but reading takes about 40 Secs.
Maintain thine airspeed.
Lest the ground arise and smite thee!

Post Reply

Return to “companion9x”