Forum: Mikrocontroller und Digitale Elektronik Fehlermeldung beim Flashen


von Peter M. (elektronick)


Lesenswert?

Hallo,
beim Flashen bekomme ich folgende Fehlermeldung.
Benutze AtmelStudio 7.0


avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "G:\Program Files 
(x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

             Using Port                    : COM12
             Using Programmer              : arduino
             Overriding Baud Rate          : 115200
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page 
Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size 
#Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- 
------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4 
0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128 
256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0 
0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0 
0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0 
0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0 
0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0 
0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0 
0     0     0 0x00 0x00

             Programmer Type : Arduino
             Description     : Arduino
             Hardware Version: 3
             Firmware Version: 4.4
             Vtarget         : 0.3 V
             Varef           : 0.3 V
             Oscillator      : 28.800 kHz
             SCK period      : 3.3 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.00s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle 
will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file 
"G:\Daten\AVR\Test-PWM\Test-PWM\Debug\main.hex"
avrdude.exe: can't open input file 
G:\Daten\AVR\Test-PWM\Test-PWM\Debug\main.hex: No such file or directory
avrdude.exe: read from file 
'G:\Daten\AVR\Test-PWM\Test-PWM\Debug\main.hex' failed

avrdude.exe done.  Thank you.

von Route_66 H. (route_66)


Lesenswert?

Peter M. schrieb:
> G:\Daten\AVR\Test-PWM\Test-PWM\Debug\main.hex"
> avrdude.exe: can't open input file

Wo liegt bei Dir die "man.hex"? Kann avrdude die finden? Wurde sie 
überhaupt erzeugt, oder hat der Compiler mit Fehlermeldung abgebrochen?

von Peter M. (elektronick)


Lesenswert?

------ Build started: Project: Test-PWM, Configuration: Debug AVR ------
Build started.
Project "Test-PWM.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; 
('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "G:\Program Files 
(x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project 
"G:\Daten\AVR\Test-PWM\Test-PWM\Test-PWM.cproj" (target "Build" depends 
on it):
  Task "RunCompilerTask"
    Shell Utils Path G:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
    G:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all
    make: Nothing to be done for `all'.
  Done executing task "RunCompilerTask".
  Task "RunOutputFileVerifyTask"
        Program Memory Usage   :  178 bytes   0,5 % Full
        Data Memory Usage     :  0 bytes   0,0 % Full
  Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "Test-PWM.cproj".
Target "PostBuildEvent" skipped, due to false condition; 
('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "G:\Program Files 
(x86)\Atmel\Studio\7.0\Vs\Avr.common.targets" from project 
"G:\Daten\AVR\Test-PWM\Test-PWM\Test-PWM.cproj" (entry point):
Done building target "Build" in project "Test-PWM.cproj".
Done building project "Test-PWM.cproj".

Build succeeded.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped 
==========

von Peter M. (elektronick)


Lesenswert?

ich habe eigentlich alle Parameter angegeben.
Die Test-PWM.hex ist unter Outputfiles aufgelistet.

von Peter M. (elektronick)


Lesenswert?

ich poste hier mal die Einstellungen:

Commands: G:\Program Files 
(x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Arguments: -u -v -patmega328p -carduino -P\\.\COM12 -b115200 
-Uflash:w:"$(ProjectDir)Debug\$(ItemFileName).hex":i -C"G:\Program Files 
(x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

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.