Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => AVRDude => Topic started by: Uran0s on September 13, 2010, 06:46:18 pm

Title: To slow?
Post by: Uran0s on September 13, 2010, 06:46:18 pm
Hey People,

I bought my Bus Pirates a few days ago. Now i tried to use it as Programmer vor my Atmega 88 but I think its a little bit slow.

Im using Windows 7.

Here you can see the Log:
Quote
Detecting BusPirate...
**
**  Bus Pirate v3
**  Firmware v4.2 Bootloader v4.2
**  DEVID:0x0447 REVID:0x3043 (B5)
**  http://dangerousprototypes.com (http://dangerousprototypes.com)
**
BusPirate: using BINARY mode
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.10s

avrdude: Device signature = 0x1e930a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be perform

         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "MrData.hex"
avrdude: input file MrData.hex auto detected as Intel Hex
avrdude: writing flash (8080 bytes):

Writing | ################################################## | 100% 262.58s

avrdude: 8080 bytes of flash written
avrdude: verifying flash memory against MrData.hex:
avrdude: load data flash data from input file MrData.hex:
avrdude: input file MrData.hex auto detected as Intel Hex
avrdude: input file MrData.hex contains 8080 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 258.53s

avrdude: verifying ...
avrdude: 8080 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.
Title: Re: To slow?
Post by: arhi on September 13, 2010, 07:33:27 pm
if you flash the other firmware in the bp it will behave like STK500v2 (look here: http://dangerousprototypes.com/docs/STK ... mmer_clone (http://dangerousprototypes.com/docs/STK500_v2_AVR_programmer_clone) ) and it will work many times faster. You will have to switch firmware back if you want to use it as BP again.
Title: Re: To slow?
Post by: Uran0s on September 13, 2010, 07:51:57 pm
So 30.136 Bytes/sek is the normal speed?
Title: Re: To slow?
Post by: ian on September 14, 2010, 11:09:27 am
Hi Uran0s - I'm not completely sure what the speed should be. The theoretical bandwidth is a lot more than that though. Maybe there is an AVRdude setting that increases the SPI speed setting?
Title: Re: To slow?
Post by: arhi on September 14, 2010, 02:40:23 pm
[quote author="Uran0s"]
So 30.136 Bytes/sek is the normal speed?
[/quote]

I don't remember how slow it was, but it was "very slow" when I tried it out, that's why I mentioned "other firmware" :) if you want to use it as programmer on regular bases .. to programm some atmel from time to time, it is "fast enough" imho
Title: Re: To slow?
Post by: djrama on October 04, 2010, 12:48:11 am
Hello!

Reading this post makes me wonder... then, it's really recommended to change the firmware to the stk500 one each time you want to program an avr?

Thanks!
Title: Re: To slow?
Post by: ian on October 04, 2010, 08:22:25 am
Hi djrama - You can do it both ways, the Bus Pirate gives you options :) It depends on which programmer type works with your software and what features are most important.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01002074784session_write_close ( )...(null):0
20.01032206376ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01032207152Database_MySQL->query( ).../DatabaseHandler.php:119
40.05392345880Database_MySQL->error( ).../Db-mysql.class.php:273