Microchip remembering program

Discussion in 'Embedded Systems and Microcontrollers' started by kokkie_d, May 4, 2010.

  1. kokkie_d

    Thread Starter Active Member

    Jan 12, 2009
    72
    0
    Hi,

    I have written a program for a pic18F2480 and can run the program in debug mode attached to the computer so I can run basic tests. Now I think I am done debugging and want to load the final program onto the chip but I am not managing that.

    I tried debug and run in both mplab and hitide but the chip does not seem to remember my program. Does anyone know the simple solution (which I expect it is) to this problem?

    As mentioned, I can use both hitide or mplab.

    Yes, I am a newbie, does it show? haha

    Thanks in advance.
     
  2. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Did you set MPLAB to Release?
     
  3. kokkie_d

    Thread Starter Active Member

    Jan 12, 2009
    72
    0
    Thank you. When I read the "release" word I immediatly thought; A that's what I forgot.

    Cheers
     
  4. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Hope that does it. You could also try forcing debug to off
    DEBUG_OFF
     
  5. kokkie_d

    Thread Starter Active Member

    Jan 12, 2009
    72
    0
    Yeah, it works now. Thanks.

    probably had one of those moments I was staring at the debug window to long....
     
Loading...