Forum: Compiler & IDEs ATMEGA 128 JTAG Interface


von Jogi (Gast)


Lesenswert?

Hallo Leute ich habe seither mit dem AVR 500+501 Bord mit
Dem JTAG Interface de Atmega 128 Programmiert.
Nun jetzt habe ich ein eigenes Board Layoutet.
Wenn ich nun das Board an das JTAG Interface anschliese kann ich zwar
die hex File
An den Controller Senden aber ich kann nicht die Fuse Bits verändern.
ZB.für ext Quarz unsw. Beim STK 500+%01 ging das Problemlos.
Ich habe nun auch im makefile schon folgende Einstellungen
vorgenommen:
# Programming hardware: avrisp stk500 avr910 pavr stk200 pony-stk200
#                       dt006 bascom alf
# Type: avrdude -c ?
# to get a full listing.
#
AVRDUDE_PROGRAMMER = avr128   habe dies hier von STK auf avr128
geändert


AVRDUDE_PORT = com1     # programmer connected to serial device
#AVRDUDE_PORT = lpt1  # programmer connected to parallel port

AVRDUDE_ERASE = -e
AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)

Seit dieser Änderung wird auch das externe Sram erkannt usw.
Aber ich kann immer noch nicht auf die Fuse Einstellung zugreifen.
Auserdem kommt im AVR Studio noch folgende Warnung:
Loaded plugin STK500
Loaded partfile: C:\Programme\AVR Studio
4.0\PartDescriptionFiles\ATmega128
Flash memory 131072
Eeprom memory 4096
I/O start 0000
I/O stop 003F
I/O extended start 0060
I/O extended stop 00FF
SRAM size 4096
SRAM start 0100
SRAM size 65536
Temporary page buffer 256
SRAM start 1100
Loaded objectfile: C:\Programme\WIN AVR\Projecte\Test
1\gcctest1.cof
JTAG ICE Warning: Execution stopped on reset vector. Could not get
location for program entry function, or no entry function was
specified. See the 'Debug' section in JTAG ICE options.
JTAG ICE Warning: If this is not an error, this check can be disabled
in the 'Debug' section in the JTAG ICE options. Studio will then
perform low level singlesteps until a source statement is reached.

Ich danke schon im voraus

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
Noch kein Account? Hier anmelden.