Software Driven Reset Routine


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Steve,
    See: here
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    154


    Did you find this post helpful? Yes | No

    Default

    Cheers, Ralph i did see that thread. The only reason i asked is that after the 'reset', the program was behaving strange on some of the outputs. During a normal power-up, ie power added to device, it performs a short LED PWM routine. Where an LED is illuminated for about 1 second at a preset brightness level, say 25%. After the 1 second, the LED goes out.

    However, after the SoftwareReset routine has been activated, the same PWM routine is run, the LED is displayed at the 25% brightness, but instead of the then going out it stays on at full brightness, as if that PIN is now held High.

    Thats why i asked if i was missing something. Does it actually perform a 'proper' reset as if using the MCLR PIN? Or do i need to do something else? I didn't want to use the addition of another Port Pin to "write" PortA.X = 0 to make a software reset if could do it in code.

    Cheers,

    Steve

  3. #3
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Steve,

    as already mentioned, this is a "feature" of PWM
    see PBP Manual section 5.61
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



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. Software reset
    By leonel in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 28th May 2008, 05:48
  3. Software Stack
    By yasser hassani in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th December 2007, 10:04
  4. How to reset the pic by software ?
    By Shamir in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th October 2006, 16:43
  5. Interrut Driven Oscillator
    By barkerben in forum Code Examples
    Replies: 5
    Last Post: - 2nd January 2005, 00:22

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