which STM32 processor in Taranis plus
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
I've had a lot on recently, but I should be able to get you a special test version that can try to locate where your radio is failing.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
OK, on the ersky9x test versions thread (first post", I've put a file "x9dp_romHrc1.zip". Please download this, extract the .bin and flash this to your radio.
Power on, and watch the top left corner of the display. I put a character there showing how far through we get. If a watchdog reset occurs, which is what I think is happening, a lot of the startup is skipped (splash screen etc.), so it may be what happens on power up is important.
To help the testing, try moving the throttle away from fully down, and move a switch. These should cause the relevant warnings to be displayed.
Mike.
Power on, and watch the top left corner of the display. I put a character there showing how far through we get. If a watchdog reset occurs, which is what I think is happening, a lot of the startup is skipped (splash screen etc.), so it may be what happens on power up is important.
To help the testing, try moving the throttle away from fully down, and move a switch. These should cause the relevant warnings to be displayed.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: which STM32 processor in Taranis plus
i flashed firmware .
I saw corner display P , after go to SWITH WArrning , screen blink same file ersky9x ago.![Embarrassed :oops:](./images/smilies/icon_redface.gif)
moved all Stick , switch ....
I saw corner display P , after go to SWITH WArrning , screen blink same file ersky9x ago.
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
moved all Stick , switch ....
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
The next two things that would be done, before displaying a Q are to initialise the trainer capture, then the real time clock. What is the state of the RTC battery (and did you remove that when replacing the processor)?
Try, at least, removing the RTC battery (which should be around 3 volts.
Mike.
Try, at least, removing the RTC battery (which should be around 3 volts.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: which STM32 processor in Taranis plus
measure batterry is 3v
i have not yet replace a Stm32f205. can not buy a new chip now .But i can buy a STM32F207VET6 or STM32F407VET6 now , so i can replace stm32f205 by stm32f207 OR 407 ?
video tested ";https://www.youtube.com/watch?v=NU9-T0oMaq8
i have not yet replace a Stm32f205. can not buy a new chip now .But i can buy a STM32F207VET6 or STM32F407VET6 now , so i can replace stm32f205 by stm32f207 OR 407 ?
video tested ";https://www.youtube.com/watch?v=NU9-T0oMaq8
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
I've just had a look at the code that initialises the RTC and it has something in it that waits for the 32kHz oscillator to start. This should have a timeout in it.
It seems that the 32kHz oscillator isn't starting. The 32kHz crystal is Y1 and connects to pins 8 and 9 of the processor. Worth checking these pins are connecting to the crystal OK.
In the meantime, I'll have a look into improving the RTC code.
Mike.
It seems that the 32kHz oscillator isn't starting. The 32kHz crystal is Y1 and connects to pins 8 and 9 of the processor. Worth checking these pins are connecting to the crystal OK.
In the meantime, I'll have a look into improving the RTC code.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
I've just posted another, specific test version for you. This runs a timeout on setting up the RTC.
If this runs, please go to the "BOOT REASON" menu and report the numbers at the bottom of the screen.
Mike.
If this runs, please go to the "BOOT REASON" menu and report the numbers at the bottom of the screen.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: which STM32 processor in Taranis plus
hi Mike
i orderd a new crystal and it will come in next week.
i will report result here
i orderd a new crystal and it will come in next week.
i will report result here
Re: which STM32 processor in Taranis plus
Please read Mike's last post..
Joã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
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
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
Did the special test version run OK? I need to know if the change I put in solves the potential problem in general because if the 32kHz crystal fails whilw using the Tx, and then there is, for some reason, a watchdog reboot, the Tx won't come back working and we need, for safety, to be sure it does.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: which STM32 processor in Taranis plus
It worked , it worked
Thank you so much MIKE , you are right . Crystal is cause for all problems
crystal come soon to day. i replaced it and it can run both file ersky and opentx taranis .
now my taranis worked back .
![Laughing :lol:](./images/smilies/icon_lol.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
Thank you so much MIKE , you are right . Crystal is cause for all problems
crystal come soon to day. i replaced it and it can run both file ersky and opentx taranis .
now my taranis worked back .
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Hi Guys, I want to jump to the party.
I have similar issues to happy.
I stuck in boatloader and radio will not turn on.
Tried all usual methods and now sucpecting some hardware failure.
Also tried DFUse but giving me this error.
I have similar issues to happy.
I stuck in boatloader and radio will not turn on.
Tried all usual methods and now sucpecting some hardware failure.
Also tried DFUse but giving me this error.
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Also tried x9dp_romHrc2.zip rom which you prepared for happy and will give me results as on the photo.
Later I will have only screen with arrows on the side and "heart beat"
Later I will have only screen with arrows on the side and "heart beat"
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
The report you are getting from DFUse shows the data 256K into the flash memory doesn't seem to have flashed.
As a test, I've just put erskyTx r220 on the test versions thread. This fits in 256K, so please try flashing this with DFUse.
Mike.
As a test, I've just put erskyTx r220 on the test versions thread. This fits in 256K, so please try flashing this with DFUse.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Hi Mike, thanks for firmware.
Not super familiar with Dfuse but is it working only with .dfu files? I downloaded erskyTx r220 but it's .bin
How to proceed?
Should I convert .bin to .dfu?
Thanks
Not super familiar with Dfuse but is it working only with .dfu files? I downloaded erskyTx r220 but it's .bin
How to proceed?
Should I convert .bin to .dfu?
Thanks
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Ok, I flashed firmware which you posted.
Dfuse go smooth with no error.
Result is this screen as on the photo and "heart beat" every like 2 sec screen go bit darker and litte sound come from speaker. Heartbeat come to mind.
Also when turning off from button it not happening immediately but after like 10-15sec
Is this good or bad?
Dfuse go smooth with no error.
Result is this screen as on the photo and "heart beat" every like 2 sec screen go bit darker and litte sound come from speaker. Heartbeat come to mind.
Also when turning off from button it not happening immediately but after like 10-15sec
Is this good or bad?
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
Sounds like a watchdog restart (every 2 seconds).
Please try holding the two horizontal trims inwards to see if it works in the bootloader. Also, try with the trims apart to see if it works in "maintenance mode".
Mike
Please try holding the two horizontal trims inwards to see if it works in the bootloader. Also, try with the trims apart to see if it works in "maintenance mode".
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
horizontal trims inwards works and give me bootloader,
but trims outwards have no effect.
but trims outwards have no effect.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
Try having the bootloader running, then plug in the USB. Do you then see two hard drives appear on your PC?
One of these is the SD card, see if you can access that.
Mike
One of these is the SD card, see if you can access that.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Yes, if I connect to PC with bootloader on I can see both Radio Drives.
I can access SD card.
Companion TX see my radio and I can access models.
I can write new firmware and bootloaders from companion and straight from SD cards but outcome is always same. Radio not turning on.
Very strange
I can access SD card.
Companion TX see my radio and I can access models.
I can write new firmware and bootloaders from companion and straight from SD cards but outcome is always same. Radio not turning on.
Very strange
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
Please use companion or eepskye to read the flash memory to a file. Then put the file in a .zip file and post it here for me to look at.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
I just checked,
I can write firmware from radio and eeprom but I can't read models any more.
But to be fair it is still with test firmware which you send me so maybe thats why or maybe I skrew something along the way.
Anyway I am attaching files.
Thanks for helping me Mike.
I can write firmware from radio and eeprom but I can't read models any more.
But to be fair it is still with test firmware which you send me so maybe thats why or maybe I skrew something along the way.
Anyway I am attaching files.
Thanks for helping me Mike.
- Attachments
-
- flash from radio.rar
- (173.15 KiB) Downloaded 190 times
Re: which STM32 processor in Taranis plus
He posted on RCGroups that he always had flashing errors even with ST DFU tool, it seems some area of the flash is faulty.
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Yes, coming from rcgroups. I have flashing errors with STDfu as seen on attachment from my first post here. But last .bin from mike flashed without errors.
I want to narrow area where is the problem before I start actually touch hardware with solder iron.
I want to narrow area where is the problem before I start actually touch hardware with solder iron.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
Looking at the flash memory dump, the third quarter of the flash is "blank" (256K to 384K), which is consistent with your DFUse error.
The .bin file I posted fitted in the first 256K so that is why it flashed OK.
My conclusion is the processor flash memory is faulty. Even if you can get it working, I would not trust it.
Either you need a new main board, or you need to change the processor.
Mike
The .bin file I posted fitted in the first 256K so that is why it flashed OK.
My conclusion is the processor flash memory is faulty. Even if you can get it working, I would not trust it.
Either you need a new main board, or you need to change the processor.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Fri Oct 25, 2019 11:32 am
- Country: -
Re: which STM32 processor in Taranis plus
Thanks Mike for your help.
At least now I know for 100% that processor is the issue.
Aslo thanks Kilrah for your help on RCgroups as well.
At least now I know for 100% that processor is the issue.
Aslo thanks Kilrah for your help on RCgroups as well.
-
- Posts: 9
- Joined: Sun Nov 10, 2019 5:30 am
- Country: -
Re: which STM32 processor in Taranis plus
Hi. I have done the same as you guys... I need a new micro processor. I am not sure where i can buy the correct one. Can you tell me where i can buy it? Found this one, but it is not the exact same.
SEK 39.00 | 1pcs X STM32F205VET6 STM32F STM32F205 LQFP100 NEW Free Shipping
https://s.click.aliexpress.com/e/FneQREJe
Joakim Johansson Sweden![Image](https://uploads.tapatalk-cdn.com/20191110/7fc585b340db0c02d72c15d22571855f.jpg)
Skickat från min VTR-L29 via Tapatalk
SEK 39.00 | 1pcs X STM32F205VET6 STM32F STM32F205 LQFP100 NEW Free Shipping
https://s.click.aliexpress.com/e/FneQREJe
Joakim Johansson Sweden
![Image](https://uploads.tapatalk-cdn.com/20191110/7fc585b340db0c02d72c15d22571855f.jpg)
Skickat från min VTR-L29 via Tapatalk
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
A STM32F205VET6 (as in your link) is the same as in your picture, so is correct.
When replacing the processor, remove all power, including the RTC battery.
Mike
When replacing the processor, remove all power, including the RTC battery.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 9
- Joined: Sun Nov 10, 2019 5:30 am
- Country: -
Re: which STM32 processor in Taranis plus
Thanks. Is it anything else i should know. Will i need som special firmware or something?
Skickat från min VTR-L29 via Tapatalk
Skickat från min VTR-L29 via Tapatalk
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: which STM32 processor in Taranis plus
When you have changed the processor, you will need to use zadig to flash it the first time.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!