Page 1 of 1

Replacing Atmega64 with 128

Posted: Thu Apr 05, 2018 6:52 pm
by Nickey
Hi all,

I have searched the forum and didn't find any topic about this, I want to replace my 9x Atmega64 with the 128 one.
is it possible? does it require any special programming accept from flashing the 128 hex?

10x all
Nickey

Re: Replacing Atmega64 with 128

Posted: Thu Apr 05, 2018 8:01 pm
by Kilrah
Nope, many people have done it back then but since the time where this was common was about 6 years ago it might not show up in searches.
You just need a programmer that's able to work at slow speed to set fuses on a new chip.

Re: Replacing Atmega64 with 128

Posted: Thu Apr 05, 2018 9:58 pm
by jhsa
Also, you might want to consider the m2561 chip. It also doubles the RAM of the m64, as well as the flash and eeprom..
The m128 only doubles the flash and eeprom..

Sent from my BLN-L21 using Tapatalk


Re: Replacing Atmega64 with 128

Posted: Fri Apr 06, 2018 8:56 am
by ReSt
I have searched the forum and didn't find any topic about this,
Have a look there

viewtopic.php?f=95&t=9160&p=118619&hili ... ck#p118619

Reinhard

Re: Replacing Atmega64 with 128

Posted: Fri Apr 06, 2018 9:28 am
by Nickey
Kilrha, I don't know how to work with programmers so, I took a perfectly working TX and replaced the chip, the result, the backlight is on but the screen is blank.
The interesting part is that eepe recognize the 128 chip and successfully burn the er9x-128.hex file but no screen.
Looking at this file: https://www.avrfreaks.net/sites/default ... oc2539.pdf , it says something about "No-Read-While-Write section" and ADC converter which I don't know what it means.

Hi Jhsa, will the m2561 chip be an easy option? I mean replacing and flashing?

Reinhard, the link is for physical instructions how to replace the chip, I already did that, I need to know how to make it work.

10x guys for the support

Re: Replacing Atmega64 with 128

Posted: Fri Apr 06, 2018 10:02 am
by jhsa
The m2561 is as difficult to solder as the m128.. the same for flashing..

As for the display problem try this.
download the eeprom onto eepe. check the contrast value. Make sure it is at around 25. then burn the eeprom back to the radio.
I think you might have just a very low contrast setting.

João

Re: Replacing Atmega64 with 128

Posted: Fri Apr 06, 2018 9:30 pm
by Nickey
Hi João, Muito Obrigado, the setting for the contrast is 25

https://www.dropbox.com/s/ajd742vl7nfcv ... p.png?dl=0

Re: Replacing Atmega64 with 128

Posted: Fri Apr 06, 2018 9:47 pm
by MikeB
I suggest double checking the soldering of the pins of the new processor to make certain they are all soldered and there are no shorts between pins. It only takes one of the LCD connections to not be soldered or be shorted to another pin to stop the LCD from operating.

Mike

Re: Replacing Atmega64 with 128

Posted: Sat Apr 07, 2018 9:47 am
by Nickey
Hi Mike 10x for the direction, the problem was with the flux cleaner getting into the display ribbon cable connector.
https://www.dropbox.com/s/hvv45ln7pl5m6 ... 7.jpg?dl=0

Well, to conclude, yes, it is possible and needs only flashing the right HEX and setting eepe to 128, now the only problem left is to make Mikes sound module speak.... :D

Re: Replacing Atmega64 with 128

Posted: Sat Apr 07, 2018 11:52 am
by jhsa
Nice that you've fixed it.. Well done:)

João

Sent from my BLN-L21 using Tapatalk


Re: Replacing Atmega64 with 128

Posted: Sat Apr 07, 2018 1:41 pm
by bob195558
Here is info about replacing the Chip if you are still interested:
(http://openrcforums.com/forum/viewtopic ... 120#p74046).
It is best to upgrade to the m2561 as you will have more capabilities, the 128 will give you less capabilities. :)

Re: Replacing Atmega64 with 128

Posted: Fri Apr 13, 2018 4:34 pm
by Nickey
10x Bob, first I will enjoy my little triumph with the 128 for a while, then, I will go for the m2561.
Looking at the link you posted, you say something about fuses, is it a problem when flashing the new chip?

Re: Replacing Atmega64 with 128

Posted: Fri Apr 13, 2018 5:16 pm
by bob195558
about fuses, no Not a problem, as you can see Mike and João helped me through flashing the new m2561 Chip.
They would be happy to help you also and you will love the m2561 Chip.
Mike has, using eepe to flash m2561 Chip, which helps a lot too.

Bob B.

Re: Replacing Atmega64 with 128

Posted: Tue Apr 17, 2018 8:02 pm
by Nickey
What Hex file did you use?

Re: Replacing Atmega64 with 128

Posted: Tue Apr 17, 2018 9:56 pm
by bob195558
Go to (http://www.er9x.com/)
and then select: er9x for Mega2561 processor (right click and select 'save as')
This file has been updated since 2014, but this is the one you would use for the M2561 chip.

I think see here using eepe to flash with: (http://openrcforums.com/forum/viewtopic ... 120#p74295).
It has been several years since I did this, Mike and João are better help then I may be.