Cześć,
Próbuję zacząć zabawę z AVRami, ale kiepsko idzie. Kupiłem ATTiny2313 i zrobiłem wszystko zgodnie z
sudo uisp -v=3 -dprog=stk200 -dlpt=0x378 --erase --upload if=test.hex --verify Reset inactive time (t_reset) 1000 us AVR Direct Parallel Access succeeded after 0 retries. Vendor Code: 0x1e Part Family: 0x91 Part Number: 0x0a Atmel AVR ATtiny2313 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Erasing device ... Reinitializing device AVR Direct Parallel Access succeeded after 0 retries. Vendor Code: 0x1e Part Family: 0x91 Part Number: 0x0a Atmel AVR ATtiny2313 is found. Page Write Disabled FLASH Write Delay (t_wd_flash): 11111 us EEPROM Write Delay (t_wd_eeprom): 11111 us Uploading: flash #Error: Data polling readback status: write=0xc0 read=0xff If device was erased disable polling with the -dno-poll option. make: *** [test] Error 2
Po włączeniu -dno-poll niby programuje, ale weryfikacja pokazuje, że wszystkie komórki dalej są 0xFF:
Verifying: flash #flash error at address 0x0: file=0xc0, mem=0xff flash error at address 0x1: file=0xe0, mem=0xff flash error at address 0x2: file=0xd0, mem=0xff flash error at address 0x3: file=0xe0, mem=0xff flash error at address 0x4: file=0xde, mem=0xff
Objawy takie same niezależnie od tego, czy zasilanie jest podłączone. Kwarc, z którym chodzi AVR, to 10 MHz.
Trochę googlałem, ale nic co opisali (zmiana -dvoltage itd.) nie pomogło. Spotkaliście się z czymś tym?
Pozdrawiam.