Prerequisite – Hardware Part

We will install Pinguino driver in this tutorial. Again, this tutorial will be presented on Windows 10 platform. Other platform’s question please comment at below.

Hardware part:

  • There are a lot of PIC chips supported for Pinguino. User may refer to http://wiki.pinguino.cc/index.php/Main_Page to choose PIC chip that user prefer. However, in this tutorial we use PIC18F4550 as example.
  • First, we choose correct bootloader for PIC18F4550.
  • Bootloader is a small program that pre-program to chip so that it can help user to transfer user’s program to chip by using USB port.
  • If the board is homemade by user, user needs to program bootloader only once by using PIC programmer.
  • Goto here to get version 4.x bootloader. Search keyword “Bootloader_v4.14_18f4550_X20MHz“, right-click the link and select “save link as…” then save it to “C:\pinguino-11\“.
  • Use PIC programmer to program bootloader to the chip.
  • Now, put your chip back to board and connect to USB port of computer.
  • Click reset button of the board.
  • User should see left picture first once the reset button was released and then it will change to what depicted at right picture one or two minutes later.
  • Goto device manager and look for P8 device. If user unable to see the P8 device, select “View” and click “Show hidden devices“.

driver5

  • Pinguino’s IDE does not recognize P8 driver and we need to install ‘real’ Pinguino driver.
  • However, Pinguino driver is an unsigned driver so in Windows 8 and Windows 10 we need to disable driver enforcement signature. Follow this link to disable the enforcement.
  • Next, go to “C:\Program Files\LibUSB-Win32\bin” and click “inf-wizard“. If user does not see this folder, please refer to here and follow the steps.
  • Press again the reset button after “inf-wizard” appears and select the following item.
  • There is another pop-up to ask user to save the  .inf driver file. Create a folder name “P8_driver” in “C:\pinguino-11“. Save those .inf file in that folder.

driver4

  • Do not click “Install Now” after the saving, click “Done” instead.
  • Goto Device manager and right click “P8“. Select “Update driver software“.
  • Select “Browse my computer for driver software” and then point to the directory/folder that save .inf files just now. Click “Next“.

driver6

  • There is a warning box pop-up. Select “Install this driver software anyway“.
  • User will see P8 driver in Device manger change to known driver under “libusb-win32 device“.

driver7

  • Now user is ready to program chip using Pinguino IDE. check this out in link below.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s