MicroCode Studio & WINPIC - fuses not set correctly


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default MicroCode Studio & WINPIC - fuses not set correctly

    Hello,

    If some of you use MicroCode Studio & WINPIC, maybe you can tell me how to set some fuses for a 16F88.

    I can't set the HS_OSC fuse in MCS; doing so, WINPIC will stay in LP. But setting this fuse to INTRC_OSC_NOCLKOUT in MCS, WINPIC will accept it and set it accordingly.

    What's the trouble?

    Furthermore, trying to set both FCMEN_OFF and IESO_OFF won't work. WINPIC will always show them as Enabled.
    <table border=0><tr><td><img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2155&stc=1&d=119610997 6"></td><td>
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2154&stc=1&d=119610997 6"></td></tr></table>
    Attached Images Attached Images   
    Roger

  2. #2
    Join Date
    Jul 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default

    Hi,


    I've got some strange behavior from Winpic too. Actually, I'm using both winpic and winpic 800 (www.winpic800.com) depending of which PIC I'm programming. This may sound strange but I think that you should give a try to winpic800. For me winpic is better with PIC18F4620 while winpic800 is good for PIC18F4331.

    J-P

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


    Did you find this post helpful? Yes | No

    Default

    There's always good reason why stuff like those above are free... How about stop wasting your precious time and waste <$50 to buy a decent programmer such as PICKIT 2 ?

    Now you can launch it within MCS
    http://www.picbasic.co.uk/forum/show...71&postcount=4
    Steve

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

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Hello Mister_e,

    I do actually have a PicKit2...

    Why do I continue to use WINPIC and my programmer then?

    I use the "connect target" functionality of WINPIC. At the start of the programming process, WINPIC will activate a relay on the programmer connecting all wires physically to the PIC. After the "burning" process is done, WINPIC disconnects all wires from the PIC.

    This is very usefull when making lots of programmig tests.

    Can I achieve this with my PicKit2 too? If yes, how?
    Roger

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


    Did you find this post helpful? Yes | No

    Default

    mmm, As long as a ICSP implementation is impossible/not safe, which is possible, i see probably 2 way,
    1) alter the PicKit Code to add an output
    2) do a dedicated application which will do it for you (toggle whatever pin on the serial port DTR or else, launch PICKIT 2 command line, toggle PIN again)

    but yeah, this require a little programming on the PC side. Interesting option so far.

    i didn't trace the PICKIT output sequence, maybe there's way to do it and don't alter the timing... something to work on one day i guess.
    Last edited by mister_e; - 28th November 2007 at 01:02.
    Steve

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

  6. #6
    Join Date
    Jul 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by flotulopex View Post
    I use the "connect target" functionality of WINPIC. At the start of the programming process, WINPIC will activate a relay on the programmer connecting all wires physically to the PIC. After the "burning" process is done, WINPIC disconnects all wires from the PIC.

    Hummm, using a bootloader may be more appropriate in this cas, don't you think?

    J-P

  7. #7
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    In the PicKit2's shema, I can see i.e. that pin18 is not used.

    How difficult would it be for a programmer to add a kind of "connect target" function in the program?

    It should just pull a port high half a second before starting the burning process and go back low at the end.

    The programmer's software is available here.

    I'll need a second life to learn C+...

    NB: does this make maybe sense to open a new thread for this kind of requests?
    Roger

Similar Threads

  1. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 07:57
  2. Microcode studio - PIC16F877A Interrupts
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th January 2009, 06:10
  3. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 01:18
  4. Setting Fuses using Microcode Studio Plus
    By NO2K in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 18th May 2007, 23:14
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

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