From f0c494ecead9928f64db379aad5e9233f503a198 Mon Sep 17 00:00:00 2001 From: gerrievanzyl Date: Wed, 5 Oct 2016 09:03:42 -0400 Subject: [PATCH] Update Advanced_ATmega_Serial_Uploader.md --- docs/Advanced_ATmega_Serial_Uploader.md | 42 +------------------------ 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/docs/Advanced_ATmega_Serial_Uploader.md b/docs/Advanced_ATmega_Serial_Uploader.md index 4d74670..4c17e5b 100644 --- a/docs/Advanced_ATmega_Serial_Uploader.md +++ b/docs/Advanced_ATmega_Serial_Uploader.md @@ -28,44 +28,4 @@ Simply flash the .hex file to get the bootloader on the chip, and change the hig The bootloader only uses 512 bytes of flash and is avaialble for download [here](http://www.rcgroups.com/forums/showatt.php?attachmentid=9291360&d=1472324155). The orginal rcgroups post is [here](http://www.rcgroups.com/forums/showpost.php?p=35584619&postcount=4867). -The HIGH fuse needs to be set to 0xD6. (See the section below on Setting the Fuses with AVRdude.) - -## Setting fuses with AVRdude -###Determining the location of the avrdude program -The Arduino IDE is used to upload firmware and set fuses on the ATMega microprocessor. - -You can install avrdude on your computer, but it is already contained in the Arduino IDE bundle and we suggest that you use the Arduino-bundled version. - -1. Unplug any programmer that may be connected to the computer -1. In the Arduino IDE click on Sketch -> Upload Using Programmer -1. After a series of compiling messages you will see an error that a programmer is not found. Scroll up and find the programming command that caused the errors (usually the last white line before the red errors) and copy it into TextEdit or Notepad. -1. This is your programming command and it should look something like this: - -**Mac:** - - -> ``` -> /Applications/Arduino.app/Contents/Java/hardware/tools /avr/bin/avrdude -C/Applications/Arduino.app/Contents/ Java/hardware/tools/avr/etc/avrdude.conf -patmega328p -cusbasp -Pusb -Uflash:w:{this part will be unique to your system} /Multiprotocol.ino.hex:i -> ``` - -**PC:** - - -> ``` -> C:\Program Files (x86)\Arduino\Contents\Java\hardware\tools\ avr\bin\avrdude -CC:\Program Files (x86)\Arduino\Contents\Java\ hardware\tools\avr\etc\avrdude.conf -patmega328p -cusbasp -Pusb -Uflash:w:{this part will be unique on your system}\ Multiprotocol.ino.hex:i -> ``` - - -Select all the text up to the ```-Uflash ``` command, copy it and paste it into a new line and add a “-v” (without the "") at the end of the line. - - This is your “verify” command and it should look something like this: - -> ``` -> /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/ tools/avr/etc/avrdude.conf -patmega328p -cusbasp -Pusb -v -> ``` - - -We will be using these two commands to program the module. - -1. Verify that the connection is working by pasting the Verify line into a terminal. You should see output that includes the fuse settings. -2. 1. To program the High Fuse copy the “verify” command and paste it into the shell add the following text to the end of the line ```-U hfuse:w:0xD6:m ``` . Press Enter. +The HIGH fuse needs to be set to 0xD6. (See the section on [Manually Setting the ATmega328 Fuses](Advanced_Manually_Setting_ATmega328_Fuses.md).)