|
|
Elektronika.lt portalo forumas
Jūs esate neprisijungęs lankytojas. Norint dalyvauti diskusijose, būtina užsiregistruoti ir prisijungti prie forumo.
Prisijungę galėsite kurti naujas temas, atsakyti į kitų užduotus klausimus, balsuoti forumo apklausose.
Administracija pasilieka teisę pašalinti pasisakymus bei dalyvius,
kurie nesilaiko forumo taisyklių.
Pastebėjus nusižengimus, prašome pranešti.
Dabar yra 2024 11 20, 14:26. Visos datos yra GMT + 2 valandos.
|
|
|
|
Forumas » Mikrovaldikliai » nenustistato fuse bitai mikrovaldikliui attiny2313
|
Jūs negalite rašyti naujų pranešimų į šį forumą Jūs negalite atsakinėti į pranešimus šiame forume Jūs negalite redaguoti savo pranešimų šiame forume Jūs negalite ištrinti savo pranešimų šiame forume Jūs negalite dalyvauti apklausose šiame forume
|
|
|
|
|
|
nenustistato fuse bitai mikrovaldikliui attiny2313 |
Parašytas: 2013 03 19, 10:52 |
|
|
|
Sveiki, susidūriau su tokia problema, gal galėsite man pagelbėti?
Naudoju programatoriu AVR myMultiProg, su USB ir avrdude.
Bandau pakeisti fuse bitus mikrovaldikliui attiny2313.
rezultatas toks:
Citata: |
D:\avr>avrdude -c avr911 -p attiny2313 -P com3 -u -U lfuse:w:0x62:m
Connecting to programmer: .
Found programmer: Id = "AVR ISP"; type = S
Software Version = 2.5; Hardware Version = 2.0
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
//sita pastraipa iskerpu nes labai didele ir manau, kad jokios naudingos info neneša
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e910a
avrdude: reading input file "0x62"
avrdude: writing lfuse (1 bytes):
Writing | | 0% 0.00s ***faile
d;
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0x62:
avrdude: load data lfuse data from input file 0x62:
avrdude: input file 0x62 contains 1 bytes
avrdude: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x62 != 0x64
avrdude: verification error; content mismatch
avrdude done. Thank you.
|
Guglinimas patare, kad gali būti užrakintas mikrovaldiklis, tačiau lock fusai geri:
Citata: |
D:\avr>avrdude -c avr911 -p attiny2313 -P com3 -t
Connecting to programmer: .
Found programmer: Id = "AVR ISP"; type = S
Software Version = 2.5; Hardware Version = 2.0
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x01
//...
Device code: 0x7f
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e910a
avrdude> d lock
>>> d lock
0000 ff |. |
avrdude> q
>>> q
avrdude: safemode: Fuses OK
avrdude done. Thank you.
|
Taip pat as galiu siūsti programas į mikrovaldiklį ir jos veikia.
Citata: |
D:\avr>avrdude -c avr911 -p attiny2313 -P com3 -u -U flash:w:stepDrive.hex
Connecting to programmer: .
Found programmer: Id = "AVR ISP"; type = S
Software Version = 2.5; Hardware Version = 2.0
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x01
//...
Device code: 0x7f
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e910a
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 "stepDrive.hex"
avrdude: input file stepDrive.hex auto detected as Intel Hex
avrdude: writing flash (348 bytes):
Writing | ################################################## | 100% 0.47s
avrdude: 348 bytes of flash written
avrdude: verifying flash memory against stepDrive.hex:
avrdude: load data flash data from input file stepDrive.hex:
avrdude: input file stepDrive.hex auto detected as Intel Hex
avrdude: input file stepDrive.hex contains 348 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.19s
avrdude: verifying ...
avrdude: 348 bytes of flash verified
avrdude done. Thank you.
|
Kiti guglinimai pataria naudot alternatyvias programas programatoriui.
Išbandžiau AVR Studio 5.0, PonyProg2000 ir Khazama AVR Programmer tačiau jos neatpažista mano programatoriaus.
Ta programinė įranga kuri buvo kartu su programatorium tragiška, viskas vokiškai ir kas 5 sekundes išmeta pranešimo langą: "demo baigėsi. pirk"
Dar radau patarimą, kad reikia patikrinti kokios įtampos režime dirba programatorius. Pasitikrinau, programatorius nustatytas ant 5v, tačiau iš turimų komp. didžiausia usb įtampą duoda 4.9v, bet matuojant prijungus programatoriu ant programuojamo mikrovaldiklio lieka tik 4.6v.
Išbančiau ir kita attiny2313 taip pat ir atmega8 razultatai tokie patys.
Tokie vat nuotykiai. Tikiuosi turėsit man patarimų.
Dar dėl visa ko pridedu verbose outputa:
Citata: |
D:\avr>avrdude -c avr911 -p attiny2313
-P com3 -v
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "d:\WinAVR-20100110\bin\avrdude.conf"
Using Port : com3
Using Programmer : avr911
avr910_devcode (avrdude.conf) : 0x5e
AVR Part : ATtiny2313
Chip Erase delay : 9000 us
PAGEL : PD4
BS2 : PD6
RESET disposition : possible i/o
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 Max
W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
eeprom 65 6 4 0 no 128 4 0 4000 45
00 0xff 0xff
flash 65 6 32 0 yes 2048 32 64 4500 45
00 0xff 0xff
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
calibration 0 0 0 0 no 2 0 0 0
0 0x00 0x00
Programmer Type : avr910
Description : Atmel AppNote AVR911 AVROSP
Connecting to programmer: .
Found programmer: Id = "AVR ISP"; type = S
Software Version = 2.5; Hardware Version = 2.0
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x01
//...
Device code: 0x7f
avrdude: devcode selected: 0x01
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e910a
avrdude: safemode: lfuse reads as 64
avrdude: safemode: hfuse reads as DF
avrdude: safemode: efuse reads as FF
avrdude: safemode: lfuse reads as 64
avrdude: safemode: hfuse reads as DF
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK
avrdude done. Thank you.
|
|
|
|
|
|
|
|
|
|
|
|
Google paieška forume |
|
|
Naujos temos forume |
|
|
FS25 Tractors
Farming Simulator 25 Mods,
FS25 Maps,
FS25 Trucks |
|
ETS2 Mods
ETS2 Trucks,
ETS2 Bus,
Euro Truck Simulator 2 Mods
|
|
FS22 Tractors
Farming Simulator 22 Mods,
FS22 Maps,
FS25 Mods |
|
VAT calculator
VAT number check,
What is VAT,
How much is VAT |
|
LEGO
Mänguköök,
mudelautod,
nukuvanker |
|
Thermal monocular
Thermal vision camera,
Night vision ar scope,
Night vision spotting scope |
|
FS25 Mods
FS25 Harvesters,
FS25 Tractors Mods,
FS25 Maps Mods |
|
Dantų protezavimas
All on 4 implantai,
Endodontija mikroskopu,
Dantų implantacija |
|
FS25 Mods
FS25 Maps,
FS25 Cheats,
FS25 Install Mods |
|
GTA 6 Weapons
GTA 6 Characters,
GTA 6 Map,
GTA 6 Vehicles |
|
FS25 Mods
Farming Simulator 25 Mods,
FS25 Maps |
|
|
|