Er9x128

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

No I don't. For 'normal' connection 4 and 6 should be ground.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

yes, that's why I asked.. I wonder why they connect TX and Rx on those pins.. will try to find out..

Thanks,

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
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Er9x128

Post by Oliver »

jhsa wrote: The m8 that I have is the 8L, and I think it will work at 8Mhz maximum..
The usbasp programmer works at 12Mhz.. maybe that's why I couldn't program it and it would fail?
Yes, it may be the reason of your problem.
You can try to set fuses to default and program .hex. If it will fit good, then the problem really in "L" index or in cristal or capasitors near it.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

When I tried to set fuses to default the m8 got bricked.. I'm waiting for some Atmega8 - 16PU. They should be here tomorrow or the day after hopefully..

Thanks

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
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: Er9x128

Post by Flaps 30 »

João - Wouldn't it be cheaper in the long run to just go out and buy a couple of USBasp programmers?

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

and giving up making my own? no way :)

If this fails, then I will have to borrow an hobbyking usbasp from a friend of mine to see if it works..
The thing is, all of you guys used a usbasp to flash the atmega128 successfully.. I have the MySmartUSB Light and it didn't work.. Clive has tried with the same programmer and it also didn't work, and the error is the same as with mine.. so, there's a little change that an USBasp will work with mine, unless I already damaged the chip..
will see. the atmegas8 might be here maybe tomorrow depending on how lazy the ebay seller is.. He is here in Germany and as far as I know he still didn't post it :(

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
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: Er9x128

Post by Flaps 30 »

Duly noted.. Maybe with a bit more practice you will become the brick specialist of the group. :ugeek: :mrgreen:
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

Yeah, I will have to brick a few more he he..
I don't think I bricked the 128 though, well not yet ;) because I could never connect with it.. :D
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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

K guys, little update..
got tired of waiting for the Atmegas, drove 25Km to a friend of mine that has a hobbyking usbasp programmer.
we connected to the computer, fired eepe, set -B 100, write default fuses (not the eeprom protect ones). BANG. done.
After reconnected the programmer, removed the -B 100 thingy, downloaded the er9x128.hex, flashed it. was going quite slow, sck error displaying, BANG. Verified and finished correctly.
I'm not singing victory here yet as I didn't install the board in the radio and can't confirm it is fully working. that will be tomorrow. But this was a big step forward. Thinking I nearly replaced the chip for nothing.. Thanks to Clive and his experience with the really expensive AVR MyNotSoSmartUSB Light programmer (the same as mine), I could finally get some results. It was a really good timing because that chip would have been removed the next morning..
Thank you all guys. Now to the final test.. resolder the wires in the pins and fire this thing up.. I might even solder the wires for the encoder while I'm at it.. ;)

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
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: Er9x128

Post by Flaps 30 »

All sounds promising João. When you get it all back together, it would be interesting to see if your original programmer will talk with the chip in both read and write.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

Good going. Maybe your programmer can't handle the capacitor on the reset line, or possibly it doesn't like the 200 ohm resistors on the other programming lines.
My STK500 dev. kit wouldn't program the stock board until I made a set of hige drive buffers for it.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

well, the strange thing is, it works well with the m64.. never had a glitch with it.. I started to find it very strange when mine didn't work, Clive's didn't work and had exactly the same error as mine, and a friend's didn't work yesterday.. So the easiest is: If you upgrade to the m128 don't use this MySmartUSB Light programmer. It is expensive and it doesn't work with this chip. Get a USBasp.

Mike, in that schematic you've posted above, there aren't any protection resistors as far as I can see.. Could that be a problem? My guess is "no", but I'm asking cos I want to be sure and have some piece of mind..

Thanks

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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

In general no. I didn't particularly look at the circuit, it's just one I found on the web somewhere when I was thinking of making one. I since acquired one another way, but I don't actually use it!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

well, I think that the blue STK500 thingy doesn't really work with the m128. I hope the one i'm building will work.
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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

The STK500 itself is a development kit. It is a board about 12cm by 18cm, with lots of sockets and programming headers. A number of other devices use the same protocol from the PC.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

Hey, just tried now to read the eeprom with my stk500 compatible thingy, and I was able to read the eeprom to file. So I guess this just can't jump start the chip?? strange. the file size is 4.00Kb.. I that to read the memory from TX I need to install the test version from eepe, right?

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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

My antivirus Avast doesn't let me run the eepe.exe for the 128 version.. anyone know what can do?
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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

never mind, i think we got it.. ;)
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
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

;) :mrgreen: :mrgreen: :mrgreen:
Attachments
NO COMMENTS :)
NO COMMENTS :)
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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

Well done!
With the M128 eepe version, you 'should' be able to read the EEPROM from this, open an 'old' M64 eepe file, and drag/drop models into the M128 window, then write the EEPROM back.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: Er9x128

Post by Flaps 30 »

That's good stuff João. :) You can now modify all your other transmitters.

It would be interesting now that it is working, if your original programmer will read and write to the chip.

I have yet to use my other m128 TX with Er9x set for the m128... Does it require another version of Eepe for the m128 and if so, is there a Linux version of it?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

Flaps 30 wrote:That's good stuff João. :)

It would be interesting now that it is working, if your original programmer will read and write to the chip.
It does.. Now it does.. read and write.. just changed the fuses to protect the eeprom with it..
It just didn't want to "jump start" the chip. I had to do it with an UsbAsp.. :o :shock:

If it wasn't Clive's post, I would have thrown a working chip in the bin the next day :shock:

João

P.S. - I did the encoder mod as well and it is working.Started doing it the way Kaos did without the pins but it didn't go very well.. Had to use them. But all good now..

Next to build Hans's sound module to have super audio :mrgreen: :mrgreen:

Thanks to all your support guys.. Now we need lots of cool features for the radios.. :mrgreen: :mrgreen:
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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Er9x128

Post by MikeB »

Flaps 30 wrote:Does it require another version of Eepe for the m128 and if so, is there a Linux version of it?
I can only build then Windows version at present, and then only the .exe. I have to get Erazz to do the release build.
The version of eepe I have seems to work fine with both the M64 and M128, so I'll commit the source changes and ask Erazz to do the build.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

I just replaced the .exe with the one posted on the first post of this thread. downloaded the eeprom and also changed the fuses to protect the eeprom. no problems..

Joao..
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
User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: Er9x128

Post by gohsthb »

If you commit the sources, the Linux people can grab the svn and build it themselves.
-Gohst
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: Er9x128

Post by Flaps 30 »

jhsa wrote:It does.. Now it does.. read and write.. just changed the fuses to protect the eeprom with it..
It just didn't want to "jump start" the chip. I had to do it with an UsbAsp.. :o :shock:
It would be great to know what exactly the difference is between normal burning and the 'first birthday' that would cause the programmer to fail. This must be a fairly common problem with the one you had, or the circuit configuration on the 9x is partly the cause of this issue.
jhsa wrote:Now we need lots of cool features for the radios.. :mrgreen: :mrgreen:
With the M128 there is a lot more space available for all those things that will not fit into the M64. :)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

Yep, now we only need someone that knows how to put all those really nice features inside the little black box with a lot of little legs. 64 of them to be precise :) :D

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
User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: Er9x128

Post by gohsthb »

For starters the clock source and speed are different. The default oscillator is the internal at 1 MHz. So programming might fail if the speed of the program cannot be changed.
-Gohst
Sent from my LG-P999 using Tapatalk 2
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Er9x128

Post by jhsa »

so, I could program an Atmega8 at 1Mhz but not the Atmega128? It doesn't look like a speed problem.
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
jbeebo
Posts: 107
Joined: Mon Nov 05, 2012 6:31 pm
Country: -
Location: Los Angeles burbs, CA

Re: Er9x128

Post by jbeebo »

jhsa, I have a couple extra USBASP programmers (read this) - and as luck would have it I'm in Germany next week! Do you want me to bring one and put it in the post for you? I can give you one of my already modified ones with removed problematic 220ohm resistors. If you want it, PM me with your address...

Seems like these betemcu.cn programmers are one of the few that work with all different variants...

Post Reply

Return to “er9x”