Er9x128
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
No I don't. For 'normal' connection 4 and 6 should be ground.
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: Er9x128
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
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
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: Er9x128
Yes, it may be the reason of your problem.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?
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.
Re: Er9x128
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
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
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: Er9x128
João - Wouldn't it be cheaper in the long run to just go out and buy a couple of USBasp programmers?
Re: Er9x128
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
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
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: Er9x128
Duly noted.. Maybe with a bit more practice you will become the brick specialist of the group.
Re: Er9x128
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..
I don't think I bricked the 128 though, well not yet because I could never connect with 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
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: Er9x128
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
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
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: Er9x128
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.
- MikeB
- 9x Developer
- Posts: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: Er9x128
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
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
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: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
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.
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: Er9x128
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
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: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
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.
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: Er9x128
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
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: Er9x128
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
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: Er9x128
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
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: Er9x128
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: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: Er9x128
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?
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?
Re: Er9x128
It does.. Now it does.. read and write.. just changed the fuses to protect the eeprom with it..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 just didn't want to "jump start" the chip. I had to do it with an UsbAsp..
If it wasn't Clive's post, I would have thrown a working chip in the bin the next day
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
Thanks to all your support guys.. Now we need lots of cool features for the radios..
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: 17990
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Er9x128
I can only build then Windows version at present, and then only the .exe. I have to get Erazz to do the release build.Flaps 30 wrote:Does it require another version of Eepe for the m128 and if so, is there a Linux version of it?
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: Er9x128
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..
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
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: Er9x128
If you commit the sources, the Linux people can grab the svn and build it themselves.
-Gohst
-Gohst
Re: Er9x128
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: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..
With the M128 there is a lot more space available for all those things that will not fit into the M64.jhsa wrote:Now we need lots of cool features for the radios..
Re: Er9x128
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
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
Re: Er9x128
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
-Gohst
Sent from my LG-P999 using Tapatalk 2
Re: Er9x128
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
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: Er9x128
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...
Seems like these betemcu.cn programmers are one of the few that work with all different variants...