Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 20, 2020, 05:54:11 17:54


Login with username, password and session length


Author Sticky post (Click Here to visit source)
Top
Fix for MPLAB® XC Compilers

http://www.microchip.com/pagehandler/en_us/promo/mplabxc/

Windows, Linux & Mac OS X

13-Aug-2012; Updated for v1.10 compilers.
14-Aug-2012; MPLAB XC32 C++ license activated.
01-Jan-2013; License info update.
12-Jun-2014; Updated for v1.32 compilers.
19-Jun-2014; Fixed issue with XC32 compilers.
« Last Edit: June 20, 2014, 05:00:49 17:00 by Top »
Pages: 1 2 3 4 5 [6] 7
Print
Author Topic: XC Compilers - Software ONLY  (Read 196738 times)
0 Members and 1 Guest are viewing this topic.
Avalynn
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 15
-Receive: 26


« Reply #125 on: May 14, 2016, 05:55:57 17:55 »

Thanks, Just wanted to report that this worked for me for MPLAB® XC8 Compiler v1.37

« Last Edit: May 22, 2016, 06:22:47 06:22 by Avalynn » Logged
houly
Junior Member
**
Offline Offline

Posts: 71

Thank You
-Given: 72
-Receive: 66


« Reply #126 on: July 17, 2016, 01:48:37 13:48 »

Hello all,
I just installed last MPLAB x IDE and I'm wondering if I have to download the compiler in a second time or does it still integrated to MPLAB X ?
in case of there is no compiler comes with MPLAB, do I have to download them in free version to apply the patch ? does the sticked file are still compatible with recent version of compilers .. .?

Thanks for your help.
Logged
mars01
V.I.P
Senior Member
*****
Offline Offline

Posts: 458

Thank You
-Given: 560
-Receive: 1309



« Reply #127 on: July 17, 2016, 02:30:21 14:30 »

The XC compiler is not installed silently when the MPLABX is installed but at the end of the installation a window will pop up and it will advise you to go to the Microchip page and install the XC compiler and some other software like Code Configurator.
So if you did not installed at one stage the XC compiler you need to install it. Manually.
You can check in Program Files folder (or Program Files (x86) for a x64 windows) in the Microchip folder if there is an XC folder.

As for the question if the patch still works, all you have to do is to read the post before yours... there is a nice black picture with the results, also Smiley

But since now there is a 1.38 version of the XC8 compiler, I can tell you that it works with this one, too. And with the XC16 v1.26, too.
« Last Edit: July 17, 2016, 02:36:49 14:36 by mars01 » Logged
TucoRamirez
Senior Member
****
Offline Offline

Posts: 296

Thank You
-Given: 235
-Receive: 107


Tuco ... dead or Alive


« Reply #128 on: August 23, 2016, 06:06:10 06:06 »

works on 1.38 too Smiley

Microchip MPLAB XC8 C Compiler (PRO Mode) V1.38
Build date: Jun 30 2016
Part Support Version: 1.38
Copyright (C) 2016 Microchip Technology Inc.
License type: Node Configuration
Logged

Whoever double crosses me and leaves me alive... he understands nothing about Tuco.
tistructor
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


« Reply #129 on: September 10, 2016, 07:33:42 07:33 »

 Cheesy Medicine Works Well. Tongue
Logged
Ferocactus
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 3
-Receive: 0


« Reply #130 on: September 22, 2016, 05:16:21 17:16 »

Medicine is working, but  now there´s a message popping out: License check operation timed out. Please check internet conectivity. Shocked
I´m using MPLABX 3.40 and XC8 1.38
Logged
martonmiklos
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 1
-Receive: 2


« Reply #131 on: November 29, 2016, 03:46:47 03:46 »

I have tested this with the Linux versions and here are the results:
XC8 1.35 OK
XC32 1.34 OK
XC32 1.42 FAILED (says the executables are corrut)
Logged
Top
Senior Member
****
Offline Offline

Posts: 343

Thank You
-Given: 46
-Receive: 1685


« Reply #132 on: November 29, 2016, 04:04:19 04:04 »

XC32 1.42 FAILED (says the executables are corrut)

Please provide more information; i.e. OS, steps you took to produce the error, exact text of error message, etc.
Logged
extremgear
Inactive

 Muted
Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 1


« Reply #133 on: December 10, 2016, 11:04:23 11:04 »

Hello everybody ,

Medicine works well on mac os sierra.
 XC8 V1.38 = ok
I hope it will help mac users , how i did :

rename xclm in xclm.old into bin folder
copy new xclm into bin
open terminal and execute : chmod 755 /Applications/microchip/xc8/v1.38/bin/xclm
execute : cd /Applications/microchip/xc8/v1.38/bin
then in terminal : sudo xclm
enter password
we should see :
Patched 40 bytes in file ./cgpic
Patched 40 bytes in file ./cgpic18
Patched 40 bytes in file ./picc
Patched 40 bytes in file ./picc18
Patched SHA in 4 of 4 files

check compiler is in pro mode with xc8 --chip=16f1516 --mode=pro
we should see:
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.38
Part Support Version: 1.38 (A)
Copyright (C) 2014 Microchip Technology Inc.
License type: Node Configuration

i've tried with xc 16 and XC 32 but not the last one.
Logged
magician
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 24
-Receive: 2


« Reply #134 on: January 13, 2017, 02:08:18 02:08 »

Medicine is OK

- XC8 version 1.40
- MPLABX v3.50
- Windows 10 x64 
Logged
epi
Inactive

Offline Offline

Posts: 6

Thank You
-Given: 10
-Receive: 12


« Reply #135 on: February 07, 2017, 09:48:45 09:48 »

Medicine works fine for XC8 v1.41.
Logged
Ferocactus
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 3
-Receive: 0


« Reply #136 on: March 12, 2017, 07:35:54 19:35 »

Medicine is working, but now MPLAB says: "XC8: Not licensed or error."

XC8 1.41
MPLABX 3.55
Windows 7 x64

Anyone with the same problem?
« Last Edit: March 12, 2017, 07:44:36 19:44 by Ferocactus » Logged
mars01
V.I.P
Senior Member
*****
Offline Offline

Posts: 458

Thank You
-Given: 560
-Receive: 1309



« Reply #137 on: March 12, 2017, 07:59:56 19:59 »

See this post: http://www.sonsivri.to/forum/index.php?topic=63529.msg182610#msg182610
You need to replace the xclm.exe file in the BIN folder of the MPLABX also.
Logged
adamantium
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 16
-Receive: 4


« Reply #138 on: March 13, 2017, 08:58:25 08:58 »

XC32 also working on MPLAB 3.55 after also replacing the xclm.exe file in the MPLABX\v3.55\mplab_ide\bin folder.

XC16 1.31
XC32 1.42
Windows 10 x64
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 29
-Receive: 8


« Reply #139 on: March 30, 2017, 07:54:46 19:54 »

XC32 v1.43 is working also.
Logged
jamesbond
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 48
-Receive: 8


« Reply #140 on: May 05, 2017, 01:28:39 01:28 »

XC8 V1.42 is out , and medicine is working. They have changed the default warning level so i have a lot of warnings in the new version.
I have to set it to -2 to get the same result as in 1.41.
Logged
Dadabe
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 25
-Receive: 0


« Reply #141 on: May 23, 2017, 06:16:31 06:16 »

I just tried the xclm.exe medicine on MPLAB XC8 v1.42. Tested on Windows 10.
This works with Maplab_IDE v3.60. It is magic! Congratulations to the awesome Top.
Logged
18f
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 1
-Receive: 0


« Reply #142 on: June 19, 2017, 10:30:05 10:30 »

hi,
I want to test medicine. Where is?
Logged
HackAndCrack
Active Member
***
Offline Offline

Posts: 246

Thank You
-Given: 162
-Receive: 585


« Reply #143 on: June 19, 2017, 10:57:11 10:57 »

hi,
I want to test medicine. Where is?

The link to medicine is in attachment of sticky of this thread.
Logged
18f
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 1
-Receive: 0


« Reply #144 on: June 20, 2017, 11:31:25 11:31 »

Working with MBLAB and xc8 v1.42
Many warnings in this version...
and Advisory: "using updated 32-bit floating-point libraries; improved accuracy might increase code size"...

Thanks
Logged
mars01
V.I.P
Senior Member
*****
Offline Offline

Posts: 458

Thank You
-Given: 560
-Receive: 1309



« Reply #145 on: June 20, 2017, 04:17:15 16:17 »

Working with MBLAB and xc8 v1.42
Many warnings in this version...
and Advisory: "using updated 32-bit floating-point libraries; improved accuracy might increase code size"...

Thanks
You can change the warning level in: XC8 Global Options -> XC8 Compiler -> Preprocessing and Messages -> Warning Level
Also, you can adjust the accuracy for the FLOAT type (from 32bit to 24bit) in XC8 Global Options -> XC8 linker -> Memory Model ->  Size of Float
Logged
alichan
Junior Member
**
Offline Offline

Posts: 96

Thank You
-Given: 25
-Receive: 82


« Reply #146 on: July 25, 2017, 11:34:52 11:34 »

You can change the warning level in: XC8 Global Options -> XC8 Compiler -> Preprocessing and Messages -> Warning Level
Also, you can adjust the accuracy for the FLOAT type (from 32bit to 24bit) in XC8 Global Options -> XC8 linker -> Memory Model ->  Size of Float

Or you can use #pragmas to remove specific warnigs, for example
Code:
#pragma disable warning 520

Or You can save the old pragma state and restore later
Code:

Btw, I'm not sure if this is the best thread to post it but since the user was asking here...
#pragma warning push         // save current warning state

/*temporary modify here any warning, for example,  disable 'warning (520) function is never called' when in FREE mode */
#pragma warning disable 520

void annoying_function_you_never_call()
{
...
}

#pragma warning pop          // restore current warning state

This will prevent any warning 520 being showed when compiling that spcific section of the code.

Posted on: July 25, 2017, 05:36:22 17:36 - Automerged



Btw I'm not sure if this is the best place to post this, but since the user is asking here...
« Last Edit: July 25, 2017, 12:08:58 12:08 by alichan » Logged
StefDrums
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 18
-Receive: 2


« Reply #147 on: September 02, 2017, 06:48:29 06:48 »

Medicine is 100% working for:

XC8 version 1.43
MPLABX IDE 4.00
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 29
-Receive: 8


« Reply #148 on: November 28, 2017, 04:31:59 04:31 »

In case there are problems, some different methods of enabling optimization in the XC16 and XC32 compilers are shown in the thread:

http://www.eevblog.com/forum/microcontrollers/mplab-x-a-pic-inhibitor!-alternatives/75/
Logged
ChipMan
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 2
-Receive: 0


« Reply #149 on: December 06, 2017, 05:25:39 05:25 »

Hi,

I am a newbee here. Can somebody help me get medicine for patching XC16.

Thanks all

Posted on: December 06, 2017, 11:58:41 11:58 - Automerged

Hi All,

I tried to go to the link provided in sticky of this thread but i am not able to download the files as it takes me to some spooky kind of page and tries to download some extensions, scares me.
Can someone help me get the medicine i will be grateful.
Thanks
Logged
Pages: 1 2 3 4 5 [6] 7
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