• AVR Freaks

Hot!XC8 v2.09 error [2052]

Author
ALPL
Super Member
  • Total Posts : 285
  • Reward points : 0
  • Joined: 2006/12/30 02:52:11
  • Location: Austria
  • Status: offline
2019/07/28 23:21:36 (permalink)
0

XC8 v2.09 error [2052]

error: (2052) The current license does not permit the selected optimization level and other levels are not permitted by the NOFALLBACK option
 
This is the error message which I receive after installing the XC8 v2.09 compiler and compiling recent and new projects (just for testing). I use MPLAB X v2.50 and have a PRO license for the XC8 compiler (HPA is still 257 days).
Going back to the XC8 v2.05-compiler generates no errors and performs perfectly.
 
Is there anything new in v2.09 (eg any new conditions)?
 
The same happens with the XC16 v1.39 compiler - compiling recent projects give the same error message. v1.36 works perfectly. Also for this compiler I have a PRO license with HPA=248 days.
 
Did I miss something in the settings?
#1

13 Replies Related Threads

    ALPL
    Super Member
    • Total Posts : 285
    • Reward points : 0
    • Joined: 2006/12/30 02:52:11
    • Location: Austria
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/28 23:28:58 (permalink)
    +1 (1)
    In the meantime I saw that both compilers XC8 v2.09 and XC16 v1.39 are not listed for download on the Microchip homepage. It was MPLAB X that offered these updates.
    #2
    JPortici
    Super Member
    • Total Posts : 725
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 00:38:57 (permalink)
    0
    interesting! can you share the changelogs for both?
    Usually the symbolic links point to the new files days before the webpage is updated, but not this time.
     
    Instead we still have that disgusting javascript login to download the compilers and many of the new datasheet (also if you are ALREADY logged in the website)
    #3
    nice
    Super Member
    • Total Posts : 1089
    • Reward points : 0
    • Joined: 2004/09/18 11:42:25
    • Location: Germany
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 01:24:51 (permalink)
    +2 (2)
    Release Notes for MPLAB® XC16 C Compiler
    v1.39
    Mar 22 2019

    This release of the Microchip MPLAB XC16 C compiler is a functional safety compiler based on MPLAB XC16 v1.36B. This compiler requires a functional safety license in order to operate. Once activated, all optimisation levels and compiler features are available.

    #4
    JPortici
    Super Member
    • Total Posts : 725
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 02:03:23 (permalink)
    +1 (1)
    hmm. interesting. I wonder if this is for masters, as there is a new functional safety class course
    #5
    du00000001
    Just Some Member
    • Total Posts : 3008
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 04:43:23 (permalink)
    +2 (2)
    Looks more like one certified compiler version to support the appication of PIC16 or PIC18 in safety-critical applications.

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #6
    ALPL
    Super Member
    • Total Posts : 285
    • Reward points : 0
    • Joined: 2006/12/30 02:52:11
    • Location: Austria
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 10:02:10 (permalink)
    0
    @nice: thank you - this clarifies the issue (I did not hear about this before). I just wonder why MPLAB offered these downloads without further explanation or warning.
     
    I found the same statements for XC8 v2.09 in the file "Readme_XC8_for_PIC.htm", 1.7. Editions and License Upgrades.
     
    As said before this is something new to me. So I will uninstall these compilers.
    #7
    nice
    Super Member
    • Total Posts : 1089
    • Reward points : 0
    • Joined: 2004/09/18 11:42:25
    • Location: Germany
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 13:05:55 (permalink)
    0
    Jack_M
    Instead we still have that disgusting javascript login to download the compilers and many of the new datasheet (also if you are ALREADY logged in the website)



    Everytime it appears I enter "Stop this annoying shit" as my companies name. Brain dead marketing bullshit. "WTF" and "None of your business" are also valid entries.
    #8
    rjc101
    Super Member
    • Total Posts : 107
    • Reward points : 0
    • Joined: 2016/07/08 14:56:34
    • Location: 0
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 13:47:06 (permalink)
    +1 (1)
    I generally just go for the direct download links, sidestepping the annoying popup...
    http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v2.05-full-install-windows-installer.exe
    http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v2.05-full-install-osx-installer.dmg

    ...I just edit the version number as required.
    #9
    mad_c
    Super Member
    • Total Posts : 1193
    • Reward points : 0
    • Joined: 2010/12/12 17:48:27
    • Location: Brisbane, Australia
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/29 14:06:43 (permalink)
    +4 (4)
    Hi,
     
    Just to confirm what it looks like you already know, the XC8 2.09 is a functional safety compiler. It requires a special license, so at this stage you will not be able to run it. It has not actually been officially released yet; however, it made its way onto the list of compilers offered as update by MPLAB X IDE. That issue is being looked into. There will be special functional safety compilers for XC8/16/32 released later in the year.
     
    Jeff.
    #10
    Antipodean
    Super Member
    • Total Posts : 1732
    • Reward points : 0
    • Joined: 2008/12/09 10:19:08
    • Location: Didcot, United Kingdom
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/30 05:33:08 (permalink)
    0
    What is so special about, and what is meant by, "functional safety compiler" ?

    Do not use my alias in your message body when replying, your message will disappear ...

    Alan
    #11
    du00000001
    Just Some Member
    • Total Posts : 3008
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/30 06:00:08 (permalink)
    +1 (1)
    @ Anti...
     
    Ever heard of ASIL or SIL ? ((Automotive) Safety Integrity Level)
    SIL have been defined a long time ago, to cover all kinds of (functional) safety aspects to preserve lives and prevent personal damage.
     
    For decades, software was not (or only to a very limited extend) accepted to implement features of functional safety.
    Nowadays software is somewhat accepted. But one of the things that have to be shown is - given some "environmental conditions" - that the compiler is repeatedly creating the same machine code from a given source code. (Not necessarily without error, but at least repeatable.)
    Given the complex and highly dynamic nature of current compilers, showing this repeatability is no easy task and requires a lot of effort. Thus you typically perform this "compiler certification" only for selected versions.
     
    These certified compilers are typically mandatory for SIL levels >= 2, ASIL >= B.
    As there are not that many potential users of the certified versions, the additional expenses somehow have to be covered. Which is why these versions are not covered by the standard licenses.

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #12
    Antipodean
    Super Member
    • Total Posts : 1732
    • Reward points : 0
    • Joined: 2008/12/09 10:19:08
    • Location: Didcot, United Kingdom
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/07/30 06:10:15 (permalink)
    0
    Ah, OK, thanks du00000001, so that is the origin of the requirement.
     
    Alan
     

    Do not use my alias in your message body when replying, your message will disappear ...

    Alan
    #13
    JPortici
    Super Member
    • Total Posts : 725
    • Reward points : 0
    • Joined: 2012/11/17 06:27:45
    • Location: Grappaland
    • Status: offline
    Re: XC8 v2.09 error [2052] 2019/08/18 23:03:31 (permalink)
    0
    mad_c
    Hi,
     
    Just to confirm what it looks like you already know, the XC8 2.09 is a functional safety compiler. It requires a special license, so at this stage you will not be able to run it. It has not actually been officially released yet; however, it made its way onto the list of compilers offered as update by MPLAB X IDE. That issue is being looked into. There will be special functional safety compilers for XC8/16/32 released later in the year.
     
    Jeff.




    Hi Jeff, still wondering if this is for masters (and the new functional safety classes!)
    will know for sure in four weeks time :)
    #14
    Jump to:
    © 2019 APG vNext Commercial Version 4.5