Difference between revisions of "OpenPLC-version1-with-LDmicro/C2/Installation-of-LDmicro-on-Windows/English"
Nancyvarkey (Talk | contribs) |
|||
Line 22: | Line 22: | ||
System Requirements | System Requirements | ||
|| To record this tutorial I am using: | || To record this tutorial I am using: | ||
− | * Windows 8 operating system | + | * '''Windows 8''' operating system |
− | * USBasp programmer | + | * '''USBasp programmer''' |
|- | |- | ||
Line 31: | Line 31: | ||
|| OpenPLC website | || OpenPLC website | ||
− | || To download the installation files, open a web browser of your choice. | + | || To download the '''installation files,''' open a '''web browser''' of your choice. |
− | Make sure you have an active internet connection. | + | Make sure you have an active '''internet connection'''. |
− | Go to the website [https://openplc.fossee.in/ https://openplc.fossee.in] | + | Go to the '''website''' [https://openplc.fossee.in/ https://openplc.fossee.in] |
|- | |- | ||
|| OpenPLC website | || OpenPLC website | ||
− | || In the top menu bar, click on Downloads tab. | + | || In the top '''menu bar''', click on '''Downloads''' tab. |
|- | |- | ||
|| OpenPLC website | || OpenPLC website | ||
− | || Here we will find a link to download '''LDmicro''' | + | || Here we will find a '''link''' to download '''LDmicro installation files''' for '''Windows'''. |
|- | |- | ||
|| Click LDmicro for Windows | || Click LDmicro for Windows | ||
− | || Click on '''‘LDmicro for Windows’ ''' | + | || Click on '''‘LDmicro for Windows’ link'''. |
|- | |- | ||
|| Point .exe file | || Point .exe file | ||
− | || In the '''Downloads '''folder, | + | || In the '''Downloads '''folder, downloaded '''.exe file''' is available. |
|- | |- | ||
|| Double-click on the .exe file | || Double-click on the .exe file | ||
− | || Double-click on the '''.exe''' | + | || Double-click on the '''.exe file.''' |
We will get a warning message as: | We will get a warning message as: | ||
Line 60: | Line 60: | ||
|| Click on '''‘More info’.''' | || Click on '''‘More info’.''' | ||
− | Then, click on '''‘Run anyway’ '''button | + | Then, click on '''‘Run anyway’ '''button. |
|- | |- | ||
|| | || | ||
− | || This will open the '''LDmicro-Program Editor | + | || This will open the '''LDmicro-Program Editor''' window. |
Thus, we’ve successfully installed '''LDmicro'''. | Thus, we’ve successfully installed '''LDmicro'''. | ||
Line 70: | Line 70: | ||
|- | |- | ||
|| | || | ||
− | || Next, we’ll see how to | + | || Next, we’ll see how to '''install AVRDUDE'''. |
|- | |- | ||
|| Slide 4: | || Slide 4: | ||
Line 79: | Line 79: | ||
'''AVRDUDE '''stands for '''AVR Downloader Uploader'''. | '''AVRDUDE '''stands for '''AVR Downloader Uploader'''. | ||
− | It is a tool for downloading or uploading the on-chip memories of AVR microcontrollers. | + | It is a tool for downloading or uploading the on-'''chip memories''' of '''AVR microcontrollers'''. |
|- | |- | ||
|| | || | ||
− | || Now we will see the installation of '''AVRDUDE.''' | + | || Now we will see the '''installation''' of '''AVRDUDE.''' |
|- | |- | ||
|| | || | ||
− | || Switch back to the browser. | + | || Switch back to the '''browser'''. |
|- | |- | ||
|| Point Windows row | || Point Windows row | ||
Line 93: | Line 93: | ||
|- | |- | ||
|| Click WinAVR (avrdude) | || Click WinAVR (avrdude) | ||
− | || It will redirect to '''sourceforge.net''' | + | || It will redirect to '''sourceforge.net website'''. |
|- | |- | ||
|| Click on ‘Files’ | || Click on ‘Files’ | ||
Line 112: | Line 112: | ||
|| Then, click on '''WinAVR-20100110-install.exe.''' | || Then, click on '''WinAVR-20100110-install.exe.''' | ||
− | This will download the executable file for '''AVRDUDE.''' | + | This will download the '''executable file''' for '''AVRDUDE.''' |
− | It will take some time to download the file. | + | It will take some time to download the '''file'''. |
|- | |- | ||
|| Point .exe file | || Point .exe file | ||
− | || In the '''Downloads''' folder, the downloaded .exe file is available | + | || In the '''Downloads''' folder, the downloaded '''.exe file''' is available |
|- | |- | ||
− | || Right click on the .exe file | + | || Right click on the '''.exe file'''. |
Click on ‘Run as administrator’ | Click on ‘Run as administrator’ | ||
Line 125: | Line 125: | ||
|- | |- | ||
|| Click ‘Yes’ | || Click ‘Yes’ | ||
− | || A window will pop-up asking permission to install. | + | || A window will pop-up asking permission to '''install'''. |
Click on ‘'''Yes'''’ button. | Click on ‘'''Yes'''’ button. | ||
Line 134: | Line 134: | ||
Select '''English''' and then click ‘'''OK'''’ button. | Select '''English''' and then click ‘'''OK'''’ button. | ||
− | Click ‘'''Next'''’ in the Setup Wizard window. | + | Click ‘'''Next'''’ in the '''Setup Wizard''' window. |
− | Click ‘'''I agree'''’ in the License Agreement window. | + | Click ‘'''I agree'''’ in the '''License Agreement''' window. |
|- | |- | ||
|| Browse the location | || Browse the location | ||
− | || Browse to the location where you would want to install the software. | + | || Browse to the location where you would want to '''install''' the '''software'''. |
I’ll install it on '''Desktop'''. | I’ll install it on '''Desktop'''. | ||
Line 149: | Line 149: | ||
|- | |- | ||
|| Click ‘Finish’ | || Click ‘Finish’ | ||
− | || It will take some time to install the software | + | || It will take some time to '''install''' the '''software''' |
After completion, click on ‘'''Finish'''’ button. | After completion, click on ‘'''Finish'''’ button. | ||
|- | |- | ||
|| Open Windows search | || Open Windows search | ||
− | || To make sure it is installed, open '''command prompt''' using Windows search. | + | || To make sure it is installed, open '''command prompt''' using '''Windows search.''' |
|- | |- | ||
− | || Type | + | || Type '''‘avrdude'''’ |
Point the version number | Point the version number | ||
|| Type ‘'''avrdude'''’ and press '''ENTER.''' | || Type ‘'''avrdude'''’ and press '''ENTER.''' | ||
− | We can see the version of''' AVRDUDE''' | + | We can see the version of''' AVRDUDE installed''' on the machine. |
|- | |- | ||
|| | || | ||
Line 171: | Line 171: | ||
|| | || | ||
− | This is a picture of a USBasp programmer. | + | This is a picture of a '''USBasp programmer'''. |
|- | |- | ||
|| Slide 6: | || Slide 6: | ||
Why USBasp drivers? | Why USBasp drivers? | ||
− | || Why USBasp drivers? | + | || Why '''USBasp drivers'''? |
− | *A '''USBasp''' | + | *A '''USBasp programmer''' is used to '''program''' the '''controller''' on '''OpenPLC Mainboard'''. |
− | * '''AVRDUDE''' will not recognize the '''USBasp''', if drivers are not installed. | + | * '''AVRDUDE''' will not recognize the '''USBasp''', if '''drivers''' are not '''installed'''. |
|- | |- | ||
|| | || | ||
− | || Now, we’ll see how to install the '''USBasp''' | + | || Now, we’ll see how to install the '''USBasp driver'''. |
|- | |- | ||
|| | || | ||
− | || Switch back to the browser. | + | || Switch back to the '''browser'''. |
|- | |- | ||
|| | || | ||
− | || I’m using '''Windows 8 OS''' to do the installation. | + | || I’m using '''Windows 8 OS''' to do the '''installation'''. |
− | The procedure is the same for '''Windows 10 '''also | + | The procedure is the same for '''Windows 10 '''also. |
|- | |- | ||
|| | || | ||
− | || First, we need to download the installation files. | + | || First, we need to download the '''installation files.''' |
|- | |- | ||
|| Click ‘USBasp drivers’ link | || Click ‘USBasp drivers’ link | ||
Line 199: | Line 199: | ||
Text box: These installation files are for both Windows 8 and Windows 10 | Text box: These installation files are for both Windows 8 and Windows 10 | ||
− | || In the Windows row, click on ‘'''USBasp | + | || In the '''Windows''' row, click on ‘'''USBasp drivers’ link''' to download them. |
|- | |- | ||
|| Point the .zip file | || Point the .zip file | ||
− | || In the '''Downloads''' folder, we can see a .zip file of '''USBasp''' | + | || In the '''Downloads''' folder, we can see a '''.zip file''' of '''USBasp drivers'''. |
|- | |- | ||
|| Right click >> Click ‘Extract All’ | || Right click >> Click ‘Extract All’ | ||
Line 213: | Line 213: | ||
|- | |- | ||
|| | || | ||
− | || Connect the | + | || Connect the '''USBasp programmer''' to one of the '''USB ports''' of your PC. |
|- | |- | ||
|| Open Windows search | || Open Windows search | ||
− | || Now, open '''Windows''' | + | || Now, open '''Windows search'''. |
|- | |- | ||
|| Type ‘Device Manager’ | || Type ‘Device Manager’ | ||
Line 223: | Line 223: | ||
|| Search for ‘'''Device Manager'''’. | || Search for ‘'''Device Manager'''’. | ||
− | In Windows 8, we can find '''‘Device Manager’''' under '''Settings ''' | + | In '''Windows 8''', we can find '''‘Device Manager’''' under '''Settings ''' |
Click on '''Device Manager.''' | Click on '''Device Manager.''' | ||
Line 244: | Line 244: | ||
|- | |- | ||
|| Click ‘Browse my computer for driver software’ | || Click ‘Browse my computer for driver software’ | ||
− | || Click ‘'''Browse my computer for driver software'''’ | + | || Click ‘'''Browse my computer for driver software'''’. |
|- | |- | ||
|| Browse to the location | || Browse to the location | ||
Line 261: | Line 261: | ||
|- | |- | ||
|| | || | ||
− | || This is because there is driver restriction for non-digitally signed drivers. | + | || This is because there is a '''driver''' restriction for '''non-digitally signed drivers.''' |
− | Only digitally signed drivers are allowed in '''Windows 8''' and '''Windows 10''' | + | Only '''digitally signed drivers''' are allowed in '''Windows 8''' and '''Windows 10''' |
− | Therefore we have to disable the signature checking. | + | Therefore we have to disable the '''signature checking'''. |
|- | |- | ||
|| Press SHIFT and Restart | || Press SHIFT and Restart | ||
− | || To do that, hold the ''' | + | || To do that, hold the '''Shift''' key and '''restart''' the computer. |
The computer will restart with some clicking options on the screen. | The computer will restart with some clicking options on the screen. | ||
Line 283: | Line 283: | ||
Click on ‘'''Startup Settings'''’. | Click on ‘'''Startup Settings'''’. | ||
− | On Windows 10, it might be on a second page, after "'''Show more settings'''". | + | On '''Windows 10''', it might be on a second page, after "'''Show more settings'''". |
|- | |- | ||
|| Highlight the options | || Highlight the options | ||
Line 293: | Line 293: | ||
|| Now simply click on the '''Restart''' button. | || Now simply click on the '''Restart''' button. | ||
− | When the computer reboots it will show some options on the screen. | + | When the computer '''reboots''' it will show some options on the screen. |
|- | |- | ||
|| Press 7 | || Press 7 | ||
− | || Press 7 in the keyboard to select option 7, i.e. ‘'''Disable driver signature enforcement'''’. | + | || Press '''7''' in the keyboard to select option 7, i.e. ‘'''Disable driver signature enforcement'''’. |
|- | |- | ||
|| | || | ||
− | || After that, the computer will start | + | || After that, the computer will start '''Windows''' normally but now with '''disabled driver signature detection'''. |
|- | |- | ||
|| | || | ||
− | || Now again go to the ‘'''Device manager'''’ and try installing the driver as before. | + | || Now again go to the ‘'''Device manager'''’ and try '''installing''' the '''driver''' as before. |
|- | |- | ||
|| | || | ||
− | || We’ll get a warning that says ‘'''Windows can’t verify the publisher of this driver software’''' | + | || We’ll get a warning that says ‘'''Windows can’t verify the publisher of this driver software’'''. |
|- | |- | ||
|| Click ‘Install this driver software anyway’ | || Click ‘Install this driver software anyway’ | ||
− | || Ignore it, and click on ‘'''Install this driver software anyway'''’ | + | || Ignore it, and click on ‘'''Install this driver software anyway'''’. |
|- | |- | ||
|| | || | ||
Line 318: | Line 318: | ||
|| Now we can observe that the yellow sign at '''USBasp''' is not there. | || Now we can observe that the yellow sign at '''USBasp''' is not there. | ||
− | Thus, '''USBasp''' | + | Thus, '''USBasp drivers''' are successfully '''installed''' and working. |
|- | |- | ||
|| | || | ||
Line 327: | Line 327: | ||
|| Slide 7: Summary | || Slide 7: Summary | ||
− | We learnt to | + | We learnt to install |
− | AVRDUDE | + | *LDmicro |
− | Drivers for USBasp programmer | + | *AVRDUDE |
+ | *Drivers for USBasp programmer | ||
− | || In this tutorial, we learnt how to | + | || In this tutorial, we learnt how to install |
− | AVRDUDE | + | *'''LDmicro''' |
− | drivers for USBasp programmer | + | *'''AVRDUDE''' |
+ | *'''drivers''' for '''USBasp programmer''' | ||
|- | |- | ||
|| Slide 8: | || Slide 8: | ||
About Spoken Tutorial project | About Spoken Tutorial project | ||
− | || * The video at the following link summarises the Spoken Tutorial project. | + | || |
+ | * The video at the following link summarises the Spoken Tutorial project. | ||
* Please download and watch it. | * Please download and watch it. | ||
|- | |- | ||
Line 353: | Line 356: | ||
Forum for specific questions: | Forum for specific questions: | ||
− | || Do you have questions in THIS Spoken Tutorial?* Please visit this site | + | || |
+ | * Do you have questions in THIS Spoken Tutorial? | ||
+ | * Please visit this site | ||
* Choose the minute and second where you have the question | * Choose the minute and second where you have the question | ||
* Explain your question briefly | * Explain your question briefly |
Latest revision as of 18:03, 20 January 2021
VISUAL CUE | NARRATION |
Slide 1:
Welcome slide |
Welcome to the spoken tutorial on Installation of LDmicro on Windows. |
Slide 2:
Learning Objectives |
In this tutorial, we will see how to install,
|
Slide 3:
System Requirements |
To record this tutorial I am using:
|
Now, we’ll see how to install LDmicro. | |
OpenPLC website | To download the installation files, open a web browser of your choice.
Make sure you have an active internet connection. Go to the website https://openplc.fossee.in |
OpenPLC website | In the top menu bar, click on Downloads tab. |
OpenPLC website | Here we will find a link to download LDmicro installation files for Windows. |
Click LDmicro for Windows | Click on ‘LDmicro for Windows’ link. |
Point .exe file | In the Downloads folder, downloaded .exe file is available. |
Double-click on the .exe file | Double-click on the .exe file.
We will get a warning message as: ‘Windows SmartScreen prevented an unrecognized app from starting’. |
Click ‘More info’ >> Click ‘Run anyway’ | Click on ‘More info’.
Then, click on ‘Run anyway’ button. |
This will open the LDmicro-Program Editor window.
Thus, we’ve successfully installed LDmicro. Close the window. | |
Next, we’ll see how to install AVRDUDE. | |
Slide 4:
What is AVRDUDE? |
What is AVRDUDE?
AVRDUDE stands for AVR Downloader Uploader. It is a tool for downloading or uploading the on-chip memories of AVR microcontrollers. |
Now we will see the installation of AVRDUDE. | |
Switch back to the browser. | |
Point Windows row
Point ‘WinAVR (avrdude)’ link |
In the Downloads page, in Windows row, click on WinAVR (avrdude). |
Click WinAVR (avrdude) | It will redirect to sourceforge.net website. |
Click on ‘Files’ | Click on the ‘Files’ tab. |
Click ‘WinAVR’ | Click on ‘WinAVR’ folder.
We can see a list of folders for different versions of AVRDUDE. |
Click ‘20100110’ | Click on the first folder available in the list, which indicates the latest version.
In my case, it is ‘20100110‘. |
Click WinAVR-20100110-install.exe | Then, click on WinAVR-20100110-install.exe.
This will download the executable file for AVRDUDE. It will take some time to download the file. |
Point .exe file | In the Downloads folder, the downloaded .exe file is available |
Right click on the .exe file.
Click on ‘Run as administrator’ |
Right click on it and select ‘Run as Administrator’. |
Click ‘Yes’ | A window will pop-up asking permission to install.
Click on ‘Yes’ button. |
Select ‘English’ >> Click ‘OK’ >> Click ‘Next’ >> Click ‘I Agree’ | Then another window pops up asking to select a language.
Select English and then click ‘OK’ button. Click ‘Next’ in the Setup Wizard window. Click ‘I agree’ in the License Agreement window. |
Browse the location | Browse to the location where you would want to install the software.
I’ll install it on Desktop. |
Click ‘Next’ >> Click ‘Install’ | Click on ‘Next’ button.
Click on ‘Install’ button. |
Click ‘Finish’ | It will take some time to install the software
After completion, click on ‘Finish’ button. |
Open Windows search | To make sure it is installed, open command prompt using Windows search. |
Type ‘avrdude’
Point the version number |
Type ‘avrdude’ and press ENTER.
We can see the version of AVRDUDE installed on the machine. |
Next, we will see about USBasp programmer. | |
Slide 5:
(picture of USBasp programmer, USBasp_Programmer.jpg) |
This is a picture of a USBasp programmer. |
Slide 6:
Why USBasp drivers? |
Why USBasp drivers?
|
Now, we’ll see how to install the USBasp driver. | |
Switch back to the browser. | |
I’m using Windows 8 OS to do the installation.
The procedure is the same for Windows 10 also. | |
First, we need to download the installation files. | |
Click ‘USBasp drivers’ link
Text box: These installation files are for both Windows 8 and Windows 10 |
In the Windows row, click on ‘USBasp drivers’ link to download them. |
Point the .zip file | In the Downloads folder, we can see a .zip file of USBasp drivers. |
Right click >> Click ‘Extract All’ | Right click on it and select ‘Extract All’. |
Click ‘Extract’ | Browse to the location where you want to extract and click ‘Extract’.
I’ll extract to the Downloads folder. |
Connect the USBasp programmer to one of the USB ports of your PC. | |
Open Windows search | Now, open Windows search. |
Type ‘Device Manager’
Press ENTER |
Search for ‘Device Manager’.
In Windows 8, we can find ‘Device Manager’ under Settings Click on Device Manager. |
Click ‘Other Devices’
Point ‘USBasp’ |
Click on ‘Other devices’.
We can see ‘USBasp’. |
Point yellow sign | The yellow sign near USBasp indicates that it’s not connected. |
Right click on ‘USBasp’ >> Click ‘Update Driver Software’ | Right click on it and select ‘Update Driver Software’. |
A window will pop up with ‘How do you want to search for driver software?’. | |
Click ‘Browse my computer for driver software’ | Click ‘Browse my computer for driver software’. |
Browse to the location
Click ‘Install’ |
Browse to the location where you have extracted the ‘USBasp drivers’ folder.
I’ll change to Downloads. Click on Next button. |
Point the message | But, we can see a message as:
‘Windows encountered a problem installing the driver software for your device’. |
This is because there is a driver restriction for non-digitally signed drivers.
Only digitally signed drivers are allowed in Windows 8 and Windows 10 Therefore we have to disable the signature checking. | |
Press SHIFT and Restart | To do that, hold the Shift key and restart the computer.
The computer will restart with some clicking options on the screen. |
Click ‘troubleshoot’ | Click on ‘Troubleshoot’ option. |
Click ‘Advanced Options’
Click ‘Startup Settings’ |
Then click on ‘Advanced Options’.
Click on ‘Startup Settings’. On Windows 10, it might be on a second page, after "Show more settings". |
Highlight the options | A new window opens with the message:
‘after restart you will be able to change some windows options’. |
Click ‘Restart’ | Now simply click on the Restart button.
When the computer reboots it will show some options on the screen. |
Press 7 | Press 7 in the keyboard to select option 7, i.e. ‘Disable driver signature enforcement’. |
After that, the computer will start Windows normally but now with disabled driver signature detection. | |
Now again go to the ‘Device manager’ and try installing the driver as before. | |
We’ll get a warning that says ‘Windows can’t verify the publisher of this driver software’. | |
Click ‘Install this driver software anyway’ | Ignore it, and click on ‘Install this driver software anyway’. |
We can see a message ‘Windows has successfully updated your driver software’.
Click on the Close button. | |
Point ‘USBasp’ in ‘Other devices’ | Now we can observe that the yellow sign at USBasp is not there.
Thus, USBasp drivers are successfully installed and working. |
This brings us to the end of this tutorial.
Let us summarize. | |
Slide 7: Summary
We learnt to install
|
In this tutorial, we learnt how to install
|
Slide 8:
About Spoken Tutorial project |
|
Slide 9:
Spoken Tutorial workshops |
The Spoken Tutorial Project team:
For more details, please write to us. |
Slide 10:
Forum for specific questions: |
|
Slide 11:
Forum for specific questions: |
Do you have general/technical questions on OpenPLC?
Please visit the FOSSEE forum and post your question. |
Slide 12:
Acknowledgment |
Spoken Tutorial Project is funded by MHRD, Government of India. |
Slide 13:
Thank you slide |
This tutorial has been contributed by FOSSEE and Spoken Tutorial Project, IIT Bombay.
And this is Harsha Priyanka from FOSSEE team, signing off. Thanks for watching. |