Page 1 of 1

need help to repair 9X main board

Posted: Sat Oct 12, 2013 8:01 pm
by Mitch781
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.

Re: need help to repair 9X main board

Posted: Sat Oct 12, 2013 9:24 pm
by MikeB
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.

Re: need help to repair 9X main board

Posted: Sun Oct 13, 2013 6:35 am
by ShowMaster
Where are you located?

Re: need help to repair 9X main board

Posted: Sun Oct 13, 2013 8:55 am
by jhsa
A bit too far from LA.. He is in France :mrgreen:

Re: need help to repair 9X main board

Posted: Sun Oct 13, 2013 3:59 pm
by ShowMaster
Too bad. I guess the postage round trip would be more than a new 9x?

Re: need help to repair 9X main board

Posted: Sun Oct 13, 2013 9:01 pm
by Mitch781
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.

Re: need help to repair 9X main board

Posted: Sun Oct 13, 2013 9:21 pm
by MikeB
My fuse settings for a MEGA128 are:
Extended 0xFF
High 0x97
Low 0x7F

Mike.

Re: need help to repair 9X main board

Posted: Tue Oct 15, 2013 7:49 pm
by Mitch781
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 ?

Re: need help to repair 9X main board

Posted: Tue Oct 15, 2013 9:47 pm
by MikeB
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.

Re: need help to repair 9X main board

Posted: Wed Oct 16, 2013 12:06 pm
by Mitch781
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 ?

Re: need help to repair 9X main board

Posted: Wed Oct 16, 2013 3:18 pm
by MikeB
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.

Re: need help to repair 9X main board

Posted: Wed Oct 16, 2013 5:09 pm
by Mitch781
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 ;-)

Re: need help to repair 9X main board

Posted: Wed Oct 16, 2013 6:07 pm
by MikeB
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.

Re: need help to repair 9X main board

Posted: Wed Oct 16, 2013 8:58 pm
by Mitch781
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

Re: need help to repair 9X main board

Posted: Thu Oct 17, 2013 12:56 am
by ShowMaster
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.

Re: need help to repair 9X main board

Posted: Thu Oct 17, 2013 9:01 pm
by Mitch781
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.

need help to repair 9X main board

Posted: Thu Oct 17, 2013 10:58 pm
by ShowMaster
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.

Re: need help to repair 9X main board

Posted: Fri Oct 18, 2013 8:59 am
by ReSt
Have a look here on how to work with ChipQuick
http://www.youtube.com/watch?v=7kyaz4Zrd78

Reinhard

Re: need help to repair 9X main board

Posted: Fri Oct 18, 2013 9:37 am
by MikeB
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.

Re: need help to repair 9X main board

Posted: Fri Oct 12, 2018 10:30 pm
by superalex
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?

Re: need help to repair 9X main board

Posted: Sat Oct 13, 2018 10:43 am
by jhsa
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

Re: need help to repair 9X main board

Posted: Sat Oct 13, 2018 5:04 pm
by ReSt
on my radios EEpe reads the fuses as
extended 0xFF
High 0x81
Low 0x0E

Reinhard

Re: need help to repair 9X main board

Posted: Thu Oct 18, 2018 12:51 am
by ShowMaster
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

Re: need help to repair 9X main board

Posted: Mon Oct 22, 2018 9:43 pm
by superalex
Contrast is ok
I need to find time to check connection between CPU and LCD, line by line
I will do it and let you know

Re: need help to repair 9X main board

Posted: Mon Oct 22, 2018 10:43 pm
by jhsa
Please go to www.er9x.com, download and install eepe.
Connect your radio to the computer using the programmer. Go to the "Burn" menu then select "Configure". Select your radio's processor (m128??), your programmer, and com port. Click ok.
Then go again to the "Burn" menu and select "Set fuses to protect eeprom" Click OK. wait until it finishes. Disconnect radio and programmer. See if your radio now works..

João

Re: need help to repair 9X main board

Posted: Fri Nov 09, 2018 10:21 am
by superalex
I did it but no result. Unfortunatelly handling the LCD screen it drop to floor...now it is out of service :-(
I will appreciate if someone can give me a link to purchase a spare LCD screen. Hobbyking has discountinued the product, Banggood never in stock and on ebay long delivery (I'm in Italy, so Europe for me is fine but I do not want to pay 40% of the radio value. For this reason also a different LCD is welcome if it can be fitted into 9x board.
Anyhow, can you confirm to me the fuse to be used on a 9x board with atmega128 chip, just to be sure.
thanks for the continous support

Re: need help to repair 9X main board

Posted: Thu Aug 20, 2020 6:38 am
by Hasse.69