Author Topic: ponyprog problems  (Read 5938 times)

0 Members and 1 Guest are viewing this topic.

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
ponyprog problems
« on: December 18, 2007, 09:56:13 AM »
I really need somemone to help me with this problem because I'm near giving up. Whenever I select Write all in Ponyprog it says device missing or unknown device ive tried both with and without the usb to serial adapter I've also tried checking my soldering and I have checked the voltages I also switched out my Atmega 8 chip out two times. I know the settings are correct in ponyprog I selected Atmega 8 and I selected Com port 1 (which is what i'm using). I am beginning to think that I have done everything  and I'm really frustrated.  >:(  >:(     
Robots are awesome!

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: ponyprog problems
« Reply #1 on: December 18, 2007, 10:02:58 AM »
Could it be that I shocked the voltage regulator?
Robots are awesome!

Offline Steel_monkey

  • Full Member
  • ***
  • Posts: 85
  • Helpful? 0
Re: ponyprog problems
« Reply #2 on: December 18, 2007, 12:29:26 PM »
Voltage regulator is unlikly to be burnt (untill plugged incorrectly). What programmer are You using? If it is selfmade nothing can be said without schematic. Main project schematic is also strongly welcome. Without that only common recommendations can be told: check voltage on VCC pin of the MCU, search for short cirquits (with DMM), check wiring of ISP cable.

 Also ponyprog docs contain following:
---------
Q: My PC doesn't have any LPT/COM port, can I use a USB2COM or USB2LPT adapter?

A: Some USB adapters don't work at all while other adapters are very slow. So I suggest to avoid USB adapter
   and buy COM/LPT PCMCIA or PCI adapters that emulates 100% native LPT and COM ports.
----------


Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: ponyprog problems
« Reply #3 on: December 18, 2007, 12:49:51 PM »
I'm using the $50 robot microcontroller and I unfortunatley bought the cheap programmer
Robots are awesome!

Offline Steel_monkey

  • Full Member
  • ***
  • Posts: 85
  • Helpful? 0
Re: ponyprog problems
« Reply #4 on: December 18, 2007, 03:22:01 PM »
     First of all, according to ATMEL appnotes RESET ( pin 1) must be pulled up to VCC (not a battery+ !!!!) with 5-10 KOhm resistor and grounded with 0,1 mkF ceramic capaticor. It is Atmel application notes AVR040 (http://www.eetasia.com/ARTICLES/2003APR/A/2003APR25_EMS_MPR_AN04.PDF?SOURCES=DOWNLOAD) and AVR042(http://www.eetindia.com/ARTICLES/2004DEC/A/2004DEC02_MPR_AN07.PDF?SOURCES=DOWNLOAD).
    Second, there is control LED in schematic. Doesn`t it flash once when you try to program?
    Third, unplug all connectors excluding power and ISP and try with pony again. If it fails, and You sure your wiring is right, there is nearly +5 Volts on VCC when power is on and all connections are OK (You also need to check all ISP wires with DMM, i.e. measure resistance), something is wrong with programmer.

If You have LPT or COM in your PC it is possible to assemble very simple programmer for any of them ( pony supports LPT STK200 programmer with administrator rights, COM programmer is in Russian, but if it is neccesary I can try to translate it to English).

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: ponyprog problems
« Reply #5 on: December 19, 2007, 12:16:10 AM »
Here is a page in german for simple AVR serial or parallel ports programmer. Use Altavista or Google to translate the page in english. The translation is not perfect, but lets you get the important stuff.
http://s-huehn.de/elektronik/avr-prog/avr-prog.htm
Check out the uBotino robot controller!

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: ponyprog problems
« Reply #6 on: December 19, 2007, 09:21:56 AM »
steel monkey, I think you have to program the led to blink
Robots are awesome!

Offline Steel_monkey

  • Full Member
  • ***
  • Posts: 85
  • Helpful? 0
Re: ponyprog problems
« Reply #7 on: December 19, 2007, 01:06:46 PM »
When RESET goes low ( during programming) LEDs tend to flash even if programming goes wrong (chip undetected for example). It is because logic levels on pins are changing during RESET. So, if it flashes, it shows programmer is working ( but it doesn`t mean that programmer is not working if LED doesn`t flash!). It can be easily observed, that is why I asked it.

 


Get Your Ad Here

data_list