Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2019, 04:54:02 04:54


Login with username, password and session length


Pages: 1 2 3 4 5 6 7 8 [9]
Print
Author Topic: XC8 Compilers - Discussion  (Read 140964 times)
0 Members and 1 Guest are viewing this topic.
koky
Active Member
***
Offline Offline

Posts: 166

Thank You
-Given: 109
-Receive: 133


WWW
« Reply #200 on: July 28, 2019, 02:37:08 14:37 »

for me not work
::: error: (2052) The current license does not permit the selected optimization level and other levels are not permitted by the NOFALLBACK option
(908) exit status = 1
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 28
-Receive: 8


« Reply #201 on: July 29, 2019, 05:18:44 05:18 »

I haven't tried to install it yet, but there may be something different about the new XC '09' versions.

For XC16-
Quote
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.

Maybe they use a different licensing scheme...
Logged
Top
Senior Member
****
Offline Offline

Posts: 342

Thank You
-Given: 46
-Receive: 1685


« Reply #202 on: July 29, 2019, 10:25:10 10:25 »

Maybe they use a different licensing scheme...

Not a different scheme but there are some changes.
« Last Edit: July 30, 2019, 07:41:12 07:41 by Top » Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 28
-Receive: 8


« Reply #203 on: July 30, 2019, 04:45:23 04:45 »

FYI - from one of the XC developers...

Quote
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.
Logged
uCApps
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 36
-Receive: 3


« Reply #204 on: August 17, 2019, 06:48:40 06:48 »

Hello,
xc8 ver. 2.10 was released and currently medicine does not works anymore.
I checked in xclm binary and it is updated in this version.
Logged
Top
Senior Member
****
Offline Offline

Posts: 342

Thank You
-Given: 46
-Receive: 1685


« Reply #205 on: August 17, 2019, 07:52:17 07:52 »

Open a command prompt as admin and run the following commands:
"C:\Program Files (x86)\Microchip\xc8\v2.10\bin\xclm.exe"
"C:\Program Files (x86)\Microchip\xc8\v2.10\pic\bin\xclm.exe"
Report back with results.
Logged
uCApps
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 36
-Receive: 3


« Reply #206 on: August 17, 2019, 09:06:32 09:06 »

Open a command prompt as admin and run the following commands:
"C:\Program Files (x86)\Microchip\xc8\v2.10\bin\xclm.exe"
"C:\Program Files (x86)\Microchip\xc8\v2.10\pic\bin\xclm.exe"
Report back with results.
Dear Top, thanks for kindness, here it is. Successfully it patched binary,but it doesn't work in MPLAB X.
---
C:\Program Files (x86)\Microchip\xc8\v2.10\pic\bin>xclm.exe
Patched 40 bytes in file ./aspic.exe
Patched 40 bytes in file ./aspic18.exe
Patched 40 bytes in file ./cgpic.exe
Patched 40 bytes in file ./cgpic18.exe
Patched 40 bytes in file ./picc.exe
Patched 40 bytes in file ./picc18.exe
Patched SHA in 6 of 6 files

C:\Program Files (x86)\Microchip\xc8\v2.10\pic\bin>

C:\Program Files (x86)\Microchip\xc8\v2.10\bin>xclm.exe
Nothing to do

C:\Program Files (x86)\Microchip\xc8\v2.10\bin>
---
Logged
Top
Senior Member
****
Offline Offline

Posts: 342

Thank You
-Given: 46
-Receive: 1685


« Reply #207 on: August 17, 2019, 09:12:30 09:12 »

When you say "doesn't work" be more specific, give an example, what exactly is not working?
Logged
uCApps
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 36
-Receive: 3


« Reply #208 on: August 17, 2019, 10:49:57 10:49 »

When you say "doesn't work" be more specific, give an example, what exactly is not working?

Dear Top,
Sorry for that, I meant optimizations in XC8 ver. 2.10 didn't works in Os, O3 on MPLAB X once,
but it WORKS well now after I deleted cache files.

Many apologizes for my recognization...lots of thanks for nice madecine!

uCApps
Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #209 on: August 17, 2019, 12:31:54 12:31 »

How I cure version 2.XX.
First, as usual, I do with the files in the folder C:\Program Files (x86)\Microchip\xc8\v2.10\bin
I get two files xclm.exe (26 KB) and xclm.old (1719KB).
Then copy them to the folder
C:\Program Files (x86)\Microchip\xc8\v2.10\pic\bin
and
C:\Program Files (x86)\Microchip\xc8\v2.10\avr\bin
And then in each of these folders I perform the treatment, it seems so far, everything works.
Logged
Mr. Spock
Active Member
***
Offline Offline

Posts: 229

Thank You
-Given: 413
-Receive: 724



« Reply #210 on: August 21, 2019, 01:38:21 01:38 »

"And then in each of these folders I perform the treatment"

Hi
Do you mean running again xclm.exe ?
Best regards
Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 198

Thank You
-Given: 124
-Receive: 506



WWW
« Reply #211 on: August 21, 2019, 05:19:48 05:19 »

"And then in each of these folders I perform the treatment"

Hi
Do you mean running again xclm.exe ?
Best regards
Yes.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4214

Thank You
-Given: 722
-Receive: 2789


There is no evidence that I muted SoNsIvRi


« Reply #212 on: November 10, 2019, 10:07:54 10:07 »

I had a tough time patching xc8
I had to move the files xclm.exe and xclm.old  up a level to
c:\Program Files\microchip\xc8\v2.10

then it worked.
Logged

Note: Season & New Year Give Away. 3 year Holiday for Zero Posting
Pages: 1 2 3 4 5 6 7 8 [9]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC