ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
27 ноября
104731 Топик полностью
magistr (12.11.2007 01:13, просмотров: 223) ответил magistr на Вот что получилось:
Извините,сейчас все получилось. avreal/WIN32 - AVR controllers LPT programmer by Redchuk Alexandr v1.25rev5 (Jan 15 2007 20:02:38) http://www.ln.com.ua/~real/avreal bug-reports, suggestions and so on mail to avreal@real.kiev.ua Command: -p1 +mega16 -e -wp start.hex -% % LPT base port 0x378 % assume that LPT data writes not faster then 1uS % FBPRG mode % osc = 800kHz -> setup=3, hold=3,2 % Reset % PgmOn reply 0xFFFE5300 % Synchronised after 1 try % GetID reply 0x0030001E % GetID reply 0x00300094 % GetID reply 0x00300003 % Read ID: 0x1E9403 Device connected, MEGA16 detected % ReadLock command 0x58000000 % ReadLock reply 0xFFFFFFFF Chip not locked % ReadOsccal command 0x38000000 % ReadOsccal reply 0xFFFFFFFF % ReadOsccal command 0x38000100 % ReadOsccal reply 0xFFFFFFFF % ReadOsccal command 0x38000200 % ReadOsccal reply 0xFFFFFFFF % ReadOsccal command 0x38000300 % ReadOsccal reply 0xFFFFFFFF % Erase reply 0xFFFFFFFF Device erased % Reset % PgmOn reply 0xFFFFFFFF % Try 1 to resync by reset pulse % PgmOn reply 0xFFFFFFFF % Try 2 to resync by reset pulse % PgmOn reply 0xFFFE5300 % Synchronised after 3 try % GetID reply 0x0030001E % GetID reply 0x00300094 % GetID reply 0x00300003 % Read ID: 0x1E9403 Device connected, MEGA16 detected % ReadLock command 0x58000000 % ReadLock reply 0x005800FF % ReadFuses command 0x50000000 % ReadFuses reply 0x005000E1 % ReadFuses command 0x58000000 % ReadFuses reply 0x005800FF % ReadFuses command 0x58080000 % ReadFuses reply 0xFFFFFFFF Fuses OSCCAL = FF, FF, FF, FF BODLEVEL = 1 BODEN = 1 SUT = 2 CKSEL = 1 BLB1 = 3 BLB0 = 3 OCDEN = 1 JTAGEN = 1 CKOPT = 1 EESAVE = 1 BOOTSZ = 3 BOOTRST = 1 Programming CODE memory Poll: can't write page at 0x0 Reset pin released