Menu

FF 5.0 on PIC 24GA - compilation aborts with warm start

Holger
2014-02-02
2014-02-02
  • Holger

    Holger - 2014-02-02

    EDIT:

    Solved: Call me an idiot - I used 'repeat - until' instead of 'begin - until'. In this case the compiler will crash compiling the 'repeat'.

    I deleted most of the post but for the offending line.

    snipped of original post:

    IIC_start ( -- ) \ send start condition
    I2C1CON repeat dup @ $07 and 0= until

    Greetings

    Holger

     

    Last edit: Holger 2014-02-02
  • Mikael Nordman

    Mikael Nordman - 2014-02-02

    Note also that if the I2C bus does not respond you will get a watchdog timeout (if you have the watchdog configured).

    I recommend using constant instead of co:
    constant compiles much faster code than co:

    Mike

     

Log in to post a comment.