Burning bootloader to board 'Arduino Mini w/ ATmega328' using 'Arduino as ISP'
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf" -v -patmega328p -cstk500v1 -P{serial.port} -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m
avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System.Exception: Burn bootloader failed with an exception ---> Visual.Micro.MiroAppAPI.debug.RunnerException: Upload failed
at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader, String workingPath)
at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader)
at programmerPrefs, String programmer)
--- End of inner exception stack trace ---
at programmerPrefs, String programmer)
at Visual.Micro.MiroAppAPI.debug.AvrdudeUploader.burnBootloader(Board boardPreferences, String programmerName)
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : {serial.port}
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): can't open device "{serial.port}": The system cannot find the file specified.
avrdude done. Thank you.
does not work
but this works in Arduino IDE
Burning bootloader to board 'Arduino Mini w/ ATmega328' using 'Arduino as ISP'
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf" -v -patmega328p -cstk500v1 -P{serial.port} -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m
avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System.Exception: Burn bootloader failed with an exception ---> Visual.Micro.MiroAppAPI.debug.RunnerException: Upload failed
at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader, String workingPath)
at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader)
at programmerPrefs, String programmer)
--- End of inner exception stack trace ---
at programmerPrefs, String programmer)
at Visual.Micro.MiroAppAPI.debug.AvrdudeUploader.burnBootloader(Board boardPreferences, String programmerName)
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : {serial.port}
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): can't open device "{serial.port}": The system cannot find the file specified.
avrdude done. Thank you.