MIBAM and 12F1822...


Results 1 to 28 of 28

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: MIBAM and 12F1822...

    Ok, here's the modification of MIBAM for use with 16F1's.
    It also works with 14-bit cores (12F, 16F) and 18F's.

    I've tested it on 16F1827, 16F1947, 16F877A and 18F4550.
    Sorry, I don't have a 12F1822.

    One problem I spent a lot of time trying to figure out ended up being caused by the statements ...

    T1CON.0 = 0 'disable mibam
    T1CON.0 = 1 'enable mibam


    I really thought that would work to stop interrupts from occuring during the DEBUG statements.
    But it turns out that 1 interrupt can still happen after you stop the timer.
    I have yet to understand how that happens, but it does.

    If you use these statements instead ...

    GIE = 0 'disable mibam
    GIE = 1 'enable mibam


    then no further interrupts occur to disturb the DEBUG's.
    They are actions of the chips themselves, not MIBAM.

    MIBAM seems stable at this point, but let me know if you have any problems.
    Attached Files Attached Files
    DT

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts