need help to repair 9X main board

General mods that are considered worth doing; regardless of the end firmware you use.
Post Reply
Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

need help to repair 9X main board

Post by Mitch781 » Sat Oct 12, 2013 8:01 pm

Hello,
I wanted to flash my 9X V2 with er9X so I soldered 6 pin ISP on mainboard. I also short the output diode because I wanted to use battery power on external device.

After that, it doesn't want to start, nothing happen no bip no light....I desoldered 6 pin...the same....I check all µc output for short, it is , I checked power 5V is OK at all entries, I just notice 7805 and µc to be warm after few seconds.

Really don't know what happened , I decided to change the µC so desoldered it and soldered a new one, I flashed directly er9X.hex via studio 4 ... and the same.

3.3v regulator is ok, 5V of board is ok.... really don't know what could happen

I tried to find new main board but 9XR is the only available and it does not fit.

Thanks very much if you have idea, I can try anything I have nothing to loose. I am also ready to try to adapt a 9xr board if I can have support on how to do it.

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

Re: need help to repair 9X main board

Post by MikeB » Sat Oct 12, 2013 9:24 pm

We have helped many to get their boards back working so hang in there. If you can flash the processor then we should be able to get you back running.
It may take a few questions and test, so here is the first question:
With the new uC, did you set the fuses?

When the processor runs er9x, the first thing it does is configure the internal pullup resistors on the switches and buttons. With a meter, check the voltage on the EXIT button. It should be 5V, changeing to 0V when you press the button.

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

User avatar
ShowMaster
Posts: 4320
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: need help to repair 9X main board

Post by ShowMaster » Sun Oct 13, 2013 6:35 am

Where are you located?

User avatar
jhsa
Posts: 18129
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: need help to repair 9X main board

Post by jhsa » Sun Oct 13, 2013 8:55 am

A bit too far from LA.. He is in France :mrgreen:
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
ShowMaster
Posts: 4320
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: need help to repair 9X main board

Post by ShowMaster » Sun Oct 13, 2013 3:59 pm

Too bad. I guess the postage round trip would be more than a new 9x?


Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Sun Oct 13, 2013 9:01 pm

Thanks for your messages, yes I'm from France Versailles so a bit far from US. You are right I think I would not pay more 20$ in parts as it would be more interesting to get a new tx.

Thanks MikeB for your support, regarding fuses I didn't find what to put so I left original maybe it was a mistake, if you have it I can load it ?

I'll also check switches voltage to know if er9x starts.

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

Re: need help to repair 9X main board

Post by MikeB » Sun Oct 13, 2013 9:21 pm

My fuse settings for a MEGA128 are:
Extended 0xFF
High 0x97
Low 0x7F

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

Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Tue Oct 15, 2013 7:49 pm

I use STK500 with studio4.
I put your fuses and load again er9X, it is the same.

No bip no light.


I checked 5V at switches there is no voltage at all.

So atmega doesn't start ? but why ?

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

Re: need help to repair 9X main board

Post by MikeB » Tue Oct 15, 2013 9:47 pm

After flashing, do you do a verify?
I ask because I also use a STK500 for programming and I found it would no program reliably unless I reduced the programming clock to quite slow. This is because of 0.1uF capacitors on the end of 200 ohm resistors on the programming signals and the STK500 doesn't drive the signals very strongly. I built myself a high drive buffer unit so I could program at high speed.

If the verify is OK, next check the reset signal is going high. Programming is done with it low, so if it is stuck low you will be able to program, but the processor will not run.

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

Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Wed Oct 16, 2013 12:06 pm

Hello Mike,

Studio 4 perform a check after programming and it is written OK after test.
I also checked reset line and it is not short with ground (there is only the small yellow cap).
I double checked also all ground and 5v supply at atmega it is ok

there is only Aref that is not linked to 5v I don't know if it is normal ?

Also I'd like to check the quartz ? but I don't know how to test it and why it would have break ?

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

Re: need help to repair 9X main board

Post by MikeB » Wed Oct 16, 2013 3:18 pm

If you can program the device, and the fuses are set to "external crystal" than the crystal should be OK. You cannot program without the chip having a clock.

When you turn on, is the reset signal at 5V?

I may have the fuses wrong. For some reason I thought you have put a ATMEGA128 on the board, so I gave you the fuses for that.
Have you a ATMEGA64A in fact?
If so the fuses need to be:

Extended 0xFF
High 0xC1
Low 0x0E

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

Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Wed Oct 16, 2013 5:09 pm

I confirm I have 64A.

It is better, it is written bad eprom data on the LCD, I don't know if I do flash the right way, I put .hex in flash and click Program. But I never put anything in EEPROM .hex in studio 4, is it ok ?
Thanks ;-)

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

Re: need help to repair 9X main board

Post by MikeB » Wed Oct 16, 2013 6:07 pm

Yes it is OK. The first time after the first flash the EEPROM is blank, so er9x will report "bad EEPROM data".
Just press a button and let er9x format the EEPROM. Then you should be running.
First thing to do after that is to CALIBRATE the sticks and pots.

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

Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Wed Oct 16, 2013 8:58 pm

IT WORKS !!! :shock:

Thanks very much Mike for your time my 9X seems to be working now, alls channels and switches seems to work, I'll try tomorow with HF module because I gave mine to a friend for his V911.

Now, I'll read ER9x manual so I can program my quad and planes tomorow.
Seems to be very powerfull compared to stock and I like general view a lot more than before.

Thanks again :D

User avatar
ShowMaster
Posts: 4320
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: need help to repair 9X main board

Post by ShowMaster » Thu Oct 17, 2013 12:56 am

Welcome to the user group! You've passed the test. You hung in there and fixed your board. It only gets better from here and you've got the help to make it happen. Mike really knows his stuff.

Mitch781
Posts: 13
Joined: Fri Sep 20, 2013 10:07 pm
Country: -

Re: need help to repair 9X main board

Post by Mitch781 » Thu Oct 17, 2013 9:01 pm

Thanks :D the test was not easy for me if you look at the picture of the board, it was my first cms µc replacement (as you can see I had to rewire a lot of strips with wires because i broke it during desoldering)
I also made bridges on some via on this side because I broke strips under the µc.

Image

Now I am doing epoxy poting on all that. :lol:

So if newbie like me wants to replace the µc i can give my experience

you just need soldering iron and adjust low temperature

1/ remove main board to hold it strongly
2/cut all pins just near µc with a strong cutter (take care to your fingers)
3/ after all pin cuts, remove µC
4/ with the iron remove all soldered pins on PCB do not heat too much
5/ glue new µc on right place and solder every pin with 0.5mm soldering tip using a magnifier

quite long work but it works.


Regarding er9x firmware, I confirm it is a great great improvement compared to stock firmware.

User avatar
ShowMaster
Posts: 4320
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

need help to repair 9X main board

Post by ShowMaster » Thu Oct 17, 2013 10:58 pm

Look up chip quick. Many like to use it instead of cutting the pins off.
Maybe utube videos showing it in use.

http://m.youtube.com/watch?v=7kyaz4Zrd7 ... kyaz4Zrd78

Good news you got it replaced and working.

ReSt
Posts: 1477
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: need help to repair 9X main board

Post by ReSt » Fri Oct 18, 2013 8:59 am

Have a look here on how to work with ChipQuick
http://www.youtube.com/watch?v=7kyaz4Zrd78

Reinhard

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

Re: need help to repair 9X main board

Post by MikeB » Fri Oct 18, 2013 9:37 am

I've cut the pins. I work round the chip, but leave one pin in each corner initially to provide mechanical support. I then cut three of these and the last pin can be desoldered.

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

superalex
Posts: 1
Joined: Fri Oct 12, 2018 9:43 pm
Country: -

Re: need help to repair 9X main board

Post by superalex » Fri Oct 12, 2018 10:30 pm

I would like to ask support to you Mike also for my problem on Turnigy 9x. I already did experience flashing OpenTX on my 9X and 9XR.
The first 9x was out of service for polarity inversion and equipped with GREEN64 processor. I replaced the processor with ATMEGA128, applied USBAsp programme, flashed firmware and did some mods: all was ok
I bought a second 9X with same problem and did exactly the same with new processor. I can flash OpenTX and read models, no problem!. The problem is that LCD do not show anything at all. I also try to reset/protect fuse but nothing happen. For your info 5V volt regulator and 10micro capacitor are replaced, 3.3V looks ok. Resistors to LCD looks fine and also upper pins of processor to LCD resistors are ok (everything checked by microscope).
Can you suggest again fuse to be applied? This because if I reset fuse by Companion it set different from:
(ATMEGA128A)
Extended 0xFF
High 0x97
Low 0x7F

Can you suggest something?

User avatar
jhsa
Posts: 18129
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: need help to repair 9X main board

Post by jhsa » Sat Oct 13, 2018 10:43 am

Download the radio eeprom onto companion, and check that the contrast is not set too low.. 25 should.be a good starting value..
Hey, wait there a second, those fuses don't look right.. are those the fuses that companion programmed? :o

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

ReSt
Posts: 1477
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: need help to repair 9X main board

Post by ReSt » Sat Oct 13, 2018 5:04 pm

on my radios EEpe reads the fuses as
extended 0xFF
High 0x81
Low 0x0E

Reinhard

User avatar
ShowMaster
Posts: 4320
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: need help to repair 9X main board

Post by ShowMaster » Thu Oct 18, 2018 12:51 am

I made the mistake of using my dremel grinder to cut the leads off. Went well until I discovered I had cut they one of the traces that runs under the processor. What to do? No easy way to add the wire externally without looking bad.
My answer was to use the # 30 awg wire wrap wire. I stripped it and made it flat with my small needle nose pliers. So flat it that when I soldered if across the trace cut, the processor still was flush to the pc board.
The new processor soldered in great, whew!
I like mike’s solution better and I’ll do it his way next time.
First time with chip quick but it did the job. The guy I fixed the 9x board for is still flying with it several years now.

I believe I have one or several 9x pc boards that are in good shape.
I kept them from sky ersky9x conversions.
Also new 9x lcd displays and HK led backlight kits in white.
I only have one 9xtreme 9x conversion left that uses the 9x main pc board and it’s working ok.
The other (2) 9x conversions use a sky of board.
I also have 1 or 2 brand new stick/gimbals sets I bought before I discovered how I could repair the 9x gimbal pots.
Bought them but never used them.
I saved them in case all the er9x telemetry conversions I did (free) for club members (6) failed, I’d have replacement parts to fix them.
Here we are maybe 5 years later and they’re still working and several have left the USA.
A tribute to erez (Erez Raviv) and Mike Blandford’s fw work!
Fun times!




Sent from my iPhone using Tapatalk Pro

Post Reply

Return to “Electronic Mods”