summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaunakManurkar2017-04-25 15:13:04 +0530
committerShaunakManurkar2017-04-25 15:13:04 +0530
commit6c89f748905323a8dabd40af38875b56b63de431 (patch)
tree8ea8ee9295e8b87199b846cefdb0f9d7f2204669
parent77c32953e5613d59f18aadd784d65b13f4d1a085 (diff)
downloadOpenPLC-6c89f748905323a8dabd40af38875b56b63de431.tar.gz
OpenPLC-6c89f748905323a8dabd40af38875b56b63de431.tar.bz2
OpenPLC-6c89f748905323a8dabd40af38875b56b63de431.zip
Made changes in the Programming-OpenPLC.rst
-rw-r--r--Documentation/Programming-OpenPLC.rst5
-rw-r--r--Images/usb.pngbin169092 -> 163079 bytes
2 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/Programming-OpenPLC.rst b/Documentation/Programming-OpenPLC.rst
index b669fdb..ecf17a9 100644
--- a/Documentation/Programming-OpenPLC.rst
+++ b/Documentation/Programming-OpenPLC.rst
@@ -55,16 +55,13 @@ in which you have the saved HEX file to be dumped onto the processor.
Step 5: Now, in the terminal, enter the following command.
-**sudo avrdude -p atmega16 -P usb -c usbasp -B10 -U flash:w:Blink.hex**
+**sudo avrdude -c usbasp -p m16 -U flash:w:Blink.hex**
You shall see such a process going on in the terminal like the one shown
below, which means that the process of erasing and writing the internal
memory of the ATmega IC is in the process. On correct execution you shall
get such a result. Whilst it’s burning the code, the red light on the USBASP will be lit showing that it is communicating with the controller appropriately.
-Remember, after the fuses are set (covered in the following sections in
-detail), then the -B10 flag is necessary and can be deleted.
-
.. image:: Images/usb.png
:height: 540px
:width: 450px
diff --git a/Images/usb.png b/Images/usb.png
index c28f491..8c443c6 100644
--- a/Images/usb.png
+++ b/Images/usb.png
Binary files differ