Jump to content
ELFORUM - Forumul electronistilor
GanMark

Programare Atiny 2313

Recommended Posts

Am realizat mai demult un timer cu Atiny 2313 , si doar azi mi-am facut rost de mcu

 

problema ca nu stiu cum sa setez fuse....

un link despre timer http://www.postcogito.org/Kiko/SimpleTimerCounter2313.html

 

am incarcat hex si eeprom cu openprog

asa mi-a dat fuse calculator  Low 64 , High FF , Extended D9 , dar nu cred ca e bine

deoarece pe afisaj , imi fug cifrele din stanga in dreapta....

 

nu imi dau seama cum  sa setez din link

poate cineva care are timp sa se uite pe link si sa ma indrume

 

multumesc anticipat !

Edited by GanMark

Share this post


Link to post
Share on other sites

Citirea atenta a fisierului Makefile arata urmatoarele:

 

"avrdude -c usbasp -p $(MCU) -U lfuse:w:0xE4:m -U hfuse:w:0xDB:m  -U efuse:w:0xFE:m"

 

Atentie ca bazaconia presupune si incarcarea unui bootloader, respectiv  "avrboot2313.hex", sau cel putin asa reiese din fisierul "Makefile".

 

L.E.: Asa cum banuiam fisierul hex. contine si bootloaderul, asa ca incarca direct fisierul "ktimer.hex" cu fusebitii de mai sus.

Share this post


Link to post
Share on other sites

nu stiam de setari in makefile , oricum nici cu ce se deschide....

 

am programat hex si eeprom cu fuse indicat mai sus si porneste , dar

la start ( la secunde ) imi clipeste segmentul G cu punctul dintre ceas si secunde concomitent ( la cifra 3 si la 4 deloc )

am incercat afisajul in alt montaj si e ok

verificat cablajul , ok

 

multumesc de ajutor

mai studiez...

 

post-201871-0-87725300-1460025022_thumb.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines