Getting rid of the Hobby King usbasp SCK error
Re: Getting rid of the Hobby King usbasp SCK error
Flaps, what OS do you use on your computer? The ad for your programmer says it doesn't work with win7. I wonder if that is actually true?
Re: Getting rid of the Hobby King usbasp SCK error
I am running Ubuntu (Linux) here. I used Companion9X to test out the usbasp and the same again to reprogramme the usbasp using Companion9X putting in the following into extra arguments '-c usbasp -p atmega8 -P usb' and burning the usbabsp with 'main hex' as posted by Romolo earlier.
Re: Getting rid of the Hobby King usbasp SCK error
@Flaps30, I have the exact same programmer as you, but could not get it working with AVRDUDE in C9X. The thread Helle attached describes my odyssey with it. I've since purchased some other ones and am now functional, but would be nice to recover operation of these USBISP devices if only to have backups, maybe I'll try your method...
I'm very curious what OS, C9X, AVRDUDE versions and drivers did you use to get yours working? Maybe we should continue this discussion in the original thread about this programmer. viewtopic.php?f=10&t=2162
I'm very curious what OS, C9X, AVRDUDE versions and drivers did you use to get yours working? Maybe we should continue this discussion in the original thread about this programmer. viewtopic.php?f=10&t=2162
Re: Getting rid of the Hobby King usbasp SCK error
Sorry for the delay in responding.
OS here is Linux Ubuntu 12.04.1. AVRDUDE is 5.11.1-1 Companion Version 1.13 Rev 1600
OS here is Linux Ubuntu 12.04.1. AVRDUDE is 5.11.1-1 Companion Version 1.13 Rev 1600
Re: Getting rid of the Hobby King usbasp SCK error
Finally got around to looking at this patchRomolo wrote:Yes, that's the only difference.
In the spirit of opensource I'm providing the patch.
BTW I'm using the same firmware also on usbasp used for flashing stock radios without any trouble.
Wanted to mention that it applies against the 2009 version of Usbasp, not the 2011 version. It also appears that most of this patch has been applied to the official 2011 version of Usbasp. But I'm thinking the main goal of the patch 'to force usbasp to emit always extended address' has not been applied to the 2011 version of Usbasp. I dont have any 2560 chips to test it on though Thanks again for providing the patch
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Getting rid of the Hobby King usbasp SCK error
Version 2011 is not reliable.
You need to disconnect and reconnect the programmer every time even between a read and write.
I didn't checked further but I stay on 2009.
You need to disconnect and reconnect the programmer every time even between a read and write.
I didn't checked further but I stay on 2009.
Re: Getting rid of the Hobby King usbasp SCK error
Hi, don't know if this is the right thread but here we go.
I'm building this. waiting for the Atmega8 at the moment.
http://www.fischl.de/usbasp/
What version of the software should I flash? I downloaded exactly the 2011 version from the site.
Thanks,
João
I'm building this. waiting for the Atmega8 at the moment.
http://www.fischl.de/usbasp/
What version of the software should I flash? I downloaded exactly the 2011 version from the site.
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
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Getting rid of the Hobby King usbasp SCK error
João,
you can also flash the main.hex I posted in this thread
you can also flash the main.hex I posted in this thread
Re: Getting rid of the Hobby King usbasp SCK error
oh, must find it then, and then just flash it to the atmega8? It's an atmega 8 and not a 2560.. what fuses should I set?? Set fuses first or after flashing the application?? sorry if it is a stupid question.. I'm still learning
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
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Getting rid of the Hobby King usbasp SCK error
Here is the hex
viewtopic.php?f=10&t=1363#p29615
for the fuses:
avrdude -c usbasp -p atmega8 -P usb -u -U hfuse:w:0xc9:m -U lfuse:w:0xef:m
replace -c usbasp and -P usb with appropriate programmer and port
viewtopic.php?f=10&t=1363#p29615
for the fuses:
avrdude -c usbasp -p atmega8 -P usb -u -U hfuse:w:0xc9:m -U lfuse:w:0xef:m
replace -c usbasp and -P usb with appropriate programmer and port
Re: Getting rid of the Hobby King usbasp SCK error
Thanks.. will do.
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: Getting rid of the Hobby King usbasp SCK error
If you use the software from fischl.de, use the 2009 version - I know it works. I've heard the 2011 version has issues, but I haven't tried it yet.jhsa wrote:What version of the software should I flash? I downloaded exactly the 2011 version from the site.
Re: Getting rid of the Hobby King usbasp SCK error
Thanks.. will use the one Romolo linked above. I guess it is based on the 2009 version
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: Getting rid of the Hobby King usbasp SCK error
Hey guys, got my Usbasp to work.. the atmegas 8 (the right ones) arrived today, placed 1 on the programmer, set the fuses, flashed Romolo's .hex and voilá, got a homemade UsbAsp
Ah, no sck error..
Thank you.
João
Ah, no sck error..
Thank you.
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: Getting rid of the Hobby King usbasp SCK error
Now all you have to do is to rip out the M64 from one of your other TX's, replace it with a new M128 and see if you can program it..
Re: Getting rid of the Hobby King usbasp SCK error
You bet I will..
But first want to finish the sound board for this one, so I can have a working tx.. At the moment both of them are open on the bench.. I guess now that Mike sorted that problem with the communication between the board and the atmega on the radio, there won't be more hardware changes and I can close the radios.. then will engage the vario project.. oops, just remembered that we don't have vario support on er9x
I'll do it anyway, I'm sure it is in Mike's to do list
João
But first want to finish the sound board for this one, so I can have a working tx.. At the moment both of them are open on the bench.. I guess now that Mike sorted that problem with the communication between the board and the atmega on the radio, there won't be more hardware changes and I can close the radios.. then will engage the vario project.. oops, just remembered that we don't have vario support on er9x
I'll do it anyway, I'm sure it is in Mike's to do list
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: Getting rid of the Hobby King usbasp SCK error
Off Topic - You could always go over to Open9x as that offers Vario support as standard, including the new vario project that looks good. The only slight downside is the lack of some useful voice features that exists with Er9x. No doubt that will be corrected in the near future... When someone has time to do it.jhsa wrote: then will engage the vario project.. oops, just remembered that we don't have vario support on er9x I'll do it anyway, I'm sure it is in Mike's to do list
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Getting rid of the Hobby King usbasp SCK error
Vario is on its way, just slowly. FrSky are bringing out a new "real" vario, and the required code should be compatible with the vario project.
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: Getting rid of the Hobby King usbasp SCK error
Mike, this project is a real vario unless FrSky is releasing a total energy vario. I think that's how it's called.
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: Getting rid of the Hobby King usbasp SCK error
@flaps30. Yeah open9x is a great fw but as you say the audio is still a bit behind. I also like the AND switch at the end of the C.Switches and the timer in the C.Sw's too in er9x. Also we don't know if open will fully support the new sound board..
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
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Getting rid of the Hobby King usbasp SCK error
Can we get a list of the things you feel are missing audio wide on open9x?jhsa wrote:@flaps30. Yeah open9x is a great fw but as you say the audio is still a bit behind. I also like the AND switch at the end of the C.Switches and the timer in the C.Sw's too in er9x. Also we don't know if open will fully support the new sound board..
Best bet is to open an issue/request on the project page.
It is impossible for the developers to keep on top of all the diffefences/features. If you feel something is missing... Log a request and suggest how to improve it
Sent from my GT-I9300 using Tapatalk 2
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Getting rid of the Hobby King usbasp SCK error
I wasn't talking to you.. was talking to Flaps30
No, really you're right, instead of being here moaning about it I should have said the same to the developers.. well, I guess I just did??
I do think open9x has some very cool and usefull features. And with the Atmega128 even the stock board can take advantage of it. My plan is to have one radio with er9x and the other with open9x. It's a tributte and respect to the great people that work FOR FREE on these fw's. But I would like some of the options from er9x I'm used to in open9x.. But i also would like to have other stuff from open9x. for example the curves, the vario, the complete GVARS.. It's all cool and it's a shame we can't have it all..
João
No, really you're right, instead of being here moaning about it I should have said the same to the developers.. well, I guess I just did??
I do think open9x has some very cool and usefull features. And with the Atmega128 even the stock board can take advantage of it. My plan is to have one radio with er9x and the other with open9x. It's a tributte and respect to the great people that work FOR FREE on these fw's. But I would like some of the options from er9x I'm used to in open9x.. But i also would like to have other stuff from open9x. for example the curves, the vario, the complete GVARS.. It's all cool and it's a shame we can't have it all..
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: Getting rid of the Hobby King usbasp SCK error
You tell him João
The list of things from my point of view concerning the way that the voice side of the package is dealt with, is covered to some extent in the posts on that thread. I wouldn't wish to push things, or ask for something that no one else using Open9x doesn't want. Also to try and put into words any suggestions would take a lot of writing, when all it takes is a bit of playing around with Er9x to see its advantages. This is the thread where some of this was discussed. It has become buried and is now on page three in the Open9x forum. ----> viewtopic.php?f=45&t=1257&start=90
Is there a way of splitting this off to another thread or something, as it is way off topic?
Ohh,... I forgot about the AND swtich. I used that a few times to good effect.jhsa wrote:@flaps30. Yeah open9x is a great fw but as you say the audio is still a bit behind. I also like the AND switch at the end of the C.Switches and the timer in the C.Sw's too in er9x. Also we don't know if open will fully support the new sound board..
I know from what you said a while back on the thread below that the Open9x team were very busy working on other projects.Rob Thomson wrote:Can we get a list of the things you feel are missing audio wide on open9x?
Best bet is to open an issue/request on the project page.
It is impossible for the developers to keep on top of all the diffefences/features. If you feel something is missing... Log a request and suggest how to improve it
The list of things from my point of view concerning the way that the voice side of the package is dealt with, is covered to some extent in the posts on that thread. I wouldn't wish to push things, or ask for something that no one else using Open9x doesn't want. Also to try and put into words any suggestions would take a lot of writing, when all it takes is a bit of playing around with Er9x to see its advantages. This is the thread where some of this was discussed. It has become buried and is now on page three in the Open9x forum. ----> viewtopic.php?f=45&t=1257&start=90
Is there a way of splitting this off to another thread or something, as it is way off topic?
-
- Posts: 140
- Joined: Tue Jan 29, 2013 4:12 am
- Country: -
- Location: SoCal
Re: Getting rid of the Hobby King usbasp SCK error
To get back on topic, I have the board shown in this thread in the first three posts. viewtopic.php?f=10&t=2571 Where do I make the jumper to program that board?
-
- 9x Developer
- Posts: 1109
- Joined: Sat Dec 31, 2011 12:11 am
- Country: -
- Location: Massa (MS), Tuscany, Italy
Re: Getting rid of the Hobby King usbasp SCK error
Jumper j2 a single drop of lead to be removed after programming
-
- Posts: 140
- Joined: Tue Jan 29, 2013 4:12 am
- Country: -
- Location: SoCal
Re: Getting rid of the Hobby King usbasp SCK error
To make a long story short, I now have three programmer and a fourth on it's way. The third one arrived today and is the one in the picture. It has no resistor array and it says V2 on it. The other two have arrays on them. One is an old one and has the 100ohm array and the date is 2009 and one has a 220ohm array and the date is 2011. I will remove the 220ohm array. My question is what should I flash it with. Only the Romolo hex or the 2009 program too. If the 2009 should be flashed, does it gets flashed together with the Romolo hex or does the hex gets flashed afterwards?
Re: Getting rid of the Hobby King usbasp SCK error
The "Romolo hex" is complete so you just need to flash that.
Did you order all those at the same place??
Did you order all those at the same place??
-
- Posts: 140
- Joined: Tue Jan 29, 2013 4:12 am
- Country: -
- Location: SoCal
Re: Getting rid of the Hobby King usbasp SCK error
No, I had one a long time ago. I ordered the one in the pic to program the first. It didn't arrive and I got my money back from paypal. I bought another one since I have to reprogram the first. It arrived a few days ago. Today I got the one that was canceled and where paypal gave me my money back. It took it 6 weeks to arrive. The fourth one is on it's way do to my misunderstanding a Ebay message. They only cost $3.50 each shipped so I don't worry too much.
-
- Posts: 140
- Joined: Tue Jan 29, 2013 4:12 am
- Country: -
- Location: SoCal
Re: Getting rid of the Hobby King usbasp SCK error
Using WinAVR I now flashed all three programmer with the main.hex. In the programmer pictured above I added two pins where the J2 holes are. Should I have to reflash this programmer I will not have to solder anymore, just add a jumper plug. The other two programmer I had to solder and un-solder the J2 positions.
-
- Posts: 140
- Joined: Tue Jan 29, 2013 4:12 am
- Country: -
- Location: SoCal
Re: Getting rid of the Hobby King usbasp SCK error
Do I have to set the fuses before I flash the main.hex or can I flash without the above command? And if yes, do I have to reset them after the flashing with another command?Romolo wrote:Here is the hex
http://openrcforums.com/forum/viewtopic ... 363#p29615
for the fuses:
avrdude -c usbasp -p atmega8 -P usb -u -U hfuse:w:0xc9:m -U lfuse:w:0xef:m