Diamex All Avr Programmierproblem, Atmega644

Gast #3293164
Lesenswert?

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
Gast #3293201
Lesenswert?

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..
Gast #3293236
Lesenswert?

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

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren