Turnigy 9x processor upgrade
Turnigy 9x processor upgrade
Hi, I want to upgrade the processor.
Changing the chip is not a problem for me.
I want to replace it with Atmega128, but I wanted to ask Atmega2561 is there any advantages?
And I also wanted to ask if ordering a chip from aliexpress would it be ok? The price of such a chip in a local store is about $15.
Changing the chip is not a problem for me.
I want to replace it with Atmega128, but I wanted to ask Atmega2561 is there any advantages?
And I also wanted to ask if ordering a chip from aliexpress would it be ok? The price of such a chip in a local store is about $15.
Re: Turnigy 9x processor upgrade
There are lots of fake Atmel chips around, a 2561 should go between $6-15 so at $2.50 I would expect a fake.
- bob195558
- Posts: 2377
- Joined: Sun Dec 16, 2012 7:24 pm
- Country: United States
- Location: New England, Vermont
- Contact:
Re: Turnigy 9x processor upgrade
Local store sounds better.
Did you see the info here: https://openrcforums.com/forum/viewtopi ... 120#p74105
And yes, upgrading the chip will increase what your 9x can do.
Find firmware here: http://www.er9x.com/
Did you see the info here: https://openrcforums.com/forum/viewtopi ... 120#p74105
And yes, upgrading the chip will increase what your 9x can do.
Find firmware here: http://www.er9x.com/
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
Re: Turnigy 9x processor upgrade
The m128 doubles the flash memory and eeprom memory of the m64 chip.
The m2561 also doubles the RAM memory. This alone makes it much better..
João
The m2561 also doubles the RAM memory. This alone makes it much better..
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
Re: Turnigy 9x processor upgrade
OK thanks.
How would larger RAM memory affect?
And are there any changes other than changing the chip?
How would larger RAM memory affect?
And are there any changes other than changing the chip?
- bob195558
- Posts: 2377
- Joined: Sun Dec 16, 2012 7:24 pm
- Country: United States
- Location: New England, Vermont
- Contact:
Re: Turnigy 9x processor upgrade
More features in the firmware.
You will like the upgrade.
You will like the upgrade.
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
- MikeB
- 9x Developer
- Posts: 17996
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Turnigy 9x processor upgrade
The '2561 has one more "spare" input pin compared to the '128.
At the moment the '2561 includes some global voice alerts that don't fit in the '128 (or '64), as these need some of the extra RAM.
Mike
At the moment the '2561 includes some global voice alerts that don't fit in the '128 (or '64), as these need some of the extra RAM.
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: Turnigy 9x processor upgrade
Not in stock in local stores
Are all chips from China fake? Is it a problem if I put one from aliexpress/ebay?
Are all chips from China fake? Is it a problem if I put one from aliexpress/ebay?
Re: Turnigy 9x processor upgrade
Not all of course, but you do run the risk of getting fakes especially if you get unreasonably cheap ones.
Re: Turnigy 9x processor upgrade
I changed the chip, flashed the fuses, flashed the firmware and the check failed.
Otherwise, everything works.
Attach firmware downloaded from the transmitter. (822t)
Is everything okay, do I have to worry about anything?
Otherwise, everything works.
Attach firmware downloaded from the transmitter. (822t)
Is everything okay, do I have to worry about anything?
- Attachments
-
- fromtx.rar
- (42.95 KiB) Downloaded 262 times
- bob195558
- Posts: 2377
- Joined: Sun Dec 16, 2012 7:24 pm
- Country: United States
- Location: New England, Vermont
- Contact:
Re: Turnigy 9x processor upgrade
Did not know if you saw this,
if not this info may have been a help for you: https://openrcforums.com/forum/viewtopi ... 120#p74105
Upgrading the 5V regulator would be a good help too: https://openrcforums.com/forum/viewtopi ... =95&t=3819
if not this info may have been a help for you: https://openrcforums.com/forum/viewtopi ... 120#p74105
Upgrading the 5V regulator would be a good help too: https://openrcforums.com/forum/viewtopi ... =95&t=3819
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
- MikeB
- 9x Developer
- Posts: 17996
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Turnigy 9x processor upgrade
The firmware read from the Tx contains only the first 64K, repeated 4 times. There may be a problem with either your programmer, or AvrDude. THe '2561 needs the programmer/AvrDude to switch flash memory banks (each is 64K) when reading and writing. It looks like the write worked OK, but the read back is not correct. My guess is the read is not changing banks, so a read just reads the first bank all the time, while the verify reads the last bank written, which in the case of er9x is the 4th (last) bank as there is a serial bootloader included that is placed at the end of that bank, the start of the bank is left with FF in it.
Do you know what version of AvrDude you are using?
The flashed firmware looks to be OK.
Mike
Do you know what version of AvrDude you are using?
The flashed firmware looks to be OK.
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: Turnigy 9x processor upgrade
If I remember well from that time a bunch of usbasp used old firmware that had an issue with that, so you needed another programmer to reflash the programmer before it would work right.
- MikeB
- 9x Developer
- Posts: 17996
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Turnigy 9x processor upgrade
Do you have a FTDI type device (USB to serial with non-inverted, logic level ouputs)?
If so, since it looks like you will have the bootloader now flashed to the '2561, you should be able to update the firmware with that.
Mike
If so, since it looks like you will have the bootloader now flashed to the '2561, you should be able to update the firmware with 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!
Re: Turnigy 9x processor upgrade
I have USB to RS232 Serial TTL (PL2303) and Arduino UNO R3 (ATmega328P)
Will it be possible to flash with either of them? And how to connect?
EDIT: Can I use an Arduino like here to flash ATtiny44? And what firmware?
Will it be possible to flash with either of them? And how to connect?
EDIT: Can I use an Arduino like here to flash ATtiny44? And what firmware?
- Attachments
-
- PL2303-font-b-USB-b-font-To-RS232-font-b-TTL-b-font-font-b-PL2303HX.jpg (15.2 KiB) Viewed 15197 times
Re: Turnigy 9x processor upgrade
Where can I get new firmware to fix ATtiny44?
Could be better
Flash with Arduino
Pinouts
Arduino Pin 13 ---> SCK
Arduino Pin 12 ---> MISO
Arduino Pin 11 ---> MOSI
Arduino Pin 10 ---> RESET
Arduino 5V ---> VCC
Arduino Ground ---> GND
Update Avrdude to latest version 6.3 (with 5.10 verification error).
I hope everything is fine now.
- Attachments
-
- fromtx_arduino.rar
- (55.23 KiB) Downloaded 243 times
Re: Turnigy 9x processor upgrade
I connected ATtiny44 to Arduino and made a backup. Where can I find newer firmware?
- Attachments
-
- backup_t44.rar
- (1.8 KiB) Downloaded 239 times
Re: Turnigy 9x processor upgrade
I found a file from back then (2009)... but it's for an atmega8-based usbasp, maybe also an atmega48 but no attiny44.
Re: Turnigy 9x processor upgrade
Ok, thanks anyway.
And what programmer should I buy from e-buy / aliexpress for 1-2-3$ with which 2561 can be programmed without problems?
Or make a cable for a quick connection to an Arduino?
EDIT: I will buy Arduino nano for $1.89
And what programmer should I buy from e-buy / aliexpress for 1-2-3$ with which 2561 can be programmed without problems?
Or make a cable for a quick connection to an Arduino?
EDIT: I will buy Arduino nano for $1.89
Re: Turnigy 9x processor upgrade
Hello,
I´ve updated a FS-TH9 main board with the following mods:
- Controller changed to ATMEGA2561
- added ISP connector to MISO / MOSI (port signals moved to PC6 / PC7
- FRSKY telemetry mod
- Arduvioce connection prepared (pin 27 / pin 28)
After the hardware changes I flashed the controller with the firmware ER9x-M2561 (actual download revision 821 / eepe revision 422) .
After flashing the controller is generally working but there is something strange with the behavior.
- there will be shown no splash screen (is activated in radio setup)
- the switch and throttle warnings are only active if splash screen is deactivated in radio setup
- there is no reaction on changing THR and AIL switch (voltage level at pin changes to high and low if the switch is activated)
Can somebody help me and tell me what is wrong in my config?
Did I use a wrong firmware?
Thanks a lot in advance.
Michael
I´ve updated a FS-TH9 main board with the following mods:
- Controller changed to ATMEGA2561
- added ISP connector to MISO / MOSI (port signals moved to PC6 / PC7
- FRSKY telemetry mod
- Arduvioce connection prepared (pin 27 / pin 28)
After the hardware changes I flashed the controller with the firmware ER9x-M2561 (actual download revision 821 / eepe revision 422) .
After flashing the controller is generally working but there is something strange with the behavior.
- there will be shown no splash screen (is activated in radio setup)
- the switch and throttle warnings are only active if splash screen is deactivated in radio setup
- there is no reaction on changing THR and AIL switch (voltage level at pin changes to high and low if the switch is activated)
Can somebody help me and tell me what is wrong in my config?
Did I use a wrong firmware?
Thanks a lot in advance.
Michael
- MikeB
- 9x Developer
- Posts: 17996
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Turnigy 9x processor upgrade
First, power on holding the left horizontal trim to the left (enables the hardware menu).
Then go to the hardware menu and tick "FrSky Mod Done", this should fix the THR and AIL switches.
Next, if not already done, do a calibration of the sticks and pots.
Then report back on any remaining problems.
Mike
Then go to the hardware menu and tick "FrSky Mod Done", this should fix the THR and AIL switches.
Next, if not already done, do a calibration of the sticks and pots.
Then report back on any remaining problems.
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: Turnigy 9x processor upgrade
Hi Mike,
thank´s for Your fast response.
After setting the "FrSky Mod Done" the switches work fine.
Now I have a few additional questions:
- first I want to ask how I can do a donation for the great job of the developers ?
- isn´t it possible to set "FrSky Mod Done" by using EEPE (if the check box is selected it will not be set in the radio after programing)?
- always after programming the EEPROm by EEPE the "TelemetrEZ>=r90" is selected. How can I prevent that (I can´t find it in EEPE)?
- if I select the "Splash screen" in the general settings it won´t be shown at startup, but the startup warnings are not working. How can I fix this?
- if I reduce the receiver voltage (channel1 A1) it won´t change in the radio telemetry display (the RSSI signal is OK / the radio battery voltage is OK)
Best Regards
Michael
thank´s for Your fast response.
After setting the "FrSky Mod Done" the switches work fine.
Now I have a few additional questions:
- first I want to ask how I can do a donation for the great job of the developers ?
- isn´t it possible to set "FrSky Mod Done" by using EEPE (if the check box is selected it will not be set in the radio after programing)?
- always after programming the EEPROm by EEPE the "TelemetrEZ>=r90" is selected. How can I prevent that (I can´t find it in EEPE)?
- if I select the "Splash screen" in the general settings it won´t be shown at startup, but the startup warnings are not working. How can I fix this?
- if I reduce the receiver voltage (channel1 A1) it won´t change in the radio telemetry display (the RSSI signal is OK / the radio battery voltage is OK)
Best Regards
Michael
Re: Turnigy 9x processor upgrade
Hi Mike,
the telemetry voltage now works fine. I´ve done a bad soldering at the receiver voltage adapter.
Now I use A1 for internal and A2 for battery pack voltage.
Michael
the telemetry voltage now works fine. I´ve done a bad soldering at the receiver voltage adapter.
Now I use A1 for internal and A2 for battery pack voltage.
Michael
Re: Turnigy 9x processor upgrade
If you follow one of the links under all my posts, you will be able to donate to Mike.
The other link points to some Er9x / ErskyTX tutorial videos I have made a few years ago.
João
The other link points to some Er9x / ErskyTX tutorial videos I have made a few years ago.
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