Menu

Linker throws error message when FC1_TYPE is set to 0 and PIC is PIC24FJ64GA002

Holger
2017-11-11
2017-11-11
  • Holger

    Holger - 2017-11-11

    Greetings

    Something strange is happening here: I use UART 1 and for the first tests I'd like to omit the handshake. But once I switch FC1_TYPE from 2 or 1 to 0 the linker throws an error:

    In function 'CQUOTE': Link ERROR: cannot access symbol (PLACE) at an odd address.

    which doesn't happen if set at either 1 or 2. The error shows up on '3' as well (just tried if it's a sort of a 0 = NULL bug)

    Anybody else experienced something like this?

    IDE: 4.05
    XC16: V1.33

     
  • Mikael Nordman

    Mikael Nordman - 2017-11-11

    Usually it helps to enable the list to file option in xc16-as to get a program listing of the compilation. This is a bug in asm30 and xc16-as.

    Even if the compliation succeeds there may be some bugs in the generated code. Typically the links in the dictionary are wrong.

    https://sourceforge.net/p/flashforth/wiki/Frequently%20Asked%20Questions/

     
  • Holger

    Holger - 2017-11-11

    Thanks, compilation works now. Of to the next bug...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.