I've done it again


Closed Thread
Results 1 to 17 of 17

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Code:
    @    __CONFIG _HS_OSC & _LVP_OFF
    You must make sure you PGM jumper settings are right too.
    Last edited by mister_e; - 9th April 2008 at 17:35.
    Steve

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

  2. #2
    Join Date
    Mar 2008
    Posts
    79


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post

    You must make sure you PGM jumper settings are right too.
    Umm not to appear TOO blonde, but what Jumper settings?
    I'm using this easypic5 development board, with the Picflash programmer software and Microcode Studio version 3.0.0.5

    All I do is plug the USB cable into the board and program the chip?

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


    Did you find this post helpful? Yes | No

    Default

    I don't have the EasyPIC 5... but his ol' version 4

    let's see the programming jumper in the following PDF

    http://www.mikroe.com/pdf/easypic5/easypic5_manual.pdf

    look at page 12. PIC16F877A use RB5 for PGM, your jumper group (J10) must be set exactly as they show.

    and then you also have to make sure the Socket Selection one are also properly set. PDF page 13, figure 12.

    Next.. figure 14... MCLR as RESET.

    Next.. figure 15 OSC jumpers

    now you can also set your Pull-up/Down resistor with with your dip switches and jumper located on the right of your board.
    Steve

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

  4. #4
    Join Date
    Mar 2008
    Posts
    79


    Did you find this post helpful? Yes | No

    Default

    OMG Your a star
    It now programs as well as compiles and i dont have to start Picflash manually
    However I've still got the problem of trying to set hs_oscThe only way I can set it is manually with the picflash program, I cant find any way they Microcode studio will let me set it in the program

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


    Did you find this post helpful? Yes | No

    Default

    i suspect you have an overwrite error message?

    read again the thread i suggested.. post 5

    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    euh, just to make sure of everything... notice the few spaces i've added between @ and __CONFIG...
    Steve

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

  7. #7
    Join Date
    Mar 2008
    Posts
    79


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    euh, just to make sure of everything... notice the few spaces i've added between @ and __CONFIG...
    Yep copied and pasted it to eliminate errors in my typing

    However your right, its coming up with Error[118] Overwriting previous address contents (2007)

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