Electronic Products
Find us here:
  • Chuck's Blog
    • Blog Posts Archive
    • Disclaimer
  • YouTube Channel
  • About Chuck
    • About Chuck
    • Stock Car Racing
  • Books
    • Embedded C Books >
      • cbookfiles
      • cbook2files
      • cbook3files
    • BASIC Books >
      • Programming PICs in BASIC_vol1
      • PICBasic Book Support
      • Basic Atom Book Support
    • Other Books >
      • Arduino Book
      • chipkitbookfiles
  • 3D Printing
    • Fabrikator Mini
  • Getting Started with PICs
    • BASIC Programming
    • C Programming >
      • C Compilers
  • Build Your Own PICKit 2
    • PICkit 2 Starter Kit
  • CHIPINO
    • Shields
  • CHIPAXE Breadboard Modules
  • Understanding Hex Files
  • chipKIT
  • Newsletter Archive
  • Contact
  • Retired Designs
    • BasicBoard
    • Ultimate OEM
    • Maximite BasicBox
    • Maximino
  • Downloads
  • Kickstarter Projects
    • Demo-Shield
  • Great Cow Basic Site
  • Buy Hardware
  • Links I Recommend

PK2 Updated Device File

3/7/2014

0 Comments

 
I have another PK2 programmer update for you. My PK2 design just got a little better. I wanted to try out the new PIC16F1788 in a CHIPINO module because I noticed that Great Cow Basic Compiler supported it. But I quickly realized that the latest device file for PICkit 2 didn't support it. So it gave me reason to try out the Device File Manager by user name Dougy83.
Picture
The device file manager is a great tool for updating the Device file for PICkit 2 (and my PK2). I used a PIC16F1784 which was supported and made a copy within the tool. Then I downloaded the PIC16F1788 programming spec to get all  
the custom details I needed to update the device file. A lot of the settings were the same but program space and device ID needed to be updated. I put everything in place and reviewed it a couple times to make sure I didn't miss anything and then created the device file. Then I had to wait 3 days  for my free Microchip PIC16F1788 samples to arrive. 

The parts arrived yesterday and I spent the evening testing it out. To my pleasant surprise it worked the first time. I was able to test several sample programs on the CHIPINO including files for my Demo-Shield and the DFRobot LCD shield. Everything worked great except the ADC. I found that the PIC16F1788 added a new differential feature that required a setup to the ADCON2 register. Great Cow Basic didn't handle this so a patch line of ADCON2 = 15 fixed the issue. The Great Cow Basic guys are already aware of the fix and will try to include it in the next release.

Bottom line is, I am now confident that I can update the PICkit 2 Device file so my PK2 may not ever run out of support for the new devices.
You can get the device file on my Build your own PICkit 2 page.
0 Comments



Leave a Reply.

    Sponsors


    Picture
    Picture
    Picture

    Advertise here for only $25 per month. 170x50 pixel add with graphics (similar to Howtronics above). 
    Contact us at our contact form for more detail.

    Categories

    All
    3D Printer
    Chipaxe
    Chipino
    Chipkit
    CNC
    Copper Connection
    Dot Matrix
    Elproductsnews
    Expresspcb
    Graphic Lcd
    Great Cow Basic
    Kickstarter
    Lcd Shield
    Makefaire
    Makercase
    Maximite
    Microchip Pic
    Pickit 2
    Pickit 3
    Videos

    Visit previous blog posts in the archives below.

    Archives

    February 2018
    October 2017
    September 2017
    July 2017
    November 2016
    August 2016
    July 2016
    May 2016
    March 2016
    January 2016
    November 2015
    September 2015
    August 2015
    July 2015
    June 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    October 2012
    October 2011

    RSS Feed



    About Chuck

    Chuck has been programming with PIC Microcontrollers since there were only five devices. Now there are over 700 and growing. He also has a lot of fun 3D printing designs using his Davinci 3D printer and TinkerCad software. In this series of blog posts and occasional videos on his YouTube Channel he tries to help you get started with electronics and 3D printing.

    Disclaimer

Powered by Create your own unique website with customizable templates.