A header wizard


Closed Thread
Results 1 to 40 of 230

Thread: A header wizard

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Guys

    has someone tried CCS, Flowcode, WIZ-C or The Cypress Psoc Express ???

    Worth the look ...

    Alain
    Never heard of them..
    What do they do?
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Never heard of them..
    What do they do?
    Hi, Dave

    Those 4 "C" PIC compilers have really really nice advanced config Wizards ... BTW ... I forgave CodeWarrior " Processor Expert " for Moto ... euhhh Freescale processors.

    May be CCS is the " Weakest " of all ( but one can add custom peripheral drivers ... shhhht ! ) ... and it's not so bad !!!
    WIZ-C is really astonishing ...

    Alain
    ************************************************** ***********************
    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
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Alain,

    Do any of them save the configs to code or do they modify the hex at program time?
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Alain,

    Do any of them save the configs to code or do they modify the hex at program time?
    Dave,

    I don't know about the different software packages that Alain is talking about. But, in case that you might want to know the MELAB programmer software modifies the code at programming time. It does not include the PIC configs in the code that you are writting.

    I downloaded the MPLAB C18 demo version and I will be playing with it pretty soon. I will let you if this "C" software has any tools to help you set the PIC configs.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Alain,

    Do any of them save the configs to code or do they modify the hex at program time?
    Ok, Dave
    ... a quick look seems to show they directly produce the full Hex code @ compile time ... ( no intermediate files )

    The only one I saw you can easily access the configs values ( Hex given ) for each register is MkE IDE ... ( see some posts above )

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    A very small start.
    http://wiz.mackrackit.cambs.net/
    I will post a project log and any code used at the above address if anyone want to work on it.
    If you have suggestion or code lets play. I will work on it as time permits.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Dave, you are awesome! I see you must be working from an older copy of mplab? I had to update in order to have support for 16f1946. If you want, I can send you my *.inc files.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  8. #8
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Ioannis sent the incs from version 8.5 .
    I just have not moved them into the project directory yet, ooppss.
    Thanks for the reminder.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    A very small start.
    http://wiz.mackrackit.cambs.net/
    I will post a project log and any code used at the above address if anyone want to work on it.
    If you have suggestion or code lets play. I will work on it as time permits.
    more from the novice:
    Followed the link, played with the button. Not sure how to access the .py scripts. If I right click and choose view source, all I see is the html source for the page. What am I missing?
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  10. #10
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by cncmachineguy View Post
    more from the novice:
    Followed the link, played with the button. Not sure how to access the .py scripts. If I right click and choose view source, all I see is the html source for the page. What am I missing?
    Well... That is all there is at the moment

    The .py that the HTML button page triggers is in red on the first page. The HTML with the button sends info to the .py then the .py produces a web page with the results.

    The HTML part that gets it going
    form action="/cgi-bin/ChipDrop.py" method="post" target="_blank">
    select name="ChipSel">
    --SNIP--

    Then the Python code picks it up here
    # Get data from fields
    if form.getvalue('ChipSel'):
    subject = form.getvalue('ChipSel')
    else:
    subject = "Not entered"


    So all I have is the HTML and one py script to display the config options.
    BTW.
    I used this to help generate the HTML. No way I typed all of that..
    Code:
    #!/usr/bin/python
    import os
    import re
    import string
    path="fileS"  # insert the path to the directory of interest
    dirList=os.listdir(path)
    for fname in dirList:
        str = fname
        tx = str.strip('.INC');
        sep = ''
        list = ['<option value="fileS/',str,'">',tx,'</option>']
        print sep.join(list)
    Dave
    Always wear safety glasses while programming.

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