PonyProg :  PonyProg Phorum PonyProg
PonyProg open discussion 
One simple question : USB
Posted by: Alex ()
Date: February 06, 2007 01:47PM

Hallo!

On my notebook i do not have RS232 only usb.
And I do not like use signal converter.

Is there exist direct USB version for PonyProg ?


Regards.

Options: ReplyQuote
Re: One simple question : USB
Posted by: herman ()
Date: February 07, 2007 06:34AM

You may use a usb to RS232 converter/adaptor.

It just like a socket and is available in many PC accessories shop

Options: ReplyQuote
Re: One simple question : USB
Posted by: pts ()
Date: February 09, 2007 12:47PM

try
http://www.e.kth.se/~joakimar/hardware.html

Options: ReplyQuote
Re: One simple question : USB
Posted by: gregoire ()
Date: February 13, 2007 12:27PM

Alex Wrote:
-------------------------------------------------------
> Hallo!
>
> On my notebook i do not have RS232 only usb.
> And I do not like use signal converter.
>
> Is there exist direct USB version for PonyProg ?
>
>
> Regards.


Yes, does it work for you?
I doubt it , at least for Atmel devices.
If it is which brand do you use?

Options: ReplyQuote
Re: One simple question : USB
Posted by: Carsten Jensen ()
Date: February 24, 2007 01:12AM

i have just completed a prototype multiprocessor dev board, which use USB for isp programming.

i Use the FT232BM ftdi usb to serial chip.
the chip is installed in windows as a virtual com port under windows, when plugged in.

I have tried to make it combatible with PONYPROG and it works, although there is some keinda software issue with ponyprog. Its so incredible slow reading and writing, takes around 10 min to read out an atmega 32.

i set ponyprog up for SI prog API, since its the only place i can select the comport assigned to the usb chip.
it isent avaible under IO programming why?..

maybe the programmer of ponyprog, have an idea of why its so slow?...

a shame i cant post a diagram of the usb part of my schematic

Options: ReplyQuote
Re: One simple question : USB
Posted by: TzOk ()
Date: February 26, 2007 03:34PM

Only the API access is available because the COM port on the USB adapter is a virtual port, so the direct access to it is impossible. Only possible way of accessind this kind of port is via the windows API and its driver.

Options: ReplyQuote
Re: One simple question : USB
Posted by: gregoire ()
Date: February 27, 2007 08:36AM

Carsten Jensen Wrote:
-------------------------------------------------------

> I have tried to make it combatible with PONYPROG
> and it works,

HOW ?
I didnt manage to make it to happen!

Options: ReplyQuote
Re: One simple question : USB
Posted by: stonewood ()
Date: January 07, 2008 11:15PM

Carsten Jensen Wrote:
> i Use the FT232BM ftdi usb to serial chip.
> the chip is installed in windows as a virtual com
> port under windows, when plugged in.
>
> I have tried to make it combatible with PONYPROG
> and it works, although there is some keinda
> software issue with ponyprog. Its so incredible
> slow reading and writing, takes around 10 min to
> read out an atmega 32.

Perhaps someone should have a look at http://www.tuxgraphics.org/electronics/200510/article05101.shtml - this also uses the FT232 chip, but has an AtMega on it. Programming the AtMega is done with bit-bang, the rest is done via the Microcontroller. Since bit-bang on USB is sloow this actually makes sense.

Options: ReplyQuote
Re: One simple question : USB
Posted by: lancos ()
Date: January 11, 2008 02:24PM

stonewood Wrote:
-------------------------------------------------------
> Perhaps someone should have a look at
> http://www.tuxgraphics.org/electronics/200510/arti
> cle05101.shtml - this also uses the FT232 chip,
> but has an AtMega on it. Programming the AtMega is
> done with bit-bang, the rest is done via the
> Microcontroller. Since bit-bang on USB is sloow
> this actually makes sense.

Thank you stonewood for the link. It confirms that bit-banging via USB is too slow to be useful.

Options: ReplyQuote
Re: One simple question : USB
Posted by: Carsten_J ()
Date: August 13, 2016 07:04PM

Hello

i know tis is a gazillion years ago, but i got a request for info on what i did back then, so im posting the Email reply i sent him. hope it helps other ppl.

email:

Hello Again

Im amased this issue still ,generates interest more than 10 years after smiling smiley

First of you are never gonna get the FTDI232RL to work better than what i did back in 2006. That old generation
USB chips dident support bitbanging, and used many usb packet to write one bit. Thats why i took me 30 min to write an atmega30L.

back then i decided to use stkv500 protocol and build myself a small programmer with an atmega8 inbetween as a data buffer (to circumvent the problem).
https://postimg.org/image/mym6hcbl1/

but times has changed, the new generation ftdi chips called FT232HL, supports true bitbanging, and i think if you change my original design to this chip. It might just make full speed ponyprog programming possible. It just never had time to try this myself since, im using my stkv500 programmer.

i have uploaded the diagram for you, you can get it here https://postimg.org/image/3nv3dn3gb/

Hope it helps you.

Freindly greetings from Denmark

Options: ReplyQuote
Re: One simple question : USB
Posted by: Carsten_J ()
Date: August 13, 2016 07:15PM

Just and addon to an earlier question. ponyprog can find virtual comports, just run it as administrator and remeber not to use anything higher than COM4

Options: ReplyQuote
Re: One simple question : USB
Posted by: Carsten_J ()
Date: August 13, 2016 07:17PM

to make ponyprog see usb chip. run ponyprog as administrator and set usb comport in driver to a port no hight than com4

Options: ReplyQuote


Return to LancOS.
Powered by Phorum.