16F15345 Won't Assemble (but does compile) - Page 2


+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    mjturner
    Guest mjturner's Avatar

    0 Not allowed!

    Default Re: 16F15345 Won't Assemble (but does compile)

    Thanks for the ideas. I guess it is up to Les to really fix this issue then.... :/

    Quote Originally Posted by tumbleweed View Post
    I can think of a few nasty kludges, but since you had to define some of the register symbols it looks like the libraries need some work for that device.

    One thing you could try as an experiment is to change the location of PIR1 in P16F15345.ppi
    Code:
    ;PIR1 EQU 0X070D
    PIR1 EQU 0X070F
    PIR2 EQU 0X070E
    PIR3 EQU 0X070F
    That'll make it look in PIR3 when it references PIR1, so UART1 RX should work. Of course, that'll break other things that really ARE in PIR1 so it's not really a fix.

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #17
    mjturner
    Guest mjturner's Avatar

    0 Not allowed!

    Default Re: 16F15345 Won't Assemble (but does compile)

    So a new issue... I just turned on the watchdog timer, and now i'm getting Symbol not previously defined (WDTCON) when it gets to the assemble stage.

    All I've done is enable the watchdog time and dropped from sleep / snooze commands in. This compiler is getting really frustrating...

    I've added the line WDTCON EQU 0x080C to the PPI file.... but the snooze is not working as intended, possibly because the registers are wrong? A snooze of 6 is supposed to sleep for 1.152 seconds, but it is happening much faster than that. So it is totally messing my program timings up!
    Last edited by mjturner; 26th August 2018 at 12:21.

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #18
    mjturner
    Guest mjturner's Avatar

    0 Not allowed!

    Default Re: 16F15345 Won't Assemble (but does compile)

    Gave up on using the built in snooze/sleep commands. Ended up just loading the register directly and calling the assembler command directly.

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Symbol not previously defined - Another assemble error
    By mjturner in forum Proton Plus Compiler v3
    Replies: 8
    Last Post: 10th December 2019, 00:46
  2. Compiles - but then fails to assemble
    By mjturner in forum Proton Plus Compiler v3
    Replies: 6
    Last Post: 11th February 2018, 16:00
  3. [SOLVED !] Proton full editio won't compile
    By LEDfan in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 31st December 2011, 17:03
  4. Why won't this compile?
    By g6osv in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 5th October 2010, 21:10
  5. Conditional Compile/Assemble commands
    By johngb in forum Wish List / Product Feedback
    Replies: 2
    Last Post: 24th November 2004, 11:24

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