Pic Start Plus Help


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2004
    Location
    nebraska
    Posts
    79

    Default Pic Start Plus Help

    Hello
    Im having problems programing a Pic 18F458 chip using Pic Start Plus. I just bought the Pic Start Plus to use and I cant seem to get it running. I have been using a picQuik programmer for the last couple of years and have had no problems with it.

    here is the complete example code I tried to use just to make sure the picstart was working

    pause 1000
    trisb = 0
    portb = 1

    I use microcode studios and PBP 2.46
    When I open the Hex file in MPLAb 7.41 and program it says that it worked and verified. But chip does nothing.

    When I program the hex code into the chip with my Picquick it works.

    I thought maybe in MPLAB I was not getting the config bits to program but it appears when you hit program it programs everything to the pic.

    If I put this Code in Microcode compile and then load hex file with MPlab it works.

    Pause 1000
    TrisB.1 = 0
    PortB.1 = 1

    Please Help
    Is there an include file that I am suppose to be using in my microcode program.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default

    Hi,
    So, is the problem with PICStart/MPLAB or with one of your posted code snippets?

    Microcode studio will automaticly include the device specific file(s) based on which device you select in the drop-down list in MCS. You can then either set the config fuses in your program (search the forum for info) or set them manually in MPLAB.

    In MPLAB: Enable the PIC-start, select the desired device and import the .hex file. Now goto Configure/Configuration bits and check that everything is as it's supposed to be, then program the chip.

    /Henrik Olsson.

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    try this

    Code:
    pause 1000
    trisb = 0
    portb = 1
    here:goto here
    so your code does not go off into no-where (I am not sure what your other programmer does with the unused space but, depending on your MPLAB settings, you may have stuff there)
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  4. #4
    Join Date
    Dec 2004
    Location
    nebraska
    Posts
    79


    Did you find this post helpful? Yes | No

    Default

    Thanks you guys.
    It was late last night while I was working on it and my code was supposed to be simple to make sure it was working. Problem is Portb = 1 would make portb.0 = 1 and the rest of portb 0's. Im not using portb.0. Thanks for you help though. I'll try to get more sleep before I ask another stupid question.

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


    Did you find this post helpful? Yes | No

    Default

    <table><td>don't worry about that... it happen to everybody one day or another</td><td></td></table>
    Steve

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

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. Pic driven digital audio delay
    By skimask in forum Off Topic
    Replies: 12
    Last Post: - 19th April 2007, 20:42
  4. LINX RF module and PIC (#2)
    By Michael in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd January 2006, 17:56
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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