Self update of devices


Closed Thread
Results 1 to 18 of 18
  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807

    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,614


    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
    3,807


    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
    3,807


    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

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You could try creating your own INC and BAS files - you 'might' be lucky and that could be all that was needed... but more complex features may have required changes to the core compiler itself. Try it and see... but upgrading is so cheap anyway, treat yourself to a Christmas prezzy...

  8. #8
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Not quite relevant to this thread, but it does concern Microcode Studio Plus. I've been using the 16F88X chips quite a bit, and would love to see MCSP ICD support for these. I wrote to Mecanique a couple of times but got no response.

    There was a thread pertaining to this issue http://www.letbasic.com/forum/showthread.php?t=4945 where David gave a link for an updated set of ICD files, but although the 16F88Xs are listed, they do not exist in the actual download.

    Is there a way to add this support oneself?

    Anand

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default

    Which compiler do you refer too??

    Ioannis

  10. #10
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    PBP 2.47, MCSP 3.0.0.5.

    Anand.

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default

    2.47 supports the F88x chips. This has nothing to do with MCS.

    If the compiler supports the PIC then so does MCS.

    Maybe your issue is something else. Are the *F88x.bas and *F88x.inc files present in your PBP directory??

    Ioannis

  12. #12
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    This has nothing to do with MCS.

    If the compiler supports the PIC then so does MCS.
    No, I think you've misunderstood the issue; I am referring only to the MCSP ICD capability for these chips.

    Anand

  13. #13
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default

    No I did not. MCS capability depends oin the compiler.

    Ioannis

  14. #14
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Including the MCS in-circuit debugging capability?

    Anand

  15. #15
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Are you using the PRO version or the freebie? I have the pro version and while I do not use it, it seems to support that PIC.
    Last edited by Archangel; - 24th December 2009 at 14:37.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  16. #16
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    MCS Pro.

    Does the folder "ICDModels" in your install have a file for 16F88x? Mine doesnt. Alphabetically sorted, after 16F877A mine jumps to 16F913.

    Regards,

    Anand

  17. #17
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ardhuru View Post
    MCS Pro.

    Does the folder "ICDModels" in your install have a file for 16F88x? Mine doesnt. Alphabetically sorted, after 16F877A mine jumps to 16F913.

    Regards,

    Anand
    "ICDModels" ? I just have a bunch of buttons like ICD Compile, RUN . . . that work when 16F88 is selected. Try the Online Updates from the View Tab. Maybe your version is too old. They have never charged me for an update either, only the initial purchase of the Pro version.
    Attached Images Attached Images  
    Last edited by Archangel; - 24th December 2009 at 17:23.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  18. #18
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    "ICDModels" ? Try the Online Updates from the View Tab. Maybe your version is too old. They have never charged me for an update either, only the initial purchase of the Pro version.
    I am referring to a folder called "ICDModels" within the main MCS Plus folder which contains .icd files for all the supported chips. I too have been able to update periodically after the initial purchase some years ago.

    The 16F88 never was a problem; its only the 16F886, 16F887 etc. that I'm referring to.

    Anand

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 : 1

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