Skip to content
Snippets Groups Projects
Commit 74838904 authored by nrs1g15's avatar nrs1g15
Browse files

Update README.md

parent 170f7111
No related branches found
No related tags found
No related merge requests found
......@@ -23,18 +23,18 @@ since Atmel Studio requires files from the Arduino IDE install, and will look fo
The uploader used is avrdude which is provided by the Arduino IDE installer. Atmel Studio can upload compiled programs through the provided avrdude by adding it as an external tool,
this is done by tools->External Tools...->Add. This allows you to add a new external tool which Atmel Studio can invoke to upload compiled Debug or Release .hex files.
Debug and Release .hex **Have** to be added seperately, below is an example for adding the Arduino Pro Mini for both Debug and Release versions:
Debug and Release .hex HAVE to be added seperately, below is an example for adding the Arduino Pro Mini for both Debug and Release versions:
Title: 328p Release USBasp
Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega328p -carduino -P\\.\COM16 -b57600 -D -Uflash:w:"$(ProjectDir)Release\$(TargetName).hex":i
Title: 328p Release USBasp
Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega328p -carduino -P\\.\COM16 -b57600 -D -Uflash:w:"$(ProjectDir)Release\$(TargetName).hex":i
Title: 328p Release USBasp
Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega328p -carduino -P\\.\COM16 -b57600 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Title: 328p Release USBasp
Command: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Arguments: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega328p -carduino -P\\.\COM16 -b57600 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Things to note:
Things to note:
* **USBasp** refers to the fact USBasp is the driver used for programming the avr based devices here.
* **-P//./COM16** The comm port the device is attached to.
* **-patmega328p** The device programming to, the Arduino Pro Mini has an Atmega 328p.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment