How to reset the pic by software ?


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    14

    Default How to reset the pic by software ?

    Hi

    I'm using pic 18f2455 and I want to reset the pic (goto 0) by software,
    I'm also using bootloader (microchip) and:
    DEFINE LOADER_USED 1 ' Bootlader is used
    DEFINE RESET_ORG 800h ' For Microchip USB Bootloader
    DEFINE INTERRUPT_ORG 808h

    When I use goto 0 (in asm) the program stack and I don’t know where,
    I tried to clr the PCL, PCLATH and PCLATU , but it didn’t work.

    Dose any one know hot to do this?

    Thanks
    Shamir

  2. #2
    Join Date
    Mar 2005
    Location
    Magnolia, TX
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    You can use:

    @ RESET

  3. #3
    Join Date
    May 2006
    Posts
    14


    Did you find this post helpful? Yes | No

    Default So easy, now I'm sure that I have lot to learn....thanks

    Thanks you

Similar Threads

  1. IC12F508 with Internal Oscillator and Software Reset
    By karan123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd October 2009, 16:13
  2. Pic reset and following lock up problem
    By zerosvarka in forum General
    Replies: 19
    Last Post: - 17th June 2009, 20:03
  3. pic reset sometimes
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd January 2008, 17:27
  4. pic software
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th December 2005, 07:08
  5. PIC problem, ways to do reset
    By lab310 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th May 2005, 14:31

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