I've soldered the MiniPOV3 today and everything works fine.
The only problem I have is that reprogramming the device takes too much time.
I use a Macbook Pro (Mac OS X 10.5.6) and a PL2303 UBS2Serial converter (I have downloaded the correct driver for the PL2303).
Here's the output I get when uploading the alt_leds example:
$ make program-alt_leds
avrdude -p attiny2313 -P /dev/cu.PL2303-0000101D -c dasa -U flash:w:alt_leds.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 2.29s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "alt_leds.hex"
avrdude: input file alt_leds.hex auto detected as Intel Hex
avrdude: writing flash (166 bytes):
Writing | ################################################## | 100% 319.15s
avrdude: 166 bytes of flash written
avrdude: verifying flash memory against alt_leds.hex:
avrdude: load data flash data from input file alt_leds.hex:
avrdude: input file alt_leds.hex auto detected as Intel Hex
avrdude: input file alt_leds.hex contains 166 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 202.90s
avrdude: verifying ...
avrdude: 166 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
All the other examples take several minutes, too. What am I doing wrong?
Cheers,
Maik
Reading and writing is too slow
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: Reading and writing is too slow
you're not doing anything wrong. that's the way it works. try going to the bathroom, grabbing a snack, playing with the cat. usb-serial converters tend to slow things down. use the opportunity to refresh yourself so your head doesn't explode when you discover your next silly programming error.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Reading and writing is too slow
usb-serial converters are slow. they work, but they're slow.
-
- Posts: 196
- Joined: Tue Nov 04, 2008 5:21 pm
Re: Reading and writing is too slow
It takes 1-4 seconds to perform such operations for me with a real serial port. Has anyone considered a parallel->serial bit bang solution here?
-
- Posts: 1119
- Joined: Wed Jun 13, 2007 9:17 am
Re: Reading and writing is too slow
I would recommend getting a USBTiny if it's that slow! It takes ~4 seconds max using that. You'll need to build a target board and it's a little less convenient, but you can use it for many, many projects.
-
- Posts: 1
- Joined: Wed Apr 22, 2009 12:14 am
Re: Reading and writing is too slow
I'm kinda new to this, so sorry if it's a dumb question. I'm having the same S-L-O-W problem, but I built a USBTiny for another project (Mignonette), and would love to use it instead. The problem is that the MiniPOV only has a serial port, and the USBTiny only has 6 and 10 pin connectors. Do I need to modify one of them (and if so, how?), or am I not getting something obvious?magician13134 wrote:I would recommend getting a USBTiny if it's that slow! It takes ~4 seconds max using that. You'll need to build a target board and it's a little less convenient, but you can use it for many, many projects.
Thanks!
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: Reading and writing is too slow
you'll have to pop the chip out and stick it in a breaboard and program it there. this will save you a little time at the expense of a lot of hassle.
i like to review my code during downloads to the minipov and see if i can anticipate the next idiot mistake i've made. that, or wander off to the can.
i like to review my code during downloads to the minipov and see if i can anticipate the next idiot mistake i've made. that, or wander off to the can.
-
- Posts: 6
- Joined: Mon Nov 23, 2009 8:29 am
Please be positive and constructive with your questions and comments.