Guten Tag, Ich bin neu hier im Forum, also bitte nicht hauen ;) Ich habe ein Problem bei der Programmierung des Mikrocontrollers Atmega644. Als Programmieradapter verwende ich den Diamex All Avr (http://www.reichelt.de/Programmer-Entwicklungstools/DIAMEX-ALL-AVR/3//index.html?ACTION=3&GROUPID=5514&ARTICLE=110345&SHOW=1&START=0&OFFSET=16&). Das Problem ist, dass die Pins des PORTC 3 bis 6 egal welchen Code ich auch eingebe immer auf +5V gestellt sind. Ich komme nicht darauf, woran das liegen könnte. Hoffentlich kann mir hier jemand weiterhelfen. Mfg, Wirkungsquantum
Ok, wie schalte ich das JTag am besten aus? Ich sollte evtl. dazusagen, dass ich noch ein ziemlicher Anfänger auf dem Gebiet der Mikrocontroller bin :)
Danke für die schnelle Antwort, aber ich bin einfach noch ein Idiot in der Hinsicht.. Im Datenblatt steht: "In addition, the JTD bit in MCUCSR must be cleared. Alternatively, if the JTD bit is set, the external reset can be forced low. Then, the JTD bit will be cleared after two chip clocks, and the JTAg pins are available for programming". This provides a means of using the JTAg pins as normal port pins..." Ich verstehe allerdings nicht, wie ich diesen Ausdruck realisieren soll..
Habs jetzt doch gelöst, Einfach Jtagen in der Programmierumgebung deaktivieren :D Danke!!!!!!
joo, steht so auch im Datenblatt : When the JTAGEN Fuse is unprogrammed, these four TAP pins are normal port pins, and the TAP controller is in reset. When programmed, the input TAP signals are internally pulled high and the JTAG is enabled for Boundary-scan and programming. The device is shipped with this fuse programmed. merke “ Das Datenblatt soll deine Bibel sein ,drum schau nicht nur am Sontag rein “ mfg
Kreisch!!! LoL >merke “ Das Datenblatt soll deine Bibel sein ,drum schau nicht nur am >Sontag rein “ Den kannte ich noch nicht. Klasse!
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.