Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2024, 06:19:10 18:19


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 ... 4 5 6 7 8 9 10 [11] 12
Print
Author Topic: XC Compilers - Software ONLY  (Read 298782 times)
0 Members and 1 Guest are viewing this topic.
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1718


« Reply #250 on: May 26, 2022, 02:31:29 14:31 »

@Top, could you unlock MPLAB Functional Safety Compilers? I look forward to your success, thank you!

Should already be unlocked. Try and report back.
Logged
Mr. Spock
Senior Member
****
Offline Offline

Posts: 260

Thank You
-Given: 465
-Receive: 827



« Reply #251 on: May 26, 2022, 07:11:05 19:11 »

Should already be unlocked. Try and report back.

Link is not working.
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #252 on: May 27, 2022, 12:00:38 00:00 »

Should already be unlocked. Try and report back.
It can not work,I sure!!!
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #253 on: May 31, 2022, 03:19:46 15:19 »

For a 15-day evaluation license on any version of MPLAB XC Functional Safety license, please email: [email protected]
https://www.microchip.com/en-us/development-tool/SW006021-FS
Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #254 on: June 01, 2022, 12:10:14 12:10 »

@ucdesign
it is possible for MPLAB X to detect cracked compiler since it has its own license checking mechanism.

@patchjack
The Functional safety cannot be unlocked using top medicine. Don't bother with it because it's no different from the standard version. the functional safety license just includes additional documents for companies who need extra verification for their software and need the functional safety badge. for example medical and automotive devices.
Logged
Manuel
Senior Member
****
Online Online

Posts: 316

Thank You
-Given: 648
-Receive: 182


« Reply #255 on: June 06, 2022, 03:59:17 15:59 »

As for example :

in the installation path of M P LAB X :

.\Program Files\Mic ro ch ip\M P L AB X\v6.00\m p lab_ plat for m\bin

you can find also the licensing executable .. x cl m ..

any idea ?

X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #256 on: June 20, 2022, 11:38:18 11:38 »

Quote
I would like to say that for the same project, the compiler configuration is exactly the same, optimization level is set to -s, compiler optimization ability is decreasing.  Attached is the comparison diagram of V2.05 V2.10 V2.36.

See https://www.microchip.com/forums/m1208436.aspx for some possible explanations of why this appears to be the case.
Logged
Manuel
Senior Member
****
Online Online

Posts: 316

Thank You
-Given: 648
-Receive: 182


« Reply #257 on: June 20, 2022, 06:39:09 18:39 »

The essence is :

At a quick glance of the build logs, v2.05 has Code Coverage option disabled whereas v2.10 and v2.36 have Code Coverage option -mcodecov=ram enabled.  So, disable Code Coverage in Project Properties > Conf > XC8 Global Options > Analysis, build and check again.

I will check it too..

X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #258 on: June 21, 2022, 05:36:31 17:36 »

See https://www.microchip.com/forums/m1208436.aspx for some possible explanations of why this appears to be the case.


That is fascinating in 2 aspects
patchjack actually went for an answer and they had to go though all the build logs to show him that code coverage was turned on.

on the other hand, one of the xc compiler authors explains a very interesting optimization option which i did not know."Constant caching " ! the few extra bytes of RAM in newer versions are actually constant that are stored in flash memory and the compiler allocated a space in RAM to speed up the program. the compiler does this only when you are not using the remaining of the RAM.

very interesting !
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #259 on: July 17, 2022, 02:16:03 14:16 »

xc8 v2.40 available. Patch tested and works (windows).
Logged
sukumar
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 5
-Receive: 47


« Reply #260 on: July 23, 2022, 05:54:57 17:54 »

Hi All,

If you run 26k patch xclm.exe from the directory C:\Program Files\Microchip\xc8\v2.xx\bin\ writes - Nothing to do.
In this case, you need to copy the files xclm.old and xclm.exe one level higher - to C:\Program Files\Microchip\xc8\v2.xx\ and run from there.
Logged

Regards,
M.Sukumar
Never say No
saeed7701
Active Member
***
Offline Offline

Posts: 111

Thank You
-Given: 35
-Receive: 160


« Reply #261 on: July 27, 2022, 11:17:07 11:17 »

Hi, I want to install MPLAB and XC compilers, which version could be cracked with this medicine ? ( XC8 , XC16 , XC32 )
Thanks a lot
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #262 on: July 27, 2022, 12:18:38 12:18 »

Hi, I want to install MPLAB and XC compilers, which version could be cracked with this medicine ? ( XC8 , XC16 , XC32 )
Thanks a lot
All versions can be cracked, I'm sure.
Logged
crack_learning
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 20


« Reply #263 on: August 20, 2022, 01:31:36 13:31 »

All versions can be cracked, I'm sure.
Should be Smiley
The thing is, there is a site somewhere on the internet that tells you how to activate the optimization in the compiler. On the other hand, on microchip site, there is a place where all archived tools are available. Also the XC8,16,32 compilers with source code. Since they are based on GCC, I guess they have to make them public. But first you have to find the source code. Then download it. Then extract it. For me it took half a day, beucase they used some fancy compressing tool that I did not had. Afterwile I had the source code on my disk. Half a day! And it was for a MAC environment. But that is not problem. You can find the place, where they call the xclm.exe. They just simply check the return value of it, and the return value is the license type. However before they call the exe, they check if the hash of it is still the same as stored in the compiler. So your task is very simple. Calculate the SHA-256 hash of xclm.exe. Find it in all the executables of the compiler. Stored in plain text. Now prepare a new xclm.exe that only returns 6. Or 2. I do not remember. Put it in place of the original one. Calculate the new hash of it, and replace it every where. Now you should have a cracked compiler.

Since the source code of the Compiler is open source, you do not even need gHidra or xdbg64. Just read the source code. Only the source code of xclm.exe is not open. But that you do not need at all.
Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #264 on: August 20, 2022, 05:27:19 17:27 »

XC8 is not based on GCC, did you find the source for that as well?
Logged
crack_learning
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 20


« Reply #265 on: August 21, 2022, 03:13:42 03:13 »

XC8 is not based on GCC, did you find the source for that as well?
You have right. The XC8 is not GCC. I rarely use it, that is why I was thinking it is. And no, there are no source codes for the XC8 PIC compiler.

Just for the AVR which is for this tipic irrelevant Sad


However it looks for me, they use the same licensing mechanism for the XC8 compiler as for the XC16 or XC32. (Note it was a long time I used XC8, so I just assume my crack folder is working:) )
Logged
Poty
Junior Member
**
Offline Offline

Posts: 57

Thank You
-Given: 52
-Receive: 10


« Reply #266 on: September 04, 2022, 03:15:59 03:15 »

xc8 v2.40 available. Patch tested and works (windows).
Good evening. Verified! Win 10 XC8v2.40 working.

Posted on: 04 September 2022, 00:09:33 - Automerged

Dear fellows, do you have some medicine for XC8 but over Linux - Ubuntu 22.04?
Thanks in advance.
Logged

You can't have your cake and eat it too... except if you do.
nagkiller
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 141
-Receive: 39


« Reply #267 on: October 11, 2022, 01:26:44 01:26 »

Does anyone have the last version?
Logged

(\ /)
( . .)
c(")(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination.
bozog
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


« Reply #268 on: November 02, 2022, 10:45:28 22:45 »

Cheers this is working for me, I had to do this to get it to work:
Copy 26k xclm.exe to: \Program Files\Microchip\xc8\v2.40 - run it as admin - it will patch several files.
Move 26k xclm.exe to: \Program Files\Microchip\xc8\v2.40\bin - replacing original file(make a backup if you like).

Here are the results:
-O0 Memory Summary:
    Program space        used   49Ch (  1180) of  1000h words   ( 28.8%)
    Data space           used    79h (   121) of   200h bytes   ( 23.6%)
-O1 Memory Summary:
    Program space        used   434h (  1076) of  1000h words   ( 26.3%)
    Data space           used    79h (   121) of   200h bytes   ( 23.6%)
-O2 Memory Summary:
    Program space        used   428h (  1064) of  1000h words   ( 26.0%)
    Data space           used    79h (   121) of   200h bytes   ( 23.6%)
-O3 Memory Summary:
    Program space        used   3C9h (   969) of  1000h words   ( 23.7%)
    Data space           used    92h (   146) of   200h bytes   ( 28.5%)
-Os Memory Summary:
    Program space        used   3BDh (   957) of  1000h words   ( 23.4%)
    Data space           used    72h (   114) of   200h bytes   ( 22.3%)
Logged
pascal06
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 6
-Receive: 12


« Reply #269 on: February 21, 2023, 11:46:10 11:46 »

Good evening. Verified! Win 10 XC8v2.40 working.

Posted on: 04 September 2022, 00:09:33 - Automerged

Dear fellows, do you have some medicine for XC8 but over Linux - Ubuntu 22.04?
Thanks in advance.
Hello everybody,
I'm using Linux too (Xubuntu 20.04) and would be glad to make XC8 full optimization.
By searching just a little, I found two pages that are talking about creating a medicine for XC8, in an educationnal purpose of course. Theses codes are quite old now and I'm not very comfortable with security aspect at all, but maybe it would be interesting to post links here ?
Thanks a lot in advance.

Posted on: February 17, 2023, 11:19:36 11:19 - Automerged

Hello everyone,
I hope you're doing well ?
Since then, I found a very interesting link where there's a code to make a patch...
The guy claim that it works on XC8 2.36, more over on Ubuntu 20.04 !
So I compiled the medicine... I don't know if it's working, because I'm still in the pro evaluation period, but the executing xclm in command line return nothing as expected !
The link is easily found.
Thanks
« Last Edit: February 22, 2023, 09:19:45 09:19 by pascal06 » Logged
patchjack
Junior Member
**
Offline Offline

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #270 on: February 22, 2023, 10:02:42 10:02 »

XC8 2.41 is coming! patch is valid. win download address

DO NOT POST OPEN LINKS
« Last Edit: February 23, 2023, 01:01:50 13:01 by patchjack » Logged
pascal06
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 6
-Receive: 12


« Reply #271 on: February 25, 2023, 11:28:01 23:28 »

Another kind of patch here.
Should work on Ubuntu 20.04
Logged
Espark
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 5
-Receive: 2


« Reply #272 on: March 04, 2023, 06:07:40 18:07 »

The essence is :

At a quick glance of the build logs, v2.05 has Code Coverage option disabled whereas v2.10 and v2.36 have Code Coverage option -mcodecov=ram enabled.  So, disable Code Coverage in Project Properties > Conf > XC8 Global Options > Analysis, build and check again.

I will check it too..

X!

Does this mean that code coverage is enabled when you apply the patch ? since in page 9 of this post it is mentioned that it uses a separate license and it works with free and pro xc compilers.

Microchip says that from sep/2022 and on Code coverage and misra check are part of what they call " MPLAB® Analysis Tool Suite " . As far as i know there is no medicine to enable this option  Embarrassed
« Last Edit: March 04, 2023, 06:58:48 18:58 by Espark » Logged
thunderStorm
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


« Reply #273 on: March 11, 2023, 07:05:49 07:05 »

I download and apply medicine to XC8 Compiler, but after patching it give me an error  Sad, please follow the image for reference, is anybody providing me the solution?

Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 417

Thank You
-Given: 276
-Receive: 1536



WWW
« Reply #274 on: March 11, 2023, 10:09:27 10:09 »

I myself am already confused about activation, but I do this after I have completed "all dances with a tambourine" in the folder Shocked
C:\Program Files\Microchip\xc8\v2.41\bin
I copy xclm.exe and xclm.exe files to folders
C:\Program Files\Microchip\xc8\v2.41\pic\bin
C:\Program Files\Microchip\xc8\v2.41\avr\bin

And I repeat the process.
Logged
Pages: 1 ... 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