PIC18F got some weird problem?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Penang
    Posts
    40


    Did you find this post helpful? Yes | No

    Default thats..

    I use 22pf npo 7 grade cap.Mmm..it's fine..

    Hey,you mentioned about the stack overflow right.Mmmm..Does that always come in a way to this sort of problem.I don't think so.I always set LVP off as this is not the "J" type PIC.

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


    Did you find this post helpful? Yes | No

    Default

    F... weird. Did you also erase the PIC before programming it?

    Once programmed, read it back, and look the config fuses haven't change to something else.

    There's some days like that...

    Did you also tried to program your PIC in circuit?

    I always set LVP off as this is not the "J" type PIC.
    Sorry but it has nothing to do with the J type... or, HEHE i misunderstood something awhile back
    Steve

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

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Do you leave the Epic plugged into the board.

    With mine, if I turn on a fluorescent light nearby, it'll reset the PIC.
    If it's unplugged, it doesn't happen. But normally I just leave it plugged in and ignore the resets.

    Also had a screen saver that does something to the parallel port when it activates. It resets the pic too. Stopped using that screen saver.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    I already heard some strange stuff... but a screen saver that poll the parallel port

    So their XP printer polling PATCH didn't solved the problem?
    Steve

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

  5. #5
    Join Date
    Jun 2005
    Location
    Penang
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Alright!!

    Hey yo steve and darrel,

    It's working.I add some config on the inc file (STACK OVERFLOW & LVP OFF)(and that's weird too why that thing come in my way?) and it's working.So do goes for the SPI.It never jump to main loop this time.Thanks a lot guys.I safely blinked the LED'S this time.Talk about screen saver polling LPT's,geee..that's freaky.Lucky for me,i disable screen savers as i hate one =>.But the flourescent,is that for real?.Cuz i do work or test anything i do with my only one table lamp thats couple of inches away from my project desk.I don't face that kind of problem and especially 'resets' on pic?.Hmm..for sake i gotta bear in my mind.But i face a 50hz distortion ( using fluke dmm) but i knew that's a AC current nearby but i do re-calculate.Beside,the nature of flourecent driver (balast ,starter e.t.c) is more toward crude stuff.

Similar Threads

  1. pic18f analog comparator problem
    By david.silaghi in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th May 2009, 10:38
  2. Weird code problem
    By Navaidstech in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2009, 12:16
  3. Weird Problem
    By isaac in forum General
    Replies: 9
    Last Post: - 22nd September 2008, 20:30
  4. Weird problem with 12F629
    By martarse in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th May 2005, 08:15
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 02:08

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