Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    772
    Views
    597,578

    Walter, Try this. It gives you a lot smaller...

    Walter,

    Try this. It gives you a lot smaller table by packing two bytes into each word space. If you stick with the RETLW approach just uncomment the addwf WREG.



    ASM
    SineTable
    ...
  2. Replies
    772
    Views
    597,578

    Hi Ioannis, Strange. It compiles fine for me....

    Hi Ioannis,

    Strange. It compiles fine for me. Tried it with the old & new versions of DT_INTS!
  3. Replies
    772
    Views
    597,578

    Did you forget these? INCLUDE "DT_INTS-14.bas"...

    Did you forget these?

    INCLUDE "DT_INTS-14.bas"
    INCLUDE "ReEnterPBP.bas"
  4. Replies
    772
    Views
    597,578

    The major issue you have with the Diolan loader...

    The major issue you have with the Diolan loader is that it has Enhanced CPU mode
    enabled. I.E. XINST = ON.

    So code compiled with PBP simply is not compatible, and will not run on the PIC as...
  5. Replies
    772
    Views
    597,578

    With the Diolan USB loader; I would contact...

    With the Diolan USB loader;

    I would contact the author of your loader for help. His loader has extended instruction set enabled, and I don't think you're going to get PBP working on it with this...
  6. Replies
    772
    Views
    597,578

    Pheeeewwww! I do NOT like that loader at all. ...

    Pheeeewwww! I do NOT like that loader at all.

    I put one together for you here using the Microchip USB HID boot-loader. Give this one a shot. It works 100% with DT_INTS-18.

    I modified the...
  7. Replies
    772
    Views
    597,578

    I've never used this loader, but I did take a...

    I've never used this loader, but I did take a quick peek at the source files.

    Try this;


    DEFINE OSC 20
    DEFINE RESET_ORG 0x800

    INCLUDE "DT_INTS-18.bas" '...
  8. Replies
    772
    Views
    597,578

    Does it work if you disable A/D on RB0?

    Does it work if you disable A/D on RB0?
  9. Replies
    772
    Views
    597,578

    I just compiled your code in MCS, then opened the...

    I just compiled your code in MCS, then opened the .asm generated in MPLAB, selected
    the 18F1220, and clicked the Quickbuild option, and it worked fine. Odd way of doing it,
    but it did work.

    Can...
  10. Replies
    772
    Views
    597,578

    Those are the errors I was asking about. If you...

    Those are the errors I was asking about. If you can just setup PBP to work from within MPLAB you really will save yourself a TON of time & headaches.

    Show me the errors you get (when PBP is setup...
  11. Replies
    772
    Views
    597,578

    You have PBP setup in MPLAB as the language tool...

    You have PBP setup in MPLAB as the language tool as shown here: http://melabs.com/support/mplab.htm and you still get the same errors?
  12. Replies
    772
    Views
    597,578

    What errors do you get when trying to compile...

    What errors do you get when trying to compile from within MPLAB?
  13. Replies
    772
    Views
    597,578

    See this page: http://melabs.com/support/mplab.htm

    See this page: http://melabs.com/support/mplab.htm
  14. Replies
    772
    Views
    597,578

    If you're using MPLAB with PBP just setup PBP as...

    If you're using MPLAB with PBP just setup PBP as a language tool in MPLAB. There's no
    reason to compile in MCS, then import the .asm produced and assemble it again.

    Your PBP code has already been...
  15. Replies
    772
    Views
    597,578

    Are you compiling from MCS, then importing the...

    Are you compiling from MCS, then importing the .asm file into MPLAB, and trying to
    build it?
  16. Replies
    772
    Views
    597,578

    I think the default for channel 2 is Timer1...

    I think the default for channel 2 is Timer1 unless you use the DEFINE HPWM2_TIMER 2 option.
    Channel 1 defaults to Timer2 so you would still see this channel working when disabling Timer1.

    See if...
  17. Replies
    772
    Views
    597,578

    Use the MPASM assembler.

    Use the MPASM assembler.
  18. Replies
    772
    Views
    597,578

    Go like splat ehh...;o}

    Go like splat ehh...;o}
  19. Replies
    772
    Views
    597,578

    Hi Darrel, I've tested it on a Lab-X1 with...

    Hi Darrel,

    I've tested it on a Lab-X1 with 18F452. Timers 0, 1 and 3 hi-pri. USART rx
    low-pri, and it works as advertised...;o}

    P.S. I thought this was pretty slick;
    movff FSR#v(F)L,...
  20. Replies
    772
    Views
    597,578

    Nice work Darrel.

    Nice work Darrel.
Results 1 to 20 of 20