Forum: Mikrocontroller und Digitale Elektronik Error Debbuging wiht AVRDragon to ATmega128RFA1


von ektor k. (Firma: Technische Universität München) (ektor)


Lesenswert?

Hello¡¡

   I am working with AVRStudio 4.19. I am triying to debbug wiht 
AVRDragon to ATmega128RFA1 via JTAG.
When I try to debugg I can´t because appear a error messege and the 
program is closed.The messege is the next one:

----------------------------------------------------------------------
Loaded plugin STK500
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files\Atmel\AVR 
Tools\PartDescriptionFiles\ATmega128RFA1
AVR Simulator: Please wait while configuring simulator...
AVR Simulator: ATmega128RFA1 is not supported. Check Part XML file and 
report this error to avr@atmel.com
AVR Simulator: IO Module: TIMER1 (AvrMasterTimer.MasterTimer) not 
supported
AVR Simulator: ATmega128RFA1 is not supported. Check Part XML file and 
report this error to avr@atmel.com
AVR Simulator: IO Module: TIMER2 (AvrMasterTimer.MasterTimer) not 
supported
AVR Simulator: ATmega128RFA1 is not supported. Check Part XML file and 
report this error to avr@atmel.com
AVR Simulator: IO Module: TIMER3 (AvrMasterTimer.MasterTimer) not 
supported
AVR Simulator: ATmega128RFA1 is not supported. Check Part XML file and 
report this error to avr@atmel.com
AVR Simulator: IO Module: TIMER4 (AvrMasterTimer.MasterTimer) not 
supported
AVR Simulator: ATmega128RFA1 is not supported. Check Part XML file and 
report this error to avr@atmel.com
AVR Simulator: IO Module: TIMER5 (AvrMasterTimer.MasterTimer) not 
supported
AVR Simulator: ATmega128RFA1 Configured OK
-----------------------------------------------------------------------

I have already ask to avr@atmel.com but they just suggest to install 
last version of AVRStudio(6).
Have I problems with my Timers? Could anyone say me what is happening 
with my AVRStudio 4?

Thanks in advance.

von Timmo H. (masterfx)


Lesenswert?

>AVR Simulator: Please wait while configuring simulator...
Seems like you selected the simulator for debugging, but the simulator 
doesn't support ATmega128RFA1
>AVR Simulator: ATmega128RFA1 is not supported.

You should select the Dragon in the Properties => Tool as 
debugger/programmer

von ektor k. (Firma: Technische Universität München) (ektor)


Lesenswert?

Timmo H. schrieb:
> You should select the Dragon in the Properties => Tool as
> debugger/programmer
I have already do that but the program is closed now without error 
messege.
The AVRDragon try to connect but is aborted.Two green lights blink but 
nothing.
I can not understand because I can programm,compile and build but not 
debug.

von Jörg W. (dl8dtl) (Moderator) Benutzerseite


Lesenswert?

(This is a German-language forum.  If you cannot speak and understand
German, please use the English-language forum at

https://embdev.net/forum/microcontrollers )

Ich kann dir 100%ig versichern, dass ich schon viele ATmega128RFA1
mit dem AVR Dragon debuggt habe.  Ich habe sowas sogar schon bei einem
Workshop bei den Chemnitzer Linuxtagen gemacht für einen Klassenraum
voller Teilnehmer. ;-)

Irgendwo muss der Wurm in deinem AVR Studio liegen.  Kannst du denn
überhaupt irgendwas damit debuggen (also nicht nur simulieren)? Zwar
ist AVR Studio 4.x mittlerweile end-of-life, aber der ATmega128RFA1
funktionierte da trotzdem schon.

Wenn du aktuell sein willst und auch ggf. den Atmel-Support in Anspruch
nehmen können willst, dann solltest du allerdings wohl Atmel Studio
6 benutzen.

(Ich selbst debugge mit AVaRICE + AVR-GDB, aber diese Methode würde
ich dir jetzt nicht unbedingt nahelegen.)

von Hector C. (Firma: Technische Universität München) (cuenca)


Lesenswert?

Entschuldigen Sie, Ich wusste nicht.

Jetzt kann ich mit der ATmega128RFA1 debug, verstehe ich nicht da.

Vielen Dank für Ihre Tipps.

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.