Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2022, 07:35:58 19:35


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]
Print
Author Topic: XC Compilers - Software ONLY  (Read 256223 times)
0 Members and 1 Guest are viewing this topic.
Top
Senior Member
****
Offline Offline

Posts: 338

Thank You
-Given: 51
-Receive: 1716


« 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: 255

Thank You
-Given: 454
-Receive: 826



« 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
Newbie
*
Offline Offline

Posts: 25

Thank You
-Given: 3
-Receive: 23


« 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
Newbie
*
Offline Offline

Posts: 25

Thank You
-Given: 3
-Receive: 23


« 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
**
Offline Offline

Posts: 36

Thank You
-Given: 13
-Receive: 21


« 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
****
Offline Offline

Posts: 270

Thank You
-Given: 492
-Receive: 146


« 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: 51
-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
****
Offline Offline

Posts: 270

Thank You
-Given: 492
-Receive: 146


« 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
**
Offline Offline

Posts: 36

Thank You
-Given: 13
-Receive: 21


« 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: 51
-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: 46


« 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: 110

Thank You
-Given: 35
-Receive: 155


« 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
Newbie
*
Offline Offline

Posts: 25

Thank You
-Given: 3
-Receive: 23


« 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: 16


« 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
**
Offline Offline

Posts: 36

Thank You
-Given: 13
-Receive: 21


« 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: 16


« 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: 48

Thank You
-Given: 43
-Receive: 9


« 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: 20

Thank You
-Given: 129
-Receive: 38


« 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
Pages: 1 ... 4 5 6 7 8 9 10 [11]
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