Menu

PIC16F15376 Xpress Evaluation Board

zl1hb
2017-11-08
2018-01-21
  • zl1hb

    zl1hb - 2017-11-08

    Hi
    I am thinking of purchasing the new PIC16F15376 Xpress Evaluation Board (DM164143). What changes would be required in the XpressLoader or flashPIC.bat file? (A different XpressLoader.exe ?)

    Further, I would like to flash my Curiosity 8-bit starter board. How to achieve that (A new CuriosityLoader.exe ?)

    Cheers

     
    • Anobium

      Anobium - 2017-11-08

      The board should work 'out of the box' if Microchip have used the same USB driver. Do try and we can resolve anyway.

      What part number is the Curiosity 8-bit starter board? What is the issue? Will it not flash?

       
  • William Roth

    William Roth - 2017-11-08

    @zl1hb,

    There are 2 basic ways to program a PIC microcontroller using GCB and the Curiosity board. One way is via the on board programmer (PKOB) the other is with an external Pickit 3 programmer.

    Have you read/studied the Curiousity Development Board User Guide?

    Which methods have you tried?

    The more information you provide us the better we can help.

    William

     
  • viscomjim

    viscomjim - 2017-11-08

    zl1hb, I have a couple of the DM164141 boards coming on monday. These use the pic16f18345 on board but is still an express board. I will post once I recieve them if the XpressLoader works on these. Hopefully all will work great!!!!

     
  • zl1hb

    zl1hb - 2017-11-10

    Anobium,
    Curiosity part number is DM164137, it came with a PIC16F1619.
    Issue is that it will not flash : "GCB flashPIC.bat can't find Xpress board.

    I am using "XpressLoader\XpressLoader.exe" %1 in the flashPIC.bat file

    Also note that the Curiosity board uses low voltage programming, so the LVP bit must be set.

    William, I would like to program with the on board programmer.
    MPLAB X programs the Curiosity board with no problems.

     
  • William Roth

    William Roth - 2017-11-10

    @zl1hb

    I doubt that XpressLoader will work with any Curiosity board. XpressLoader I think is specifically for the Xpress Board(s).

    You will need to use MPLAB IPE command line, calling the PKOB programmer on the Curiosity board.

    1. If you have not yet done so, install MPLABX IPE. I recommend installing to the default location.
    2. Edit your FlashPic.bat file with the following line as the active line.

    "C:\Program Files (x86)\Microchip\MPLABX\v4.01\mplab_ipe\ipecmd.exe" -TPPKOB -P%2 -M -F%1 -OL

    This is the line I use for Curiosity LPC when not using a PK3. If you have installed MPLABX in any other location than above, the modify the line to reflect the correctl location and version. The latest version is 4.05. I would not recommend using any version below 4.01.

    To understand the command line switches open the readme for IPE. It should be in the location below.

    C:/Program Files (x86)/Microchip/MPLABX/v4.01/docs/Readme for IPECMD.htm

    Cheers

     
    • Anobium

      Anobium - 2017-11-10

      This draft blog may be useful. This is a draft but it explains a bit of the history of the PicKit and the traps and resolutions for the traps.

      I should complete this document as I have not covered the PicKit3 Open Source Software or the PicKit Chip File Editor.

      I am sure you will let me have feedback on corrections and errors.

       
  • viscomjim

    viscomjim - 2017-11-11

    Hi zl1hb, on that board PIC16F15376 Xpress Evaluation Board (DM164143), set the pps to use the following pins for tx and rx and it should work perfectly.

    TX = RB6
    RX = RB7

    I had success with the pic16f18345 xpress board, so your board should work using the xpress loader batch.

     
  • zl1hb

    zl1hb - 2017-11-11

    Some progress!
    I am now able to program the 16F1619 in GCB and flash the Curiosity board with MPLAB IPE
    Cheers

     
  • William Roth

    William Roth - 2017-11-11

    @zl1hb

    Please tell us what worked so that we know.

    Thanks

     
  • zl1hb

    zl1hb - 2017-11-12

    William,
    I can program the 16F1619 in the Curiosity board by loading the .hex file in MPLAB IPE but not yet from the GCB IDE.

    The Curiosity board is recognised by the IPE as "PKOB SKDE S.No:BUR163471392" so I edited the flashPIC.bat file with: C:\Program Files (x86)\Microchip\MPLABX\v4.01\mplab_ipe\ipecmd.exe" -TSBUR163471392 -P%2 -M -F%1 -OL

    This is the result:
    Program assembled successfully!
    *** flashPIC.bat ***
    'C:\Program' is not recognized as an internal or external command, operable program or batch file.
    ERROR running: "C:\GCB@Syn\G+Stools\flashPIC.bat" with parameters "C:\GCB@Syn\GreatCowBasic\Demos\Test\16F1619-Blink.hex" 16F1619

    Any suggestions?
    Thanks!

     
    • Anobium

      Anobium - 2017-11-12

      Have a look at this document - the last page explains how to set up a link rather than struggle with the long files names of MPLAB.

      https://sourceforge.net/p/gcbasic/discussion/596084/thread/51bf1054/d158/ad15/attachment/PicKit%20v0.9a.pdf

       
    • William Roth

      William Roth - 2017-11-12

      Suggestions?

      Yes, try the line in my post above that is known to work. This assumes that you installed MPLAB in the default folder and that you are using. 4.01. The path must be exact in the batch file.

       

      Last edit: William Roth 2017-11-12
  • William Roth

    William Roth - 2017-11-12

    I tried the serial # method and it works fine. Here is my line in FlashPic.bat.

    "C:\Program Files (x86)\Microchip\MPLABX\v4.01\mplab_ipe\ipecmd.exe" -TSBUR162121784 -P%2 -M -F%1 -OL.

    Use this line as a template but change the serial # to match yours.

    The error you are getting suggests that you may have ommitted the quotes.

    You MUST have quotes both before and after the Path/filename. In your post above one set of quotes are missing. This should work for you.

    "C:\Program Files (x86)\Microchip\MPLABX\v4.01\mplab_ipe\ipecmd.exe" --TSBUR163471392 -P%2 -M -F%1 -OL

     

    Last edit: William Roth 2017-11-12
  • zl1hb

    zl1hb - 2017-11-13

    Success at last! My total oversight is that after upgrading to MPLABX ver4.05 the flashPic.bat line should of course have been:

    "C:\Program Files (x86)\Microchip\MPLABX\v4.05\mplab_ipe\ipecmd.exe" --TSBUR163471392 -P%2 -M -F%1 -OL

    Many thanks William and Anobium for your assistance, GCB is fantastic!

    viscomjim, I should get my PIC16F15376 Xpress Evaluation Board (DM164143) soon and let you know how I am going.

    Cheers

     

Log in to post a comment.