A header wizard


Closed Thread
Results 1 to 40 of 230

Thread: A header wizard

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    well Dave,

    as it appears I have you at least intrested, do you have any ideas on how to use the wizard? I mean as a plugin, stand alone ....
    -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!

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


    Did you find this post helpful? Yes | No

    Default

    I was thinking something along the lines of SQL with a web interface (python of course).

    To add data a form page would be used, so we will need to figure out what all this thing should do so a standard form can be used. Might have to have a couple standard forms, 16Fs and 18Fs.

    Then a form for to set the parameters for the header.

    Just a bit of planning to do.

    Anyone else with ideas?
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Maybe fuse configuration would be a good place to start?
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    And after we set up all the necessary little things on the form, Microchip(c) wll make this tiny change and screws everything

    OK, I am joking, but the Form/SQL may have to be prepared for such a case.

    Fuse settings is a good starting point as there is a lot of confussion on this. Every time I change a chip I have to scan the fuse settings which arfe not very obvious sometimes.

    Ioannis

  5. #5
    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 Ioannis View Post
    And after we set up all the necessary little things on the form, Microchip(c) wll make this tiny change and screws everything

    OK, I am joking, but the Form/SQL may have to be prepared for such a case.
    Go from depreciated to inflated...
    We may have to make a script for that.
    Fuse settings is a good starting point as there is a lot of confussion on this. Every time I change a chip I have to scan the fuse settings which arfe not very obvious sometimes.
    You too? My last big problem was a fuse mistake.
    Give me a day or two and I will try to get something started.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    What a coincidence Dave, yeah me too. Embarrased to confess it...

    Ioannis

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


    Did you find this post helpful? Yes | No

    Default

    If by fuse bits, you guys mean the config bit, I'm not too embarrassed to confess. I have spent hours trying to debug code that doesnt work anymore. Just to realize I didn't set the clk in the settings part of mplab.

    So That is a big part of what I hope this will resolve.

    I think a database approach is great! To be clear, I won't be any help in its development besides being a tester. I have plenty of experience with lotus notes, but thats about it. I will learn if anyone wants to point me in the direction of the starting point for python. But my startup time may well exceed the time it takes for you pro's to be done.

    So I will take a stab at how I see the "work flow" of writing a new PBP program:

    click the wizard icon to start the wizard
    upon it opening, choose an existing device,create new device, or check for updated db
    existing device:
    page 1 has config stuff like clk, wdt, etc
    next page could be hardware stuff like mccp,a/d,esuart,etc
    next page port assignment and I/O choices. also IOC and WPU on this page
    next pages, everything else I can't think of right now.
    finally after a zillion clicks, hit "print" or "Done" button and a text file is created to load into mcs

    check for updates:
    not much to say here, wizard will check for updated database

    create new device:
    form will follow the same format as using an existing device, except all options will be available. (does this make sense?)
    when done, option to upload to the master database


    A note about new device addition to the database. I feel like a new device should have some sort of flag with it indicating it is new and possibly not complete. This flag should ride with it until such time as it is blessed by some (ideas here?) verification method. This is just to try and prevent any badly built entries from corrupting the database.
    The method could be 5 unique users "appove" it. This would get reported back to the master copy of the database.

    My vote is to be able to have a local copy of the database so we are not dependant on web access to use the wizard.
    -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!

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