thank u very much, the problem was that i vorget to put an external crystal, now it's 100% working in both CDC & HID modes
in CDC it's take 35 sec to read flash memory on atmega8 ,is that normal?
in HID mode it's fast.
here what i get in HID mode on avr doper after working:
avrdude -c stk500v2 -P avrdoper -p atmega8 -U flash:w:test2.hex:i -v -v
avrdude.EXE: Version 5.4, compiled on Jun 24 2007 at 16:55:32
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/
System wide configuration file is "C:\WinAVR-20070525\bin\avrdude.conf"
Using Port : avrdoper
Using Programmer : stk500v2
AVR Part : ATMEGA8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
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 4 20 128 0 no 512 0 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
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
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: STK500
Hardware Version: 1
Firmware Version: 2.04
Topcard : STK501
Vtarget : 4.7 V
Varef : 0.0 V
Oscillator : 1.229 MHz
SCK period : 2.2 us
avrdude.EXE: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude.EXE: Device signature = 0x1e9307
avrdude.EXE: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.EXE: erasing chip
avrdude.EXE: reading input file "test2.hex"
avrdude.EXE: writing flash (460 bytes):
Writing | ################################################## | 100% 0.63s
avrdude.EXE: 460 bytes of flash written
avrdude.EXE: verifying flash memory against test2.hex:
avrdude.EXE: load data flash data from input file test2.hex:
avrdude.EXE: input file test2.hex contains 460 bytes
avrdude.EXE: reading on-chip flash data:
Reading | ################################################## | 100% 0.45s
avrdude.EXE: verifying ...
avrdude.EXE: 460 bytes of flash verified
avrdude.EXE done. Thank you.
now i'm redisigning it in extra small size (all smd) and without hvsp ,can i put it on this site?
thanks alot.