diff options
-rw-r--r-- | Documentation/Programming-OpenPLC.rst | 5 | ||||
-rw-r--r-- | Images/usb.png | bin | 169092 -> 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 Binary files differindex c28f491..8c443c6 100644 --- a/Images/usb.png +++ b/Images/usb.png |