|
Re: ser_posix.c: is select()ing for the write descriptoruseful at all?: msg#00042hardware.avr.avrdude.devel
I have tested the patch on the following with no problems. I did notice that the new version is 1~2 seconds slower but this could be to do with other factors as I'm comparing to version 5.1. System Version: Mac OS X 10.4.9 (8P135) Kernel Version: Darwin 8.9.0 Machine Name: Mac mini Machine Model: PowerMac10,1 CPU Type: PowerPC G4 (1.2) Number Of CPUs: 1 CPU Speed: 1.42 GHz L2 Cache (per CPU): 512 KB Memory: 1 GB Bus Speed: 167 MHz Boot ROM Version: 4.8.9f1 <New avrdude 5.3-cvs ------------------------------------------------------------------------ -------------------> nick$ time /usr/local/bin/avrdude -p m169 -P /dev/cu.usbserial -c jtag1 -U flash:w:main.hex -v avrdude: Version 5.3cvs, compiled on Apr 22 2007 at 11:41:52 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ System wide configuration file is "/usr/local/etc/ avrdude.conf" User configuration file is "/Users/nick/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cu.usbserial Using Programmer : jtag1 AVR Part : ATMEGA169 Chip Erase delay : 9000 us PAGEL : P00 BS2 : P00 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 512 4 0 9000 9000 0xff 0xff flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : JTAGMKI Description : Atmel JTAG ICE (mkI) ICE hardware version: 0xc1 ICE firmware version: 0x80 Vtarget : 5.0 V JTAG clock : 1 MHz (1.0 us) avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.06s avrdude: Device signature = 0x1e9405 avrdude: safemode: lfuse reads as E2 avrdude: safemode: hfuse reads as 19 avrdude: safemode: efuse reads as FF 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 "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (13498 bytes): Writing | ################################################## | 100% 4.03s avrdude: 13498 bytes of flash written avrdude: verifying flash memory against main.hex: avrdude: load data flash data from input file main.hex: avrdude: input file main.hex auto detected as Intel Hex avrdude: input file main.hex contains 13498 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 2.86s avrdude: verifying ... avrdude: 13498 bytes of flash verified avrdude: safemode: lfuse reads as E2 avrdude: safemode: hfuse reads as 19 avrdude: safemode: efuse reads as FF avrdude: safemode: Fuses OK avrdude done. Thank you. real 0m13.158s user 0m0.062s sys 0m0.080s < OLD 5.1 ------------------------------------------------------------------------ -------------------> nick$ time avrdude -p m169 -P /dev/cu.usbserial -c jtag1 -U flash:w:main.hex -v avrdude: Version 5.1 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ System wide configuration file is "/sw/etc/avrdude.conf" User configuration file is "/Users/nick/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cu.usbserial Using Programmer : jtag1 AVR Part : ATMEGA169 Chip Erase delay : 9000 us PAGEL : P00 BS2 : P00 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 512 4 0 9000 9000 0xff 0xff flash 65 6 128 0 yes 16384 128 128 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : JTAGMKI Description : Atmel JTAG ICE (mkI) ICE hardware version: 0xc1 ICE firmware version: 0x80 Vtarget : 5.0 V JTAG clock : 1 MHz (1.0 us) avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.04s avrdude: Device signature = 0x1e9405 avrdude: safemode: lfuse reads as E2 avrdude: safemode: hfuse reads as 19 avrdude: safemode: efuse reads as FF 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 "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (13498 bytes): Writing | ################################################## | 100% 3.90s avrdude: 13498 bytes of flash written avrdude: verifying flash memory against main.hex: avrdude: load data flash data from input file main.hex: avrdude: input file main.hex auto detected as Intel Hex avrdude: input file main.hex contains 13498 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 2.81s avrdude: verifying ... avrdude: 13498 bytes of flash verified avrdude: safemode: lfuse reads as E2 avrdude: safemode: hfuse reads as 19 avrdude: safemode: efuse reads as FF avrdude: safemode: Fuses OK avrdude done. Thank you. real 0m11.690s user 0m0.048s sys 0m0.094s Nick Lott nick.lott@xxxxxxxxx http://butterflymp3.sf.net http://butterflylogger.sf.net http://stuffthingsandjunk.blogspot.com/ On 21 Apr 2007, at 15:30, Joerg Wunsch wrote: As Schumacher Raphael wrote: |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Programming lfuse on a usb1287: 00042, Ryan Gammon |
|---|---|
| Next by Date: | Re: ser_posix.c: is select()ing for the write descriptoruseful at all?: 00042, Nick Lott |
| Previous by Thread: | Re: ser_posix.c: is select()ing for the write descriptoruseful at all?i: 00042, Joerg Wunsch |
| Next by Thread: | Re: ser_posix.c: is select()ing for the write descriptoruseful at all?: 00042, Nick Lott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |