Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 12:45:29 12:45


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, 11:00:49 23:00 by Top »
Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12
Print
Author Topic: XC Compilers - Software ONLY  (Read 310208 times)
0 Members and 4 Guests are viewing this topic.
Avalynn
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 17
-Receive: 27


« Reply #125 on: May 14, 2016, 11:55:57 23:55 »

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

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

Posts: 83

Thank You
-Given: 99
-Receive: 106


« Reply #126 on: July 17, 2016, 07:48:37 19: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
Hero Member
*****
Offline Offline

Posts: 537

Thank You
-Given: 696
-Receive: 1774



« Reply #127 on: July 17, 2016, 08:30:21 20: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, 08:36:49 20:36 by mars01 » Logged
TucoRamirez
Senior Member
****
Offline Offline

Posts: 307

Thank You
-Given: 257
-Receive: 115


Tuco ... dead or Alive


« Reply #128 on: August 23, 2016, 12:06:10 12: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: 1


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

 Cheesy Medicine Works Well. Tongue
Logged
Ferocactus
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 4
-Receive: 1


« Reply #130 on: September 22, 2016, 11:16:21 23: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: 3
-Receive: 5


« Reply #131 on: November 29, 2016, 09:46:47 09: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: 339

Thank You
-Given: 52
-Receive: 1719


« Reply #132 on: November 29, 2016, 10:04:19 10: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

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 2


« Reply #133 on: December 10, 2016, 05:04:23 17: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: 25
-Receive: 3


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

Medicine is OK

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

Offline Offline

Posts: 6

Thank You
-Given: 11
-Receive: 12


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

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

Offline Offline

Posts: 2

Thank You
-Given: 4
-Receive: 1


« Reply #136 on: March 13, 2017, 01:35:54 01: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 13, 2017, 01:44:36 01:44 by Ferocactus » Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 537

Thank You
-Given: 696
-Receive: 1774



« Reply #137 on: March 13, 2017, 01:59:56 01: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: 12

Thank You
-Given: 17
-Receive: 7


« Reply #138 on: March 13, 2017, 02:58:25 14: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: 34

Thank You
-Given: 58
-Receive: 41


« Reply #139 on: March 31, 2017, 01:54:46 01:54 »

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

Posts: 23

Thank You
-Given: 50
-Receive: 9


« Reply #140 on: May 05, 2017, 07:28:39 07: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: 4

Thank You
-Given: 57
-Receive: 1


« Reply #141 on: May 23, 2017, 12:16:31 12: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: 2


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

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

Posts: 294

Thank You
-Given: 175
-Receive: 802


« Reply #143 on: June 19, 2017, 04:57:11 16: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: 2


« Reply #144 on: June 20, 2017, 05:31:25 17: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
Hero Member
*****
Offline Offline

Posts: 537

Thank You
-Given: 696
-Receive: 1774



« Reply #145 on: June 20, 2017, 10:17:15 22: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: 94

Thank You
-Given: 28
-Receive: 88


« Reply #146 on: July 25, 2017, 05:34:52 17: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, 06:08:58 18:08 by alichan » Logged
StefDrums
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 22
-Receive: 4


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

Medicine is 100% working for:

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

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #148 on: November 28, 2017, 10:31:59 10: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: 3


« Reply #149 on: December 06, 2017, 11:25:39 11: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 8 9 10 11 12
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