ATmega2561 Upgrade to Turnigy 9X
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
ATmega2561 Upgrade to Turnigy 9X
Well I've put the '2561 board into the Tx and it starts up and runs OK. I've still to add the telemetry cableing, sort a backlight and get the voice module in, but I have a first test setup running. I did mod the back board ready for internal telemetry.
I also need to do the 1K resistor mods to the horizontal trims, although my first testing on this did NOT cause any reboots.
Mike.
I also need to do the 1K resistor mods to the horizontal trims, although my first testing on this did NOT cause any reboots.
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: M128 Upgrade to Turnigy 9X
@joao, i see what you mean.. but that is another thing... and the new fw fixed the issues i was having.
@Mike, good to see that it is working.... still waiting for my other radio to arrive.
@Mike, good to see that it is working.... still waiting for my other radio to arrive.
Custom 9x with M64/Telemetry Mod
Re: M128 Upgrade to Turnigy 9X
Dear Mike & other 2561 owners,
I just upgraded my ATmega64 to 2561. Now I'm trying to understand the flashing sequence. Do I get it right that I need to set the fuses first, and then to flash the firmware? What are the proper fuses for 2561?
Also, in the latest eepe (revision 391) I see er9x-2561 firmware, but I don't see the -2561-frsky version. Is there just a switch in the the -2561 to set the frsky telemetry mod status?
I just upgraded my ATmega64 to 2561. Now I'm trying to understand the flashing sequence. Do I get it right that I need to set the fuses first, and then to flash the firmware? What are the proper fuses for 2561?
Also, in the latest eepe (revision 391) I see er9x-2561 firmware, but I don't see the -2561-frsky version. Is there just a switch in the the -2561 to set the frsky telemetry mod status?
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
I'll look at my fuse settings later today.
Yes, you set the fuses first. You may need to slow the programmer clock speed down as the default fuses use the internal RC clock divided by 8.
Just the one version is needed. There is an option in the RADIO SETUP menu to set whether you have done the FrSky telemetry mod.
Mike.
Yes, you set the fuses first. You may need to slow the programmer clock speed down as the default fuses use the internal RC clock divided by 8.
Just the one version is needed. There is an option in the RADIO SETUP menu to set whether you have done the FrSky telemetry mod.
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: M128 Upgrade to Turnigy 9X
Great, thanks a lot!
Meanwhile I connected the USBasp (I use Smartieparts board) and tried to read the firmware to see if the new 2561 is soldered properly.
But avrdude gives the following error:
Can if be because the fuses are not set properly yet?
The Smartieparts connection seems Ok as far as I could see...
Meanwhile I connected the USBasp (I use Smartieparts board) and tried to read the firmware to see if the new 2561 is soldered properly.
But avrdude gives the following error:
Code: Select all
=================================================================================
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c usbasp -p m2561 -U flash:r:D:/Downloads/RC Hobby/FlySky FS-TH9X/Firmware/er9x/1.bin:r
=================================================================================
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
=================================================================================
AVRDUDE done - exit code 1
=================================================================================
The Smartieparts connection seems Ok as far as I could see...
Re: M128 Upgrade to Turnigy 9X
DON'T use the -F option.. that can brick the chip..
Did you try to read it using the -b 100 in the extra arguments field in eepe?
When I first tried to flash my atmegas128 I had the same error.. I used a different programmer and it programmed.. but not without a big fight..
Also, which version of the usbasp do you have? some versions might not work as they might not be able to slow down the programming speed.. Please post a picture of your programmer. Double check all your connections as well
Did you try to read it using the -b 100 in the extra arguments field in eepe?
When I first tried to flash my atmegas128 I had the same error.. I used a different programmer and it programmed.. but not without a big fight..
Also, which version of the usbasp do you have? some versions might not work as they might not be able to slow down the programming speed.. Please post a picture of your programmer. Double check all your connections as well
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: M128 Upgrade to Turnigy 9X
I won't. I didn't even think about it ... almost ...jhsa wrote:DON'T use the -F option.. that can brick the chip..
I just did. Same output...jhsa wrote:Did you try to read it using the -b 100 in the extra arguments field in eepe?
I use Smartieparts board. It's one of Steven's first boards, even pre-2.1 (sorry, I have no photo at the moment, but I will make one if needed). That's the only programmer I have at hands now. The other one from e-bay is still on its way (and it may take weeks or even months to arrive - our postal service is slow).jhsa wrote: When I first tried to flash my atmegas128 I had the same error.. I used a different programmer and it programmed.. but not without a big fight..
Also, which version of the usbasp do you have? some versions might not work as they might not be able to slow down the programming speed.. Please post a picture of your programmer. Double check all your connections as well
The thing about Smartieparts is that it uses pogo-pins instead of soldered connections to the mainboard. And that may cause a problem (although it worked just fine for me so far). I will take it apart and have another check.
I don't need the power to the mainboard, right? I think I shall take the mainboard out and try it again with just the 9x mainboard and the Smartieparts board. This way it's easier to see the connections inside...
Re: M128 Upgrade to Turnigy 9X
I didn't realise you have the smartieparts board.. no picture needed then
The earlier versions supplied power to the board but I think the newer don't.. Can't remember when it changed though. someone might jump in with the answer in a little while..
João
The earlier versions supplied power to the board but I think the newer don't.. Can't remember when it changed though. someone might jump in with the answer in a little while..
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: M128 Upgrade to Turnigy 9X
Mine does supply power to the mainboard - I remember the radio powered on by itself when I connected the USB cable.jhsa wrote:The earlier versions supplied power to the board but I think the newer don't..
Re: M128 Upgrade to Turnigy 9X
I have the 2.3 version, it doesn't power the board.. you have to power the radio in order to program.
Custom 9x with M64/Telemetry Mod
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
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: M128 Upgrade to Turnigy 9X
Thanks!
So it's not the fuse settings...
Hmm... How to troubleshoot the atmega with just a multimeter?
I think I will solder the smartieparts board to make sure connection is ok.
So it's not the fuse settings...
Code: Select all
C:\Program Files\eePe>avrdude.exe -c usbasp -p m2561 -u -U lfuse:w:0xDE:m -U hfuse:w:0xD1:m -U efuse:w:0xFC:m
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
I think I will solder the smartieparts board to make sure connection is ok.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
I don't see you using the -b 100 option. This is necessary when trying to program the fuses. You can even use a larger value, e.g. -b 500 just to get the fuses done.
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: M128 Upgrade to Turnigy 9X
Oh, that was a wrong paste above... But there's no difference with either -b 100 or 500.
Perhaps, a verbose output gives some more info:
Perhaps, a verbose output gives some more info:
C:\Program Files\eePe>avrdude.exe -c usbasp -p m2561 -b 500 -u -U lfuse:w:0xDE:m -U hfuse:w:0xD1:m -U efuse:w:0xFC:m -v
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\eePe\avrdude.co
nf"
Using Port : lpt1
Using Programmer : usbasp
Overriding Baud Rate : 500
AVR Part : ATMEGA2561
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
Re: M128 Upgrade to Turnigy 9X
Use UPPER case "B", "b" is a different parameter!andrewju wrote:But there's no difference with either -b 100 or 500.
C:\Program Files\eePe>avrdude.exe -c usbasp -p m2561 -B 500 -u -U lfuse:w:0xDE:m -U hfuse:w:0xD1:m -U efuse:w:0xFC:m -v
http://www.nongnu.org/avrdude/user-manu ... ude_4.html
Re: M128 Upgrade to Turnigy 9X
You're da man!mbanzi wrote:Use UPPER case "B", "b" is a different parameter!
Thanks a lot!C:\Program Files\eePe>avrdude.exe -c usbasp -p m2561 -B 500 -u -U lfuse:w:0xDE:m -U hfuse:w:0xD1:m -U efuse:w:0xFC:m -v
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\eePe\avrdude.conf"
Using Port : lpt1
Using Programmer : usbasp
Setting bit clk period : 500.0
AVR Part : ATMEGA2561
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude.exe: set SCK frequency to 2000 Hz
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.08s
avrdude.exe: Device signature = 0x1e9802
avrdude.exe: reading input file "0xDE"
avrdude.exe: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.06s
avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 0xDE:
avrdude.exe: load data lfuse data from input file 0xDE:
avrdude.exe: input file 0xDE contains 1 bytes
avrdude.exe: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.02s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "0xD1"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.06s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0xD1:
avrdude.exe: load data hfuse data from input file 0xD1:
avrdude.exe: input file 0xD1 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.03s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe: reading input file "0xFC"
avrdude.exe: writing efuse (1 bytes):
Writing | ################################################## | 100% 0.06s
avrdude.exe: 1 bytes of efuse written
avrdude.exe: verifying efuse memory against 0xFC:
avrdude.exe: load data efuse data from input file 0xFC:
avrdude.exe: input file 0xFC contains 1 bytes
avrdude.exe: reading on-chip efuse data:
Reading | ################################################## | 100% 0.02s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of efuse verified
avrdude.exe done. Thank you.
Now, going to proceed with the firmware...
Re: M128 Upgrade to Turnigy 9X
This looks wrong...
The chip is 2561. At least that is written on the chip itself.
Code: Select all
avrdude.exe: Device signature = 0x1e9800
avrdude.exe: Expected signature for ATMEGA2561 is 1E 98 02
Double check chip, or use -F to override this check.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
Try with slowing the clock a bit (-B 10 say). When you programmed the fuses you got 1e9802 OK.
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: M128 Upgrade to Turnigy 9X
Maybe this is a coincidence, but I read in another thread someone had a similar "signature mismatch" when sticks were not idle while flashing. So beofre I saw Mike's suggestion, I put the radio back together, and it flashed successfully:
Once again, I think this may be just a coincidence (better contact somewhere?), and is unlikely to be related to sticks/pots/switches state.
Still, when I power up my radio, there's nothing on the screen, and it makes no sound either. I tried redownloading and reflashing (without errors again) - with the same result...
Kindly ask for help to troubleshoot it further.
Code: Select all
=================================================================================
Started AVRDUDE
C:/Program Files/eePe/avrdude.exe -c usbasp -p m2561 -U flash:w:D:/er9x/er9x.hex:i
=================================================================================
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x1e9802
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "D:/er9x/er9x.hex"
avrdude.exe: writing flash (54510 bytes):
Writing | ################################################## | 100% 10.08s
avrdude.exe: 54510 bytes of flash written
avrdude.exe: verifying flash memory against D:/er9x/er9x.hex:
avrdude.exe: load data flash data from input file D:/er9x/er9x.hex:
avrdude.exe: input file D:/er9x/er9x.hex contains 54510 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 10.69s
avrdude.exe: verifying ...
avrdude.exe: 54510 bytes of flash verified
avrdude.exe done. Thank you.
=================================================================================
AVRDUDE done - SUCCESSFUL
=================================================================================
Still, when I power up my radio, there's nothing on the screen, and it makes no sound either. I tried redownloading and reflashing (without errors again) - with the same result...
Kindly ask for help to troubleshoot it further.
Re: M128 Upgrade to Turnigy 9X
Maybe the fuses?
Sent from my GT-I9195 using Tapatalk
Sent from my GT-I9195 using Tapatalk
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: M128 Upgrade to Turnigy 9X
That was the first thing I rechecked... The fuses are DE / D1 / FC (here's the recent output):
I also created a new eeprom in eepe, flashed it to the radio and then read it back. It worked fine, and eepe recognized what it fetched from the 2561. Still, I only see a blank screen when switching the radio on.
Oh, the backlight turns ON as soon as I turn the power switch. My backlight is normally controlled by the firmware, so it means the pin responsible for backlight control is logical 1 (or 0 ?) permanently.
Code: Select all
C:\Program Files\eePe>avrdude.exe -c usbasp -p m2561 -U lfuse:r:-:i -U hfuse:r:-:i -U efuse:r:-:i -v
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\eePe\avrdude.conf"
Using Port : lpt1
Using Programmer : usbasp
AVR Part : ATMEGA2561
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9802
avrdude.exe: safemode: lfuse reads as DE
avrdude.exe: safemode: hfuse reads as D1
avrdude.exe: safemode: efuse reads as FC
avrdude.exe: reading lfuse memory:
Reading | ################################################## | 100% 0.02s
avrdude.exe: writing output file "<stdout>"
:01000000DE21
:00000001FF
avrdude.exe: reading hfuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "<stdout>"
:01000000D12E
:00000001FF
avrdude.exe: reading efuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "<stdout>"
:01000000FC03
:00000001FF
avrdude.exe: safemode: lfuse reads as DE
avrdude.exe: safemode: hfuse reads as D1
avrdude.exe: safemode: efuse reads as FC
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
Oh, the backlight turns ON as soon as I turn the power switch. My backlight is normally controlled by the firmware, so it means the pin responsible for backlight control is logical 1 (or 0 ?) permanently.
Re: M128 Upgrade to Turnigy 9X
Oooops! I think it's a bug in eepe. In fact, I downloaded new firmware via eepe. In eepe's Preferences I just set:
Version to download: er9x-2561
Processor: M2561
Then, clicking "Download" button got me the latest er9x.hex file.
I just realized that the file may still be wrong. So I went to er9x project at google code and downloaded the er9x-2561.hex manually.
Flashing this file - and the radio restarted with a 'check mix sources' alert! Bingo!
Surely I should have understood that eepe suggests a wrong file (at least by looking at the file name). But this understanding came to my mind only at 2am, so I had to get up and test it ASAP - couldn't get to sleep otherwise!
Will do more testing tomorrow. I will also need to move my models from the old eeprom, and 'check mix sources' as firmware suggests (I used quite an old firmware before this upgrade, so I know my models may be affected by the recent stick mode corrections).
You're guys great!
THANK YOU VERY MUCH!!!
Version to download: er9x-2561
Processor: M2561
Then, clicking "Download" button got me the latest er9x.hex file.
I just realized that the file may still be wrong. So I went to er9x project at google code and downloaded the er9x-2561.hex manually.
Flashing this file - and the radio restarted with a 'check mix sources' alert! Bingo!
Surely I should have understood that eepe suggests a wrong file (at least by looking at the file name). But this understanding came to my mind only at 2am, so I had to get up and test it ASAP - couldn't get to sleep otherwise!
Will do more testing tomorrow. I will also need to move my models from the old eeprom, and 'check mix sources' as firmware suggests (I used quite an old firmware before this upgrade, so I know my models may be affected by the recent stick mode corrections).
You're guys great!
THANK YOU VERY MUCH!!!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
Ah yes, a small bug in eepe. When you change the preferences it seems they are not registered until you exit the preferences menu, it still looks for the original setting.
Good you are up and running.
Mike.
Good you are up and running.
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: M128 Upgrade to Turnigy 9X
No, no, it seem to be a bug with 2561 in eepe. I just rechecked: I set the version to er9x-128-frsky and the chip to M128. Clicking 'download' gets me the 'er9x-128.hex' (no even need to save the changes).
But when Version to Download = er9x-2561, eepe downloads just the er9x.hex (no matter what Processor is selected). Saving settings (exiting the menu) and even restarting eepe doesn't change the behavior.
This is minor, of course.
Thanks a lot for the great software!
But when Version to Download = er9x-2561, eepe downloads just the er9x.hex (no matter what Processor is selected). Saving settings (exiting the menu) and even restarting eepe doesn't change the behavior.
This is minor, of course.
Thanks a lot for the great software!
Last edited by andrewju on Sat Nov 16, 2013 7:23 am, edited 1 time in total.
Re: M128 Upgrade to Turnigy 9X
Congratulations. The best ideas come when we're in bed... or on the toilet
Sent from my GT-I9195 using Tapatalk
Sent from my GT-I9195 using Tapatalk
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: M128 Upgrade to Turnigy 9X
True!
Thanks a lot!!!
Thanks a lot!!!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: M128 Upgrade to Turnigy 9X
I'm a bit behind with one or two things in eepe. I see there are several items not quite right in preferences and downloading. I'll have them fixed for the next revision of eepe.
I also need to add to eepe keeping track of which revision of which version has been downloaded. At present, if you download the latest revision of, say, er9x.hex, then it notes that is the latest revision downloaded of anything. If you then check for updates on, say, er9x-128.hex, it won't find any. I did this on ersky9x so I know what to do, just need to do it!
Mike.
I also need to add to eepe keeping track of which revision of which version has been downloaded. At present, if you download the latest revision of, say, er9x.hex, then it notes that is the latest revision downloaded of anything. If you then check for updates on, say, er9x-128.hex, it won't find any. I did this on ersky9x so I know what to do, just need to do it!
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: M128 Upgrade to Turnigy 9X
Thanks Mike and Andrew. This recent discussion is as good as a Wiki for the 2561. I will go ahead with the soldering of my first atmega2561 with more confidence.
Re: ATmega2561 Upgrade to Turnigy 9X
Mike, just one more note regarding eepe: when I load an eeprom from my new 2561, eepe calls it '(M128)' in the window title. Is it because M128 and 2561 have the same EEPROM size (4K)?
mmilan, soldering is the most tricky part. The rest is easier, thanks to this great community!
Good luck!
mmilan, soldering is the most tricky part. The rest is easier, thanks to this great community!
Good luck!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ATmega2561 Upgrade to Turnigy 9X
Yes, I haven't changed that (yet). I probably need to change the labels from M64 and M128 to 2K and 4K, or something like that.
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!