go_away

Author Topic: Writing hex file with usb to serial and pony prog  (Read 5155 times)

0 Members and 1 Guest are viewing this topic.

Offline rox2007Topic starter

  • 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

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • 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?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline rox2007Topic starter

  • 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots

Offline rox2007Topic starter

  • 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

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
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.

Offline rox2007Topic starter

  • 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

Offline 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 »
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline rox2007Topic starter

  • 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.

Offline 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
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,177
  • 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.
Robots are awesome!

Offline rox2007Topic starter

  • 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?

Offline rox2007Topic starter

  • 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.

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
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 :(

 


Get Your Ad Here