Self update of devices


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116

    Default Self update of devices

    I am sorry if this has been covered before but cannot find it.

    I want to add support to Microcode Studio and PBP for the 16F727 device (relatively new).

    Most of the registers are common with other chips, but how can a new .inc file make the Microcode studio and PBP aware of the new file?

    I wish they updated the files more often...

    Ioannis

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Hi, Ioannis


    ;************************************************* ***************
    ;* 16F727.INC *
    ;* *
    ;* By : Leonard Zerman, Jeff Schmoyer *
    ;* Notice : Copyright (c) 2008 microEngineering Labs, Inc. *
    ;* All Rights Reserved *
    ;* Date : 04/21/08 *
    ;* Version : 2.50b *
    ;* Notes : *
    ;************************************************* ***************
    NOLIST
    ifdef PM_USED
    LIST
    include 'M16F72x.INC' ; PM header
    device pic16F727, XT_osc, wdt_on, protect_off
    XALL
    NOLIST
    else
    LIST
    LIST p = 16F727, r = dec, w = -302
    INCLUDE "P16F727.INC" ; MPASM Header
    __config _CONFIG1, _XT_OSC & _WDT_ON & _CP_OFF
    NOLIST
    endif
    LIST

    #define EEDATA PMDATA
    #define EEADR PMADR
    #define EEDATH PMDATH
    #define EEADRH PMADRH
    #define EECON1 PMCON1
    But, I keep on thinking Downloading the PBP 2.50 "C" PATCH wouldbe simpler than pasting that file into your directory ...

    PICBASIC PRO(TM) Compiler 2.50c, (c) 1998, 2008 microEngineering Labs, Inc.
    regards

    Alain, who posted a while ago about this the new relase ... Never read Friend's Posts ??? Booooooooooooooooooooooo !
    Last edited by Acetronics2; - 30th April 2009 at 09:29.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default

    Sorry my dear friend, I guess I missed that post! I also did not notice that there is new patch for the compiler. Sure I will update soon. Now where did I put that receipt....

    One more. I tried to edit the .ini file in the Microcode studio directory,but seems it has no effect on the menu selection. It still shows the same PICs as before the edit. Any tip on this?

    Thanks,
    Ioannis
    Last edited by Ioannis; - 30th April 2009 at 10:03.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I just tried it myself here and, it seems the latest version of MCS don't care if you add device in the pic.ini list. So in theory, MCSP should scan the .INC file in your PBP folder and build a list automatically.
    Last edited by mister_e; - 30th April 2009 at 11:53.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default

    Hm, intersting. Yes, it searches the PBP file for the *.bas of the relevant PIC and not the .inc.

    I made a copy of file, changed to *aa.bas and voila! It showed up in the drop down list.

    This means that when you update the PBP Compiler, you have Microcode already updated!

    Nice.

    Ioannis

  6. #6


    Did you find this post helpful? Yes | No

    Default

    I'm using PICBASIC PRO™ version 2.45. Is there a way to add support for the PIC16F727? I don't see it in the drop down in MCS 3.0.0.5.

    ~ Dave

Similar Threads

  1. Composite USB Devices
    By Kamikaze47 in forum PBP Wish List
    Replies: 11
    Last Post: - 18th May 2008, 07:51
  2. Update your HyperTerminal !!
    By Darrel Taylor in forum General
    Replies: 7
    Last Post: - 25th November 2007, 20:26
  3. Melabs PIC Basic Pro - 16 bit devices support
    By rod27cn in forum PBP Wish List
    Replies: 10
    Last Post: - 21st November 2007, 08:21
  4. Two USB devices with same software, easyHID
    By Josuetas in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st October 2007, 06:19
  5. How can I update my compiler 2.46 to 2.47 ?
    By muskut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd June 2007, 12:35

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts