Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 20, 2019, 03:49:48 15:49


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 183544 times)
0 Members and 1 Guest are viewing this topic.
mars01
V.I.P
Senior Member
*****
Offline Offline

Posts: 446

Thank You
-Given: 529
-Receive: 1275



« Reply #150 on: December 06, 2017, 06:47:03 06:47 »

ChipMan, for the future, use the AdBlock extension for Chrome or Firefox. That should help you with the popups generated by the free file hosting sites.

Reupload: MEGA link for the fix is attached.
« Last Edit: December 07, 2017, 12:04:12 12:04 by mars01 » Logged
ChipMan
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 2
-Receive: 0


« Reply #151 on: December 07, 2017, 11:52:39 11:52 »

Mars1,

I copied the xclm.exe to bin folder but on compiling the project i get this message. I am using xc16 1.33

elf-cc1.exe: warning: Attempt to override license manager detected
Options have been disabled due to restricted license
Visit http://www.microchip.com/MPLABXCcompilers to purchase a new key.
AVR.c:11:6: warning: return type of 'main' is not 'int'
"C:\Program Files (x86)\Microchip\xc16\v1.33\bin\xc16-gcc.exe"   -o dist/default/production/AVR.X.production.elf  build/default/production/AVR.o      -mcpu=30F3014        -omf=elf -DXPRJ_default=default  -legacy-libc    -Wl,,--defsym=__MPLAB_BUILD=1,,--script=p30F3014.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/AVR.X.production.map",--report-mem,--memorysummary,dist/default/production/memoryfile.xml
elf-cc1.exe: warning: Attempt to override license manager detected


Please help.

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

Posts: 446

Thank You
-Given: 529
-Receive: 1275



« Reply #152 on: December 07, 2017, 12:00:30 12:00 »

ChipMan, I don't have the XC16 installed at the moment in my PC and I am sure that you already read around about the following things but it doesn't hurt to make sure that:

- you move the original xclm.exe from the BIN folder, somewhere else; then you rename it from xclm.exe to xclm.old;
- in the same location where you now have xclm.old, you copy the "fixed" xclm.exe;
- now, you move both files ("fixed" xclm.exe and xclm.old) back to the BIN folder from the compiler installation folder;
- you open a Command Prompt as Administrator in the folder BIN of the XC compiler and you run xclm.exe; you will see a bunch of messages that files are patched;

I am not sure if it is needed anymore, but at some point there was a need to copy the "fixed" xclm.exe also to the BIN folder from the MPLABX installation folder.

LE: Given the message received, you may need to completely uninstall the XC16 compiler, clean the leftover folders and then reinstall and follow the above procedure.
« Last Edit: December 07, 2017, 12:02:35 12:02 by mars01 » Logged
psychoteog1
Inactive

 Muted
Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 1


« Reply #153 on: December 07, 2017, 03:42:51 15:42 »

The url in the file doesnt work. Can anyone provide the files in a zip? Someone who already downloaded?
Ah sorry i didnt saw the second file with the second url. Now i have the exe and i shall try to patch xc8.

So no success. on 1.43. i will try later.


Ok i got the patch working. when I build the project its says:
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.43
But i am having the same bug that i have on 1.10 " fixup overflow referencing psect bssBANK1 ".
In free mode the code doese compile and it works perfectly. with this patch and crack it dosent. So i guess i have to switch back to free mode.
« Last Edit: December 07, 2017, 04:21:20 16:21 by psychoteog1 » Logged
ChipMan
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 2
-Receive: 0


« Reply #154 on: December 07, 2017, 08:15:18 20:15 »

ChipMan, I don't have the XC16 installed at the moment in my PC and I am sure that you already read around about the following things but it doesn't hurt to make sure that:

- you move the original xclm.exe from the BIN folder, somewhere else; then you rename it from xclm.exe to xclm.old;
- in the same location where you now have xclm.old, you copy the "fixed" xclm.exe;
- now, you move both files ("fixed" xclm.exe and xclm.old) back to the BIN folder from the compiler installation folder;
- you open a Command Prompt as Administrator in the folder BIN of the XC compiler and you run xclm.exe; you will see a bunch of messages that files are patched;

I am not sure if it is needed anymore, but at some point there was a need to copy the "fixed" xclm.exe also to the BIN folder from the MPLABX installation folder.

LE: Given the message received, you may need to completely uninstall the XC16 compiler, clean the leftover folders and then reinstall and follow the above procedure.

Thanks Buddy it worked for me. Cheers Smiley
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 27
-Receive: 8


« Reply #155 on: December 08, 2017, 05:05:36 05:05 »

xc8 v1.45 available.

Patch works on xc8 v1.44 and xc8 v1.45
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 17

Thank You
-Given: 27
-Receive: 8


« Reply #156 on: December 09, 2017, 07:27:38 07:27 »

The website download links haven't been updated, that's all.

http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v1.45-full-install-windows-installer.exe
Logged
pbraida
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 57
-Receive: 0


« Reply #157 on: April 29, 2018, 03:23:18 15:23 »

Hello,

This path works with all versions(XC8,16 and 32) ?

Thanks.

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

Posts: 446

Thank You
-Given: 529
-Receive: 1275



« Reply #158 on: April 29, 2018, 04:44:09 16:44 »

Hello,

This path works with all versions(XC8,16 and 32) ?

Thanks.

Pedro.

Short answer, yes.
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 689

Thank You
-Given: 151
-Receive: 203


« Reply #159 on: April 30, 2018, 11:06:01 23:06 »

Hello,

This path works with all versions(XC8,16 and 32) ?

Thanks.

Pedro.

Long answer, yes it does.

lot's of people have problems making it work however.  It is always related to people NOT following the instructions.
Logged
pbraida
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 57
-Receive: 0


« Reply #160 on: May 03, 2018, 05:50:23 05:50 »

Thanks for your answer.

Pedro.
Logged
krayzeeman
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 7
-Receive: 0


« Reply #161 on: June 29, 2018, 10:57:59 10:57 »

Medicine does not seem to work on Mac OS X (High Sierra 10.13.5) for XC8 v2.00 (clean install). When running the patch it reports "Nothing to do".
It worked fine on XC8 v1.45 using the same procedure.

Alexander
Logged
Top
Senior Member
****
Online Online

Posts: 342

Thank You
-Given: 46
-Receive: 1684


« Reply #162 on: June 29, 2018, 12:21:36 12:21 »

Medicine does not seem to work on Mac OS X (High Sierra 10.13.5) for XC8 v2.00 (clean install). When running the patch it reports "Nothing to do".

Patch is not finding the files to patch; copy xclm.old and xclm.exe up one level and try again.
Logged
krayzeeman
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 7
-Receive: 0


« Reply #163 on: June 29, 2018, 01:04:14 13:04 »

Patch is not finding the files to patch; copy xclm.old and xclm.exe up one level and try again.
Thanks! that did the trick! I copied both files to the V2.00 folder (and also left a copy in the 'bin' folder) and the patch worked as before.

« Last Edit: June 29, 2018, 01:11:21 13:11 by krayzeeman » Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 634

Thank You
-Given: 2112
-Receive: 1666


« Reply #164 on: January 09, 2019, 03:44:39 03:44 »

hi

this time the Top's patch has additionally modified the files aspic.exe and aspic18.exe
in folder: C:\Program Files\Microchip\xc8\v2.05\pic\bin

regards
mitsos
Logged
gurksallad
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 1
-Receive: 0


« Reply #165 on: July 15, 2019, 08:47:57 08:47 »

Link in sticky does not work anymore:

"""Possible causes of this error could be:

    The file expired
    The file was deleted by its owner
    The file was deleted by administration because it didn't comply with our Terms of Use"""

Does the Medecine reside elsewhere so I can try it?
Logged
h0nk
Active Member
***
Offline Offline

Posts: 168

Thank You
-Given: 149
-Receive: 112



« Reply #166 on: July 15, 2019, 03:30:33 15:30 »

Hello,

this one is for V <= 1.45. Hope it helps.
(usual passwd)
Use https://www.proxysite.com/ if the URL is geoblocked.

Best Regards
Logged
mars01
V.I.P
Senior Member
*****
Offline Offline

Posts: 446

Thank You
-Given: 529
-Receive: 1275



« Reply #167 on: July 15, 2019, 05:16:42 17:16 »

Link in sticky does not work anymore:

I already reposted the file in this post from 2017:
http://www.sonsivri.to/forum/index.php?topic=44014.msg186926#msg186926
It's still up and working with the latest compilers.
Logged
gurksallad
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 1
-Receive: 0


« Reply #168 on: July 17, 2019, 02:33:25 02:33 »

I already reposted the file in this post from 2017:

I saw that, but that one contains only the windows-version. I'm on Linux, that's why I asked for the original one.
Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 634

Thank You
-Given: 2112
-Receive: 1666


« Reply #169 on: July 17, 2019, 05:14:50 05:14 »

hi

all OS Top patch, look at my attachment

regards
mitsos
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