From 6c89f748905323a8dabd40af38875b56b63de431 Mon Sep 17 00:00:00 2001 From: ShaunakManurkar Date: Tue, 25 Apr 2017 15:13:04 +0530 Subject: Made changes in the Programming-OpenPLC.rst --- Documentation/Programming-OpenPLC.rst | 5 +---- Images/usb.png | Bin 169092 -> 163079 bytes 2 files changed, 1 insertion(+), 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 Binary files a/Images/usb.png and b/Images/usb.png differ -- cgit