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
»
Electronics
»
Electronics
»
Writing hex file with usb to serial and pony prog
Print
Author
Topic: Writing hex file with usb to serial and pony prog (Read 10137 times)
0 Members and 1 Guest are viewing this topic.
rox2007
Full Member
Posts: 95
Helpful? 0
Writing hex file with usb to serial and pony prog
«
on:
January 08, 2008, 07:59:57 PM »
I am designing the photovore robot and got stuck while writing to the mcu. i am using a usb to serial cable to connect my avr serial dongle to the mcu but every time i try to write i get the common error
"device missing or unknown device error"
can anyone help me please .
The connection to the mcu is correct. I dont know what i am doing wrong
Logged
airman00
Contest Winner
Supreme Robot
Posts: 3,650
Helpful? 21
narobo.com
Re: Writing hex file with usb to serial and pony prog
«
Reply #1 on:
January 09, 2008, 07:10:02 AM »
using Vista?
Logged
Check out the Roboduino, Arduino-compatible board!
Link:
http://curiousinventor.com/kits/roboduino
www.Narobo.com
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #2 on:
January 09, 2008, 09:01:10 AM »
nope, i'm using XP and using a usb to serial cable.
Logged
Admin
Administrator
Supreme Robot
Posts: 11,704
Helpful? 173
Re: Writing hex file with usb to serial and pony prog
«
Reply #3 on:
January 09, 2008, 11:59:12 AM »
http://www.societyofrobots.com/robotforum/index.php?topic=1116.0
Logged
subscribe to SoR's YouTube account
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #4 on:
January 09, 2008, 03:22:09 PM »
i am using the cheap programmer you suggested. and i looked aT th at post
Logged
Admin
Administrator
Supreme Robot
Posts: 11,704
Helpful? 173
Re: Writing hex file with usb to serial and pony prog
«
Reply #5 on:
January 09, 2008, 04:37:08 PM »
http://www.societyofrobots.com/robot_faq.shtml#circuit_debug
let us know the voltage results . . .
and if that still checks out . . . I suspect your usb to serial adaptor is causing the problem. I had problems with it and others have commented it is probably the cause of those problems.
Logged
subscribe to SoR's YouTube account
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #6 on:
January 09, 2008, 05:52:21 PM »
I. Checked the voltages, the voltages are correct the programmer is getting the right voltage, 5v. I think the cable is bad. I might just get the expensive one
Logged
gamefreak
Supreme Robot
Posts: 543
Helpful? 2
Robo-Enthusiast
Re: Writing hex file with usb to serial and pony prog
«
Reply #7 on:
January 09, 2008, 09:06:38 PM »
wait, check your reset wire, mine broke(took me a while to notice) and it said that error with a -24 after it.
«
Last Edit: January 10, 2008, 08:36:04 PM by gamefreak
»
Logged
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #8 on:
January 09, 2008, 10:52:46 PM »
I guess I could try that. But what do you mean by rest wire. Thank you for your help.
Logged
gamefreak
Supreme Robot
Posts: 543
Helpful? 2
Robo-Enthusiast
Re: Writing hex file with usb to serial and pony prog
«
Reply #9 on:
January 10, 2008, 08:35:44 PM »
sorry I mean reset wire
Logged
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"
Trumpkin
Supreme Robot
Posts: 1,176
Helpful? 5
Re: Writing hex file with usb to serial and pony prog
«
Reply #10 on:
January 11, 2008, 08:50:17 AM »
mine said error -24 and i just had a bridge on the programmer header.
Logged
Robots are awesome!
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #11 on:
January 11, 2008, 11:43:53 AM »
i checked the reset wire and it was ok. i wanted to ask if the reset pin, on the atmega, should be connected to the ground if you dont have a reset button?
Logged
rox2007
Full Member
Posts: 95
Helpful? 0
Re: Writing hex file with usb to serial and pony prog
«
Reply #12 on:
January 14, 2008, 11:29:56 AM »
Good News,
I got it to work.
i got a desktop and used the comport on it. i guess you cant use usb to rs322 cables. i read somewhere that it is best to use a pcmia card.
thanks for your help.
Logged
paulstreats
Guest
Re: Writing hex file with usb to serial and pony prog
«
Reply #13 on:
January 14, 2008, 11:41:32 AM »
most usb to serial adapters only emulate the rx and tx pins of a serial port so if atmega programmers require the other pins then youre stuck
Logged
Print
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
Writing hex file with usb to serial and pony prog
SMF spam
blocked by CleanTalk