Top
Senior Member
Offline
Posts: 339
Thank You
-Given: 52
-Receive: 1719
|
|
« 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
Online
Posts: 261
Thank You
-Given: 474
-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
Posts: 51
Thank You
-Given: 11
-Receive: 49
|
|
« 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
|
|
|
|
|
danymogh
Newbie
Muted
Offline
Posts: 25
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
Offline
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« 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
Posts: 34
Thank You
-Given: 58
-Receive: 41
|
|
« Reply #256 on: June 20, 2022, 11:38:18 11:38 » |
|
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
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« 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
Newbie
Muted
Offline
Posts: 25
Thank You
-Given: 14
-Receive: 24
|
|
« Reply #258 on: June 21, 2022, 05:36:31 17:36 » |
|
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
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
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
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
Posts: 51
Thank You
-Given: 11
-Receive: 49
|
|
« 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
Posts: 6
Thank You
-Given: 0
-Receive: 22
|
|
« Reply #263 on: August 20, 2022, 01:31:36 13:31 » |
|
All versions can be cracked, I'm sure.
Should be 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
Newbie
Muted
Offline
Posts: 25
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
Posts: 6
Thank You
-Given: 0
-Receive: 22
|
|
« 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 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
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
Posts: 26
Thank You
-Given: 148
-Receive: 45
|
|
« 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
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
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
Posts: 51
Thank You
-Given: 11
-Receive: 49
|
|
« 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
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
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
|
|
« Last Edit: March 04, 2023, 06:58:48 18:58 by Espark »
|
Logged
|
|
|
|
thunderStorm
Inactive
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 , please follow the image for reference, is anybody providing me the solution?
|
|
|
Logged
|
|
|
|
Catcatcat
Senior Member
Offline
Posts: 432
Thank You
-Given: 284
-Receive: 1644
|
|
« 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 C:\Program Files\Microchip\xc8\v2.41\binI 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\binAnd I repeat the process.
|
|
|
Logged
|
|
|
|
|