Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 25, 2024, 08:40:43 20:40


Login with username, password and session length


Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12
Print
Author Topic: XC8 Compilers - Discussion  (Read 226886 times)
0 Members and 1 Guest are viewing this topic.
Manuel
Senior Member
****
Offline Offline

Posts: 316

Thank You
-Given: 648
-Receive: 182


« Reply #150 on: February 02, 2017, 12:42:48 12:42 »

Confirm XC8 v1.41 ok!

take care,
Manuel.
Logged

-> An Apple a Day does not Let U become a Macintosh!
PM3295
Senior Member
****
Offline Offline

Posts: 279

Thank You
-Given: 339
-Receive: 132


« Reply #151 on: February 21, 2017, 04:38:02 16:38 »

I can't get v1.41 to patch. It keeps telling xclm.old not found when running xclm as admin, although it is there because if I run xclm.old it gives the "XCLM: Bad command line passed to license manager ..". I tried it on two different machines. Any ideas? This was a fresh download and installed from Microchip site yesterday.

Thanks.
« Last Edit: February 21, 2017, 07:39:55 19:39 by PM3295 » Logged
h0nk
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 209
-Receive: 230



« Reply #152 on: February 21, 2017, 11:37:43 23:37 »

Hello PM3295,

just check this:
Code:

>md5sum xclm.old
6f40ab2c41589af127f3fc0918758c15 *xclm.old

>md5sum xclm.exe
10ced13a23a1129ecf040c32556d4b99 *xclm.exe

>dir xclm.old xclm.exe
01/10/2017  18:26         1,149,952 xclm.old
06/19/2014  22:58            26,624 xclm.exe

>xclm
OK


Attached xclm.old.


Best Regards and Good Luck
Logged
PM3295
Senior Member
****
Offline Offline

Posts: 279

Thank You
-Given: 339
-Receive: 132


« Reply #153 on: February 22, 2017, 02:19:43 02:19 »

With your sample xclm.old it patched like a dream. So something must be different. I will investigate. Thanks
Logged
lm317
Junior Member
**
Offline Offline

Posts: 92

Thank You
-Given: 123
-Receive: 29


« Reply #154 on: February 22, 2017, 05:59:38 05:59 »

After original  xc  compiler setup  complete,  the xclm.exe (xclm.old) generated depends on your pc. (mainboard serial etc.?)
Another xclm.exe cannot be used in your pc. (not sure)
« Last Edit: February 22, 2017, 06:10:06 06:10 by lm317 » Logged
PM3295
Senior Member
****
Offline Offline

Posts: 279

Thank You
-Given: 339
-Receive: 132


« Reply #155 on: February 22, 2017, 07:02:13 07:02 »

It worked on complete two different PCs. One uses a i-7 motherboard and the other an older pentium quad core. I am happy it worked for me!
Logged
h0nk
Senior Member
****
Offline Offline

Posts: 256

Thank You
-Given: 209
-Receive: 230



« Reply #156 on: February 22, 2017, 07:07:31 07:07 »

After original  xc  compiler setup  complete,  the xclm.exe (xclm.old) generated depends on your pc. (mainboard serial etc.?)
Another xclm.exe cannot be used in your pc. (not sure)

The frontend to the XC8-Compiler is xclm.exe. And not xclm.old.
Thats why i included xclm.old in my post.
If Microchip has changed something, who cares...

To my knowledge only the RSA-keys are patched to a known state.
May be that someone can bring more light into this.

Would You please check also this:
Code:

>md5sum xc8-v1.41-full-install-windows-installer.exe
9bb1398796da56463c5f0b5abd370208 *xc8-v1.41-full-install-windows-installer.exe



Best Regards
« Last Edit: February 22, 2017, 07:49:04 07:49 by h0nk » Logged
2Code
Junior Member
**
Offline Offline

Posts: 56

Thank You
-Given: 10
-Receive: 237


« Reply #157 on: June 02, 2017, 01:11:46 13:11 »

MPLAB v3.61, XC8 v1.42, Win10, xclm.exe renamed in xclm.old patching done messages but looks like is in free mode.
You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.

Best regards.
Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 536

Thank You
-Given: 693
-Receive: 1763



« Reply #158 on: June 02, 2017, 02:30:26 14:30 »

If you would have read a bit more, eventually you would have found that you need to replace the xclm.exe file in MPLABX BIN folder also (MPLABX\v3.61\mplab_ide\bin). It has been discussed already.
Logged
2Code
Junior Member
**
Offline Offline

Posts: 56

Thank You
-Given: 10
-Receive: 237


« Reply #159 on: June 03, 2017, 02:20:11 02:20 »

Working like a charm after I copied as advised top's xclm.exe on C:\Program Files (x86)\Microchip\MPLABX\v3.61\mplab_ide\bin. Mea culpa.
Recap:
  rename xclm.exe in xclm.old in C:\Program Files (x86)\Microchip\xc8\v1.42\bin, copy cure and run it as admin
  replace xclm.exe in C:\Program Files (x86)\Microchip\MPLABX\v3.61\mplab_ide\bin with cure
« Last Edit: June 03, 2017, 02:31:15 02:31 by 2Code » Logged
Manuel
Senior Member
****
Offline Offline

Posts: 316

Thank You
-Given: 648
-Receive: 182


« Reply #160 on: August 05, 2017, 07:39:16 19:39 »

NEW...

Confirm... XC8 v1.43 + MPLABX 3.65 ok.

Take care U All!

Manuel.
« Last Edit: August 07, 2017, 07:51:28 07:51 by Manuel » Logged

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

Posts: 21

Thank You
-Given: 101
-Receive: 16


« Reply #161 on: August 06, 2017, 12:24:15 12:24 »

1.43 you mean ... and yes it works fine  Wink
Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 536

Thank You
-Given: 693
-Receive: 1763



« Reply #162 on: September 23, 2017, 07:37:21 19:37 »

New XC8 compiler, version 1.44. Patch works. No difference against v1.43 in the compiled size in a certain test scenario.
Logged
alichan
Junior Member
**
Offline Offline

Posts: 94

Thank You
-Given: 28
-Receive: 88


« Reply #163 on: December 24, 2017, 11:38:17 11:38 »

Hello I noticed with xc8 1.44 1.45 only 2 files are patched but cgpic.exe and cgpic18.exe, aren't patched.
It looks the compiler is in PRO mode anyway. Is it ok with those files?
« Last Edit: December 26, 2017, 04:17:16 16:17 by alichan » Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #164 on: December 24, 2017, 06:30:43 18:30 »

All 4 files were patched when I installed v1.44.

btw v1.45 is available
Logged
alichan
Junior Member
**
Offline Offline

Posts: 94

Thank You
-Given: 28
-Receive: 88


« Reply #165 on: December 26, 2017, 04:18:10 16:18 »

Sorry, typo. It is version 1.45.

1.44 is pacthed all the 4 files,  but not 1.45.
Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 536

Thank You
-Given: 693
-Receive: 1763



« Reply #166 on: December 26, 2017, 05:35:56 17:35 »

You made me curious and I uninstalled the XC8 1.45 compiler and reinstalled it. In my case the only thing that is not showed here is that I overwritten also the xclm.exe from MPIDE/BIN folder with the fixed file. Just from habit, I don't know if it's needed anymore.

The result is in the picture below which shows that all 4 files are patched. Win10 X64 with latest updates.

Logged
alichan
Junior Member
**
Offline Offline

Posts: 94

Thank You
-Given: 28
-Receive: 88


« Reply #167 on: December 26, 2017, 08:27:52 20:27 »

You made me curious and I uninstalled the XC8 1.45 compiler and reinstalled it. In my case the only thing that is not showed here is that I overwritten also the xclm.exe from MPIDE/BIN folder with the fixed file. Just from habit, I don't know if it's needed anymore.

The result is in the picture below which shows that all 4 files are patched. Win10 X64 with latest updates.
...


I uninstalled and reinstalled, and used the last xclm i found in the thread,  just in case mine is not updated.... same result:

D:\Microchip\xc8\v1.45\bin>xclm.exe
Patched 40 bytes in file ./picc.exe
Patched 40 bytes in file ./picc18.exe
Patched SHA in 2 of 4 files

The only difference with your image is I'm  not using the default path for installing... but i never had problems until 1.45.
I'm using W7 Home Premium 64b, admin rights, etc... As I said I had no problem with previous versions.

Update: I also tried with 1.44, installed in custom path, same result with only those 2 files patched.
Update: Installed 1.45 in default path, same result... only 2 files patched.

Could you point to the exact post/link of the xclm you are using? or upload yours to some site to download. I'm curious if I'd get the same results than you using the same xlcm (just in case mine is not the same).

Nombre: xclm.exe (26.624 bytes), ‎19‎ Jun 2014
 CRC-32: d3c4a688
 SHA-1: e0570107814a72b7498016f887896703ce814ed1
 SHA-256: b6cdc94545068e30d27c8b880e5b489b29a9ee5eedd52558dff9a986b05d511d
 SHA-512: 1c960685b27d744f4962fd3517d8277beaa1092dd5799a1f5b72a1f382d62e7a58987b8ddf467d3886e23e81a744a5d2dc4ce03f398f32deae2066516c9c9132

This is the xclm i was using, but I also used the xclm in http://www.sonsivri.to/forum/index.php?topic=44014.msg186926#msg186926, after some search. They look the same, at least they have the same hash.

So I don't know what is happening and why the cg---- files aren't being patched.

« Last Edit: December 26, 2017, 09:37:15 21:37 by alichan » Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 536

Thank You
-Given: 693
-Receive: 1763



« Reply #168 on: December 26, 2017, 10:01:01 22:01 »


Could you point to the exact post/link of the xclm you are using? or upload yours to some site to download. I'm curious if I'd get the same results than you using the same xlcm (just in case mine is not the same).


Attached there is a MEGA link with the xclm files.
Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1718


« Reply #169 on: December 26, 2017, 10:13:04 22:13 »

If you see "Patched SHA in 2 of 4 files" then 2 files couldn't be written to.

Check file permissions/attributes on cgpic.exe & cgpic18.exe.
Logged
alichan
Junior Member
**
Offline Offline

Posts: 94

Thank You
-Given: 28
-Receive: 88


« Reply #170 on: December 28, 2017, 10:50:58 10:50 »

Alo.

I could patch the files finally, but I'm not still sure what happened. It looks some process was owing those files magically for no apparent reason.

Thanks for helping.
Logged
Dadabe
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 50
-Receive: 1


« Reply #171 on: May 23, 2018, 12:44:53 12:44 »

Hello,
I just understood, using the procedure under DOS indicated by mars01, that it is absolutely essential to patch as Administrator. Everything is done under Win10-64 bits as indicated in the DOS window. Like what, sometimes, a small picture is worth more than a detailed statement. Many thanks to mars01 in may18.
Best Regards.
Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 845

Thank You
-Given: 3005
-Receive: 4336


« Reply #172 on: June 13, 2018, 07:19:34 19:19 »

hi

to download use this direct link:
http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v2.00-full-install-windows-installer.exe

to patch the PICs compiler:
rename the xclm.exe, in folder C:\Program Files\Microchip\xc8\v2.00\bin, to xclm.old and put the cracked xclm.exe (26624 bytes) in this folder
copy/paste the xclm.old and xclm.exe to folder C:\Program Files\Microchip\xc8\v2.00\pic\bin.
In the last folder run the xclm.exe

regards
mitsos

PS I'm not sure if the AVRs compiler needs a patch

« Last Edit: June 13, 2018, 10:03:19 22:03 by mitsos » Logged
koky
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 149
-Receive: 157


WWW
« Reply #173 on: June 18, 2018, 06:16:10 06:16 »

with Xc8 2.00 the patch don't work
Logged
lm317
Junior Member
**
Offline Offline

Posts: 92

Thank You
-Given: 123
-Receive: 29


« Reply #174 on: June 18, 2018, 03:57:12 15:57 »

The patch works fine, as mitsos described with Xc8 2.00 . Tested.No problem.

 
to download use this direct link:
http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v2.00-full-install-windows-installer.exe

to patch the PICs compiler:
rename the xclm.exe, in folder C:\Program Files\Microchip\xc8\v2.00\bin, to xclm.old and put the cracked xclm.exe (26624 bytes) in this folder
copy/paste the xclm.old and xclm.exe to folder C:\Program Files\Microchip\xc8\v2.00\pic\bin.
In the last folder run the xclm.exe

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