Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: tumbleweed; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    I don't need the editor to work or anything... just be able to compile and load it so I can debug, even at the asm level.
    I thought that part still worked, but maybe I'll try treating it as an asm...
  2. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    Not really that I can think of.

    I thought I'd try and load it into MPLABX so I could debug it, but it's been so long since I've used it w/PBP I can't seem to get the two so I can build and debug...
  3. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    On the Q43 (and most recent PIC18's with the VIC), the SFR registers have been moved down in memory starting at BANK 0,
    so general purpose RAM no longer starts there. The access bank used to be part...
  4. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    From what I can tell the basic interrupt structure looks to be ok.
    Unfortunately, the way the various files are written, all of the ReEnterPBP routines don't appear in the .lst files, so it makes...
  5. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    In your main file you need to uncomment the 'define use_lowpriority' and rearrange the DT-INTS setup section.

    Try:


    ' ---------- Set up DT_INTS-18 Routine for Instant Interrupt handling ...
  6. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    Oops, that one's on me! I forgot that they re-arranged things with the new VIC module and there's only GIE/GIEH and GIEL.
    You can just kill that line.


    I'm gonna have to take a closer look at...
  7. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    ... and one I forgot.

    In your Timer0_Count routine, stop messing around with the PIE bits. You can't get another TMR0 interrupt while you're already inside the ISR.


    Timer0_Count:
    '...
  8. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    I don't see anything wrong with ReEnterPBP-18LP.bas, but there are a few other things I noticed.

    First off, as I said, you can't have just a low-priority interrupt.
    If you don't define a...
  9. Replies
    25
    Views
    36,198

    Re: PIC18FxxQ43 Version of DT_INTS

    Could be, but I don't have any PBP version even remotely up to date to test it with.

    Could you post the .lst and .hex files that go along with that?

    One thing I never see... the INTCON0.GIE bit...
Results 1 to 9 of 9