Turnigy 9XR flashing too slow ? (SOLVED)

Hardware Support for the 9XR
Post Reply
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Turnigy 9XR flashing too slow ? (SOLVED)

Post by prizreni »

Hi everyone.

I have bought a Usbasp from Hobbyking (the latest one with 6 pins cable HERE ) and flashed my Turnigy 9XR m128 using eepe. It takes 320 seconds to read and then another 320 seconds to write the ER9X firmware. Also flashed the OpenTX with companion, same thing. Is this normal because it looks way to slow for me. I'm using Windows 7 x64, but I have tried it also on Windows XP 32 bit. I have seen videos on youtube, flashing a 9xr takes only 30 seconds. I have downloaded and installed the drivers as described in this pdf:

Pdf file with instructions and download link

What could be the problem
Thank you in advance
MiRi

EDIT: All you have to do is to remove the jumper, jumper on is for slow programming, jumper off is for normal programming (fast in my case :))

Happy flying
MiRi
Last edited by prizreni on Fri Nov 21, 2014 10:14 am, edited 1 time in total.

User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9XR flashing too slow ?

Post by MikeB »

Have you got any -B 100 or similar in your AvrDude command lines?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

Hi Mike

Thank you for your fast reply.

This is what i get:

Image

and another 300 seconds to verify :(

Prizreni
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

Hi Mike

Here is the after flashing window:

Image

Thank you

Prizreni
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9XR flashing too slow ?

Post by MikeB »

While not fixing the slow programming speed, since you have a m128 processor, you might be better flashing er9x-128.hex.

All looks OK, it may just be the USBASP is clocking slowly. You might try adding a -B 2 as an extra option to see if that speeds it up.
I'm using a STK500 programmer and that flashes 69K into a m128 is 13 seconds!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

I have already installed er9x-128.hex. I will try the -B 2 option, but before I do that I would like to ask you again. I have read somewhere that chinese programmers now use automatic clock ajustement. Using -B 2 in this case, would it cause any trouble to the 9XR or the usbasp.

Prizreni
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9XR flashing too slow ?

Post by MikeB »

I don't think so, I think it would just be ignored.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

Ok I will try and let you know the result ;)
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

I tried adding -B2 and also -B 2 but the same result :(
when connecting Usbasp to the 9XR, the voltage shown on the screen is 4.4v, is this ok?

Image
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Turnigy 9XR flashing too slow ?

Post by MikeB »

Yes, the voltage is OK. The voltage from the programmer has to go through the regulator "backwards" to get to the measuring resistors, so drops a bit on the way.

I suspect the USBASP is just doing something slowly.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
deaconFlyer
Posts: 76
Joined: Fri Apr 05, 2013 11:22 am
Country: Canada
Location: Ontario

Re: Turnigy 9XR flashing too slow ?

Post by deaconFlyer »

I have two "identical" 9XR's ... One flashes like lightning, the other is a turtle. I've tried seeing if it made a difference in order ... nope. Different USBASP's ... same results. Same profile ... still fast and slow.

I can't find an explanation, just know that I have to wait longer for one of them. Such is life.
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

So you are saying it is the radio, not the Usbasp?
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Turnigy 9XR flashing too slow ?

Post by Kilrah »

It's most likely the usbasp, but it's not impossible for it to be the radio.

Envoyé de mon SM-G900F en utilisant Tapatalk
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

I guess i have to live with it :(. Thank you for your replies :)
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by rperkins »

i noticed the file is on a 'G' drive. is it by chance a usb drive ? maybe try it with the file on the 'c' drive.
also
be sure all your switches are in the off position. it may make a difference.

It is also weird that a 'hobbyking' usbasp does not give the ' can not set sck' warning. their older stock used firmware that would generate that warning
prizreni
Posts: 30
Joined: Mon Jun 30, 2014 12:39 pm
Country: -

Re: Turnigy 9XR flashing too slow ?

Post by prizreni »

Hi rperkins

"G" drive is not a USB drive. All the switches were off during flashing, I have thought of that too, and you are right about SCK, it sais that it is set to 375 000 Hz.

Post Reply

Return to “Turnigy 9XR radio”