PIC18F4550 rebooting


Results 1 to 5 of 5

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    It sounds like the Stack is overflowing.

    If the Timeout is being detected inside a subroutine. Make sure that it doesn't GOTO somewhere outside the subroutine.

    Preferably, it should goto a label just before the RETURN for that routine. Or, just return directly from that spot.

    Or, you can GOTO another routine to handle the timeout, ONLY IF that routine has a RETURN at the end

    Bruce explained how it can work on a 16F and not on an 18F in this post
    http://www.picbasic.co.uk/forum/show...=2686#post2686
    <br>
    Last edited by Darrel Taylor; - 26th September 2005 at 22:46.
    DT

Similar Threads

  1. Replies: 18
    Last Post: - 4th July 2017, 14:26
  2. PIC18F4550 Error[128] Missing Arguments
    By damalu in forum mel PIC BASIC
    Replies: 9
    Last Post: - 17th November 2008, 21:47
  3. pic18f4550 & pic16f84a serially ?
    By amenoera in forum Serial
    Replies: 0
    Last Post: - 1st March 2008, 10:51
  4. Replies: 5
    Last Post: - 26th March 2006, 19:26
  5. pic18f4550 & VB6 ... help meee!!
    By lentz in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th March 2006, 17:27

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