IAR AVR 7.2: Failed to load debugee

OP #6080973
Lesenswert?

Guten Abend,

ich hab mir gerade die IAR für AVR heruntergeladen, ein kleines Programm 
geschrieben und wollte das nun mit dem Atmel-ICE auf einen ATmega809 
flashen. Kommunikation mit dem Atmel-ICE funktioniert von der IAR-IDE 
aus (Flash löschen und Fuses auslesen funktioniert z.B.), allerdings 
kommt beim Klick auf "Download and Debug" die Meldung:
1
IAR Embedded Workbench 7.20.1
2
Atmel-ICE, USB ID: J41800084072, FW version: 1.41.137 
3
UPDI clock: 100 kHz, Target voltage: 4.974 V, Device name: ATmega809 (0x1E932A) 
4
Failed to load debugee: C:\...\Projekt.d90

Hat da jemand eine Idee?
OP #6080990
Lesenswert?

Okay, die Lösung für dieses Problem steht hier:

http://microsin.ru/content/view/687/44/
1
 Solution - Project -> Options ... -> Linker -> Output tab -> in the format field, select Debug information for C-SPY and check the With runtime control modules and With I / O emulation modules boxes.

Aber nun kommt das:
1
IAR Embedded Workbench 7.20.1
2
Atmel-ICE, USB ID: J41800084072, FW version: 1.41.137 
3
UPDI clock: 100 kHz, Target voltage: 5.26 V, Device name: ATmega809 (0x1E932A) 
4
Loaded debugee: C:\...\Project.d90 
5
Target reset 
6
Fatal error: Failed to set program breakpoint   Session aborted! 
7
Failed to clear breakpoint: Target busy.

Edit: Mit Atmel Studio funktioniert das Debuggen -.-

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