Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Software
»
Software
»
I'm having problems programming my MEGA168
Print
Author
Topic: I'm having problems programming my MEGA168 (Read 2772 times)
0 Members and 1 Guest are viewing this topic.
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
I'm having problems programming my MEGA168
«
on:
December 04, 2009, 08:37:18 PM »
I've made my own board based on the $50 dollar robot board and when I try programming it with my USBtiny in AVRdude it just gives me an error. But the funny thing is when I swap out the MEGA168 for a MEGA8 it works. I've tried this with multiple MEGA168's and even a MEGA328P.
Anyone know what I should do?
Logged
Kurt
Joker94
Supreme Robot
Posts: 1,119
Helpful? 26
Re: I'm having problems programming my MEGA168
«
Reply #1 on:
December 05, 2009, 01:15:00 AM »
A few qestions
1) I asume your using a 28 pin MEAG168 as you talked about swapping them.
2) Is it source code or your own code- i ask this as if it is source it may have some Mega8 relevant stuff in the code
Logged
galannthegreat
Supreme Robot
Posts: 615
Helpful? 4
Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: I'm having problems programming my MEGA168
«
Reply #2 on:
December 06, 2009, 01:40:25 AM »
No, the programmer isn't even recognizing that they are even there. Well to be more specific AVRdude isn't even connecting to them, just the MEGA8.
Logged
Kurt
Joker94
Supreme Robot
Posts: 1,119
Helpful? 26
Re: I'm having problems programming my MEGA168
«
Reply #3 on:
December 06, 2009, 03:19:10 AM »
hmmm....
it could be that something is needed in the code to be able to program, or to register that the MCU is there?
is it your code?
Logged
Webbot
Expert Roboticist
Supreme Robot
Posts: 2,165
Helpful? 111
Re: I'm having problems programming my MEGA168
«
Reply #4 on:
December 06, 2009, 12:10:32 PM »
Not familiar with AVRdude but AVRISP needs you to tell it which processor you are trying to connect to. It checks that the signature read back from the chip is correct for what you have told it to expect. ie each ATmel device has a unique signature so it can be identified.
Logged
Webbot Home:
http://webbot.org.uk/
WebbotLib online docs:
http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood:
http://www.hovinghamspa.co.uk
Print
Society of Robots - Robot Forum
»
Software
»
Software
»
I'm having problems programming my MEGA168
SMF spam
blocked by CleanTalk