Page 5 of 5

Re: 9Xtreme being released to the public domain (opensource)

Posted: Tue Aug 03, 2021 9:34 am
by TheCirodi
I am interested in one that is assembled.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sun May 22, 2022 10:51 am
by adiezarr
Hello everyone,

My 9xtreme board burned last year and I decided to mount one on my own, I just finished assembling my pcb 9xtreme, after managing to find all the components, I would need to start the micro and I do not know the procedure, can anyone help me?

I have seen a procedure for 9XR with SAM-BA but I do not know if I am valid for this case.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sun May 22, 2022 6:14 pm
by MikeB
The 9Xtreme uses a STM processor.
Search for flashing a FrSky Taranis using Zadig. Just flash the 9Xtreme firmware.
First just plug in the USB (radio power off) and check the computer finds a "STM bootloader".

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon May 23, 2022 11:39 am
by adiezarr
hi Mike,

I followed the procedure with Zadig and managed to get the STM32 BOOTLOADER device to appear correctly installed in Device Manager. Before it appeared with an exclamation symbol.

Now I try to follow the usual procedure of powering up so that it appears on the screen of the turnigy 9x bootloader and be able to load the firmware with eePskye but it does not work, on the screen the er9x appears and does not load anything

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon May 23, 2022 11:46 am
by adiezarr
I add more information, if SAM-BA frame in configuration when trying to load the firmaware tells me this,
=================================================================================
Started SAM-BA
C:/Program Files (x86)/eePe/eepskye.exe \USBserial\COM3 at91sam3s4-9x C:/Users/ALFONS~1/AppData/Local/Temp/temp.tcl
=================================================================================
Qt: Untested Windows version 6.2 detected!

If I don't mark it directly tells me,

TX disk Not Mounted

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon May 23, 2022 10:41 pm
by MikeB
SAM-BA is for Atmel processors, the 9Xtreme uses a STM processor.
With the STM Bootloader working, you need DFU-UTIL to do the flashing.

Try the following command once you have DFU-UTIL installed:
dfu-util-static -a 0 --dfuse-address 0x08000000 -D ersky9x9XT_rom.bin

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon May 23, 2022 11:32 pm
by adiezarr
Hi Mike,

I did what you say, . I don't know where exactly to download this. the Turnigy 9x team is still in the same situation, with the er9x on screen. The 9x turnigy equipment to usb connected at all times.

Thank you very much for your help.

I pass the result to you,

C:\dfu-util-0.9-win64>dfu-util-static -a 0 --dfuse-address 0x08000000 -D ersky9x9XT_rom.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Cannot open DFU device 0483:df11
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 312856
Download [=========================] 100% 312856 bytes
Download done.
File downloaded successfully

Re: 9Xtreme being released to the public domain (opensource)

Posted: Tue May 24, 2022 10:45 am
by MikeB
Looks to have flashed OK.
Check the connections between the 9Xtreme and the main board (the "Pogo" pins). You may need to clean the pads on the main board.
Do you have the 3-colour backlight fitted? If so, it should show some colours when you power up as the 9Xtreme attempts to flash new firmware to the main board.

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Wed May 25, 2022 11:35 am
by adiezarr
hi Mike,

I appreciate your help. I checked the pads and pogos, they seem to be fine. I think the problem is that the STM32 BOOTLOADER driver has disappeared after loading dfu-util has stayed in windows "Device Discriptor Request Error" and there is no way out of there. I tried again with Zadig but it no longer reinstalls the driver. I don't know where to throw right now.

The Turnigy 9x however does have the bootloader, but my opinion is that the firmware did not load properly because the driver was not properly installed.

When testing with Zadig, it seems that I made it worse and no longer recognizes the Turnigy 9x or lets you reinstall the driver

How can I fix this?

Thanks

Regards,

Alfonso

Re: 9Xtreme being released to the public domain (opensource)

Posted: Thu May 26, 2022 1:42 pm
by MikeB
Please try the following:
Plug in the USB cable to get the STM bootloader running.
Run Zadig. In the Options menu, tick "List All Devices". The STM Bootloader should appear.
I'm using the driver "WinUSB (v6.1.7600.16385)". If this is not the current driver selected, install it.
Then run the dfu-util command again.
I just did this and the 9Xtreme updated OK (I appear to have dfu-util 0.7, I've not updated it for some time!).

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Fri May 27, 2022 9:27 am
by adiezarr
Hi Mike,

I update my progress.

I think the driver problem is already fixed. Currently the PC recognizes the STM32 driver and the Turnigy 9x computer enters Bootloader mode. The last problem I solved yesterday since the microSD recognized it as Taranis.., I solved it by changing the driver directly in Windows and already recognizes both the Xtreme drive and the microsd.

I have tried to install the firmware from eePskye, all correct. Also to copy the models to the radio and be able to read them, etc.

Now, try the Turnigy 9x with ersky9x9XT.

unresolved bugs,

- The computer turns on correctly but without light, the light works when it feels like it and when it does it does not respond to the change in color.

- Power off I have seen that it takes time to respond or makes it immediate or takes a long time to turn off (minutes).

- Audio at the moment it does not work

- Potentiometer next to Gear does not work.

Working,

- Operating software, apparently all menus work, you can navigate through them correctly, all navigation keys work
- Successful bind test, Successful RX channel testing
- Stick and trims work properly, as well as all switches

As always thank you for your help.

I understand that the remaining failures will be of the assembly of the PCB. I was from small projects with tradional components, resistors 1/4 etc.

So for me it has been a challenge and learning to manually assemble this board with components smd a magnifying glass and tweezers.

Seeing that the board accepts the software and the RX bindean already seems like an achievement to me.

Now there is if I am able to find out what the pending failures are due to. I appreciate any help from the elders and those who have assembled this plate and have seen themselves in these problems.

Serve all this also as a help for those who want to set up this project on their own

Regards

Alfonso

Re: 9Xtreme being released to the public domain (opensource)

Posted: Wed Jun 01, 2022 9:45 pm
by adiezarr
Hi,

I update the status of my pbc 9xtreme in case anyone is interested in the project.

- Currently I ran the potentiometer that I was missing.

- The computer already turns on and off properly.

- I also realized that I did not let put a date and time. It is also resolved, updates and always has the correct time.

Pending resolution:

- Audio, I still do not fix it, I have already changed the IC2 (audio amplifier) twice, because I do not see what else it may be that absolutely nothing is heard.

- Backlight, it doesn't work either, I checked the LEDs and they are fine and measured voltages to the RGB outputs of the IC8, I don't understand why it doesn't turn on. I can only think of pin 6 (backlight buffered).

Is it possible to lack IC4 compatibility? IC4 FLASH 8M S25FL208K is discontinued. In its place I have put MX25L8006EM1I
supported pins and features when I reviewed the datasheet.

Thank you all very much, I appreciate comments.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Wed Jun 01, 2022 10:55 pm
by MikeB
IC4 is used to store radio and model settings. If these are being correctly kept through a power cycle, then it is working OK.

Both the audio chip and the backlight operate from 5V (pin 6 of IC2 and pin 8 of IC8, after R44). Please check you have 5V on these.

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sun Jun 05, 2022 11:04 am
by adiezarr
hi Mike,

As always, thank you for your comments.

I have measured voltage at the pin 6 IC2 and pin 8 IC8 points, I have 5.2v (VCC +5V)

I have measured voltage at the IC2 pines 1 and 2 (OUT + -), I have 2,7v with de swith gear (for example) open or close.
I have measured voltage at the pin 1 IC2 after R19, I have 5.2v, the pines 3 and 4, I have 2,58v

I have also measured voltage on pins 1, 2 and 3 of IC8 (R G B) 3.8v, 3.4v, 3.1v and pin 6 after R43 I have 5.2v

if IC4 does not intervene in the process, then there is IC5 that at least the signal from pin 6 of IC8 arrives.

IC8 I already changed it just in case and reviewed welds in pins, what I can not measure is to be behind, it is difficult and IC2 I see no relationship, only levels of IC1 pin 20 reach through R32, C16 and R24

Alfonso

Re: 9Xtreme being released to the public domain (opensource)

Posted: Fri Jun 10, 2022 11:32 am
by adiezarr
Hi,

New update, I'm desperate to find out where these errors come from, I appreciate any help or suggestion.

I discovered an error in the components that I don't know if it has much relevance, VR2 had a 3v output. I removed it and put the correct one at 3.3v. Now I have on the whole PCB 3.26v

I was hoping this was the problem, but I see it's not.

I'm still investigating the bugs that remain to be resolved in my 9xtreme, focused on the backlight.

I review IC5 pins 2 and 3 and start to remember my knowledge regarding logic gates

In the datasheet I check that it has 4 logic gates "NOT", correct me if i'm wrong.

That means that at the output there should be the opposite of the input.

A=0 --> X=1
A=1 --> X=0

IC5 pin 2 goes to IC1 pin 64, I measure voltage at pin 62 and I have 3.2v, this does not seem like a low level..., on the other hand when doing this measurement the backlight always turns red. It seems that the error is here, but I can not understand why and what is failing in the logic gate.

IC5 pin 3 goes to R43 and is to IC8 pin 6, when measuring at R43 (IC5 pin 3) I have 5.2v

I find it hard to believe that IC5 is broken because the other 3 logic gates would not work either, they control TX, SCK and RST.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Fri Jun 10, 2022 2:16 pm
by MikeB
IC5 does not invert the signals, it is just a buffer to increase the drive and voltage output from the processor.
Pin 63 should be high most of the time, and outputs a serial signal to control the backlight.
I may have a special test version of erskyTx that tests the backlight, I'll look for it later.

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Fri Jun 10, 2022 9:52 pm
by MikeB
Here is a special test version. It only drives the backlight in a loop:
Red for 2 seconds
Green for 2 seconds
Blue for 2 seconds
Then fades between the colours
Then repeats.

Mike
ersky9x9XT_romBLtestOnly.zip
Test version only drives the backlight
(215.45 KiB) Downloaded 144 times

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sat Jun 11, 2022 10:32 pm
by adiezarr
Hi Mike,

I tell you the result.

- I install the test firmware with eePeSky
- On the screen it says "Flash File NOT A VALID FIRMWARE [EXIT]
- When I press exit returns to the "Boot loader v3.3 Ready" screen
- I press exit again "Boot Loader", Backlighting does not work at any time
- I must disconnect the battery so that "boot loader" disappears from the screen. When you turn it back on it goes blank and does nothing.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sun Jun 12, 2022 2:06 pm
by MikeB
I'll do a new test version that toggles pin 62 of the processor every few seconds. You should be able to check this signal is then reaching IC8 pin 6.
I assume you have double checked IC8 is the correct way round!

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sun Jun 12, 2022 10:01 pm
by MikeB
Here is a test version that drives the backlight signal high for 5 seconds, then low for 5 seconds, and repeats until you press any button. The words "HIGH" and "LOW" are displayed on the display as the signal is changed.
On my radio, the backlight shows red while this is taking place.

This signal should start at IC1, pin 62 (0-3,3V)
go to IC5, pin 2 (0-3,3V)
IC5 pin 3 (0-5V)
R43, both sides (0-5V)
and end at IC8 pin 6 (0-5V)

IC5 is normally sent a serial signal with specific timing. If the processor is not running at the correct frequency, this timing will be wrong.

A test for the processor running at the correct frequency, set up a timer and see if it counts seconds correctly.

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon Jun 13, 2022 11:45 am
by adiezarr
Hi Mike,

I did the test, indeed on the screen it appears high / low, the backlight still does not turn on

Measures,

IC1 pin 62 --> 3,26v (Never change), when measuring this pin, it lights up red
R43, both sides --> 5,2v (Never change)
IC8 pin 6 --> 5,2v (Never change)

How do I test the processor to see the correct frequency? it will not check in the processor if it counts the seconds correctly

Re: 9Xtreme being released to the public domain (opensource)

Posted: Tue Jun 14, 2022 5:37 pm
by MikeB
This suggests pin 62 of the processor is not driving out correctly.
Putting a meter on the pin to measure the voltage may pull the signal low briefly. This will, I believe, cause the backlight to come on RED.
If you power on, then measure the voltage between pin 62 and 3.3V (should read close to 0V), the backlight may not then go RED. If it does NOT go RED, then it shows pin 62 is not being driven but is floating.

Mike

Re: 9Xtreme being released to the public domain (opensource)

Posted: Thu Jun 16, 2022 11:26 am
by adiezarr
Hi Mike,

Is it likely that the problem is in the crystals? Xtal1, Xtal2?

I think I understand that any of them does the function of oscillator to excite the pin 62?

From what I see IC1 if it's working.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Wed Jun 29, 2022 5:47 pm
by MMutt
Hi all, sorry to crash the party.

Just wondering if anyone has one of these boards (either the 9xtreme or the solderless 9x) lying around they want to sell. I just found my old TGY9x and would really like to tweak it a bit. :)

Re: 9Xtreme being released to the public domain (opensource)

Posted: Sat Dec 24, 2022 1:01 pm
by Gaaru
Hello!
I'd be interested to buy a 9xtreme as well if there are still some around as well.

Re: 9Xtreme being released to the public domain (opensource)

Posted: Mon Jan 16, 2023 10:53 am
by dionisor
Hello everyone,
I am interested in one that is assembled or at least partially assembled.
I would like to use torturedau version (https://github.com/tortureau/9Xtreme/releases/tag/1.2.3) to order using JLCPCB PCB Assembly service.
Has anyone tried it before? Has anyone 9Xtreme EasyEDA project?
Thank you all for your great work!