Slow programming speed

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using Studio in Windoze to program a chip. If you blink twice you will miss seeing it.

In Linux using AVRDude it takes about 30 seconds. The code is about 750 bytes.

I have tried changing the sck and/or fosc. This does change the speed, usually making it even slower.

I'm using an STK500 with a 4 MHz crystal and USB to serial adapter.

I'm at my wits end on this one. Any suggestions on getting Dude to pgm the chip fast?

Thanks,
Mike

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

In Linux using AVRDude it takes about 30 seconds. The code is about 750 bytes.

Take THAT, all of you 'Nix-ites! :twisted:

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try different USB serial adapters, performance may depend on the chipset used in them. Personally, I refuse to use any other than FTDI based cables.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please could you quote the actual command line that you are using.

Avrdude makes no particular attempt to be fast. OTOH, it gives you lots of options to shoot yourself in your own feet.

I can see no reason for avrdude to be any slower on Linux than Windoze. It only sends regular RS232 strings. It does not use stk500.dll

David.