Jump to content
Sign in to follow this  
iozsi39

Atmega8

Recommended Posts

Buna ziua tuturor.Am o problema la Atmega8.Am compilat fisierul Blink din arduino1.0.3,apoi scris fisierul hex cu ajutorul unui programator usbasp,cu ajutorul programului Khazama.La sfarsit spune ca totu-i in regula.Dar din pacate ledul nu functioneaza.Daca schimb in sketch pinul 13 in pin 12 sau 11,apoi transform in hex si incarc din nou,atunci functioneaza !Binenteles schimbat ledul la iesirea corespunzatoare a circuitului.M-am gandit ca e ars pinul respectiv dar nu ar trebui deoarece prin acela se incarca programele(fiind pinul sck de la controler).Nu-mi dau seama ce este.Mentionez ca am incercat cu acelasi programator si acelasi hex la Atmega 328p si functioneaza ledul pe acel pin.

Edited by iozsi39

Share this post


Link to post
Share on other sites

De ce folosesti Khazama cand poti programa direct?

Arduino lucreaza direct cu USBasp pe care il setezi ca programator, iar la compilare ii dai comanda "upload using external programmer" (sau ceva de genu' asta, nu am Arduino instalat aici).

 

Edit: vezi ca pt. Atmega8 trebuie sa alegi alta "placa", ultima de jos, ceva de genu' "Atmega8 or older"

Edited by edy_wheazel

Share this post


Link to post
Share on other sites

Asa este! Trebuia sa aleg inainte de compilare Atmega8!Acum merge perfect programatorul.Numai bine.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use cookies and related technologies to improve your experience on this website to give you personalized content and ads, and to analyze the traffic and audience of your website. Before continuing to browse www.tehnium-azi.ro, please agree to: Terms of Use.