|
microcris
Newbie
Offline
Posts: 7
Thank You
-Given: 4
-Receive: 3
|
|
« Reply #76 on: June 18, 2014, 04:29:22 16:29 » |
|
It's working on Linux Microchip MPLAB XC8 C Compiler (PRO Mode) V1.32 Part Support Version: 1.32 (A)
I'm seeing that your xclm is no longer a simple license manager it also makes some more magic thanks
|
|
« Last Edit: June 18, 2014, 05:30:30 17:30 by microcris »
|
Logged
|
|
|
|
waicon
Active Member
Offline
Posts: 134
Thank You
-Given: 57
-Receive: 79
I'm learning to Dream...not Relaxing...zzZ
|
|
« Reply #77 on: June 19, 2014, 01:12:42 13:12 » |
|
my not working i replace xclm.exe and ran once as admin, not works see txt
|
|
|
Logged
|
|
|
|
Top
Senior Member
Offline
Posts: 339
Thank You
-Given: 52
-Receive: 1719
|
|
« Reply #78 on: June 19, 2014, 01:22:03 13:22 » |
|
Open a command prompt, CD to your install folder (CD C:\Program Files (x86)\Microchip\xc8\v1.32\bin\) and type xclm[Enter].
Do you see any output?
|
|
|
Logged
|
|
|
|
microcris
Newbie
Offline
Posts: 7
Thank You
-Given: 4
-Receive: 3
|
|
« Reply #79 on: June 19, 2014, 01:23:46 13:23 » |
|
my not working i replace xclm.exe and ran once as admin, not works see txt Just to be sure... Do you made a copy of the original xclm.exe and named it as xclm.old?
|
|
|
Logged
|
|
|
|
waicon
Active Member
Offline
Posts: 134
Thank You
-Given: 57
-Receive: 79
I'm learning to Dream...not Relaxing...zzZ
|
|
« Reply #80 on: June 19, 2014, 02:06:02 14:06 » |
|
yes, even , uninstall and install, PRO mode batch file include here. show today "dead" echo. echo Creating license file %FILE% echo This license created by Microchip Web Activation >> %FILE% echo Please do not edit the contents of this file >> %FILE% echo Created on 4/19/2014 1:26:57 AM >> %FILE% echo. >> %FILE% echo. >> %FILE% echo LICENSE microchip swxc8-demo 1.0 19-jun-2014 uncounted >> %FILE% echo hostid=002622007621 _ck=f432fc0b5a sig=^"60PG453YDGS799T5K9UMW85UMTVR >> %FILE% echo M62QPQ9Y1X022M0940JBF2FS5SPFR6NY34NGER67509DDD6G^" >> %FILE% echo. >> %FILE% echo. >> %FILE%
|
|
|
Logged
|
|
|
|
Top
Senior Member
Offline
Posts: 339
Thank You
-Given: 52
-Receive: 1719
|
|
« Reply #81 on: June 19, 2014, 02:19:59 14:19 » |
|
@waicon
Open a command prompt, CD to your install folder (CD C:\Program Files (x86)\Microchip\xc8\v1.32\bin\) and type xclm[Enter].
Do you see any output?
|
|
|
Logged
|
|
|
|
waicon
Active Member
Offline
Posts: 134
Thank You
-Given: 57
-Receive: 79
I'm learning to Dream...not Relaxing...zzZ
|
|
« Reply #82 on: June 19, 2014, 02:32:02 14:32 » |
|
yes patched i'm mis-take rename to xclm.exe.old
********It's works**********
|
|
|
Logged
|
|
|
|
microcris
Newbie
Offline
Posts: 7
Thank You
-Given: 4
-Receive: 3
|
|
« Reply #83 on: June 19, 2014, 02:37:34 14:37 » |
|
In the first time I also forgot to create the xclm.old but the new xclm warned me that it was unable to find the xclm.old.
|
|
|
Logged
|
|
|
|
waicon
Active Member
Offline
Posts: 134
Thank You
-Given: 57
-Receive: 79
I'm learning to Dream...not Relaxing...zzZ
|
|
« Reply #84 on: June 19, 2014, 02:37:53 14:37 » |
|
but how come the code size not reduce?
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #85 on: June 19, 2014, 04:46:57 16:46 » |
|
may be your project setting is still not in PRO mode.
In the project properties: XC8 Global Options > XC8 Compiler > In Options categories select optimizations, you will find operation mode: Free, Standard and PRO
|
|
|
Logged
|
|
|
|
waicon
Active Member
Offline
Posts: 134
Thank You
-Given: 57
-Receive: 79
I'm learning to Dream...not Relaxing...zzZ
|
|
« Reply #86 on: June 19, 2014, 08:53:33 20:53 » |
|
works now . in PRO mode drop 9.7% -------- Memory Summary: Program space used 295h ( 661) of 800h words ( 32.3%) Data space used 25h ( 37) of E0h bytes ( 16.5%) EEPROM space used 0h ( 0) of 80h bytes ( 0.0%) Data stack space used 0h ( 0) of 50h bytes ( 0.0%) Configuration bits used 1h ( 1) of 1h word (100.0%) ID Location space used 0h ( 0) of 4h bytes ( 0.0%) -------
|
|
|
Logged
|
|
|
|
h0nk
Senior Member
Offline
Posts: 257
Thank You
-Given: 226
-Receive: 231
|
|
« Reply #87 on: June 20, 2014, 05:56:38 17:56 » |
|
Hello,
i was not able to customize the hotkeys in XC8 V1.31 together with MPLAB 8.90. Is this fixed in XC8 V1.32?
Best Regards
|
|
|
Logged
|
|
|
|
juvann
Newbie
Offline
Posts: 18
Thank You
-Given: 7
-Receive: 61
|
|
« Reply #88 on: July 13, 2014, 03:30:53 15:30 » |
|
Now xc8 calculate the sha1sum of file xclm in a wrong way I don't understand yet For linux version 1.32 with can change 2 byte at offset 0x33899 from 0x75 0xdd to 0x90 0x90 and should be work without problems with xclm compiled from my source code
|
|
|
Logged
|
|
|
|
Wannabe
Global Moderator
Senior Member
Offline
Posts: 430
Thank You
-Given: 228
-Receive: 285
|
|
« Reply #89 on: July 14, 2014, 01:40:37 01:40 » |
|
Now xc8 calculate the sha1sum of file xclm in a wrong way I don't understand yet For linux version 1.32 with can change 2 byte at offset 0x33899 from 0x75 0xdd to 0x90 0x90 and should be work without problems with xclm compiled from my source code
I think Top has solved that problem already, it's a SHA0 checksum, not SHA1.
|
|
|
Logged
|
|
|
|
Finzi
Newbie
Offline
Posts: 18
Thank You
-Given: 22
-Receive: 23
|
|
« Reply #90 on: July 31, 2014, 03:35:10 03:35 » |
|
In my case, MAC OS X 10.9.2, it is not working. First, I've renamed xclm to xclm.old. Second, I've copied patch to bin folder. Third, I've executed command "chmod 755 xclm" in order to add the execute attribute to xclm file. Fourth, I've executed "sudo xclm". Nothing happend. Not even a warning message.
Am I doing something wrong?
Thanks in advance.
|
|
|
Logged
|
|
|
|
Top
Senior Member
Offline
Posts: 339
Thank You
-Given: 52
-Receive: 1719
|
|
« Reply #91 on: July 31, 2014, 09:38:07 09:38 » |
|
In my case, MAC OS X 10.9.2, it is not working.
Which version of the fix and XC compiler are you using?
|
|
|
Logged
|
|
|
|
Finzi
Newbie
Offline
Posts: 18
Thank You
-Given: 22
-Receive: 23
|
|
« Reply #92 on: July 31, 2014, 01:18:06 13:18 » |
|
Compiler version: 1.32 with the latest fix (19-Jun-2014). Maybe I'm doing something wrong, but o don't know what could be.
|
|
|
Logged
|
|
|
|
Top
Senior Member
Offline
Posts: 339
Thank You
-Given: 52
-Receive: 1719
|
|
« Reply #93 on: July 31, 2014, 09:56:41 21:56 » |
|
Compiler version: 1.32 with the latest fix (19-Jun-2014). Maybe I'm doing something wrong, but o don't know what could be. Please double check; open a terminal, change to the directory where xclm is and enter ./xclm
|
|
|
Logged
|
|
|
|
Finzi
Newbie
Offline
Posts: 18
Thank You
-Given: 22
-Receive: 23
|
|
« Reply #94 on: July 31, 2014, 11:37:37 23:37 » |
|
It worked!!!! The problem was related to the way I was trying to run xclm. Using the sintaxe you gave-me "./xclm" solved the problem. Thanks a lot!!!
|
|
|
Logged
|
|
|
|
Catcatcat
Senior Member
Offline
Posts: 432
Thank You
-Given: 284
-Receive: 1653
|
|
« Reply #95 on: September 06, 2014, 11:13:24 11:13 » |
|
|
|
|
Logged
|
|
|
|
TucoRamirez
Senior Member
Offline
Posts: 307
Thank You
-Given: 257
-Receive: 115
Tuco ... dead or Alive
|
|
« Reply #96 on: September 06, 2014, 04:27:52 16:27 » |
|
my complaint with the compiler is that it 'decides' what to compile in certain cases. for no reason, when i was using a variable in a loop and loading values inside and reusing outside the loop and compiler (with and without optimisations enabled) told me in the log file "variable unused" and did not compiled some lines of code, then i got weird behavior while debugging coff file.. does anybody have experienced that behavior?
|
|
|
Logged
|
Whoever double crosses me and leaves me alive... he understands nothing about Tuco.
|
|
|
dennis78
Active Member
Offline
Posts: 122
Thank You
-Given: 272
-Receive: 154
|
|
« Reply #97 on: September 07, 2014, 02:55:34 02:55 » |
|
my complaint with the compiler is that it 'decides' what to compile in certain cases. for no reason, when i was using a variable in a loop and loading values inside and reusing outside the loop and compiler (with and without optimisations enabled) told me in the log file "variable unused" and did not compiled some lines of code, then i got weird behavior while debugging coff file.. does anybody have experienced that behavior?
I don't have experience with this compiler, but did you try with "volatile" keyword?
|
|
|
Logged
|
|
|
|
microcris
Newbie
Offline
Posts: 7
Thank You
-Given: 4
-Receive: 3
|
|
« Reply #98 on: September 07, 2014, 10:41:57 10:41 » |
|
I don't have experience with this compiler, but did you try with "volatile" keyword?
Long time ago I passed through this and it was, in fact, all about the volatile directive. (And that's how I learned how and when to use the volatile keyword )
|
|
« Last Edit: September 07, 2014, 01:11:59 13:11 by microcris »
|
Logged
|
|
|
|
jcddcjjcd
Newbie
Offline
Posts: 9
Thank You
-Given: 0
-Receive: 7
|
|
« Reply #99 on: September 08, 2014, 08:43:12 08:43 » |
|
What is the perception of XC8 as compared to C18. I waited until recently to change since C18 is no longer supported and so far after a couple of weeks I am finding the amount of changes the need to be made to code is enormouse. Also ccp.exe seems to crash frequently for something as simple as an unneeded hex file being included. I am thinking of sticking with C18 for a while longer.
Anyone have opinions on XC8 they could share with me.
Regards, John.
|
|
|
Logged
|
|
|
|
|