Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 01:21:07 13:21


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

Posts: 37

Thank You
-Given: 450
-Receive: 54


« Reply #50 on: January 22, 2014, 08:54:34 08:54 »

XC8 compiler works in "free mode". xclm.exe was replaced with the Top's medicine.
I changed back to the 1.21 - no any problems.
May be I did something wrong?
Logged
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #51 on: January 22, 2014, 05:12:15 17:12 »

XC8 1.30 works
delete the XC8 1.21 folder,  install 1.30 and replace xclm
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 432

Thank You
-Given: 284
-Receive: 1646



WWW
« Reply #52 on: January 23, 2014, 07:50:21 19:50 »

I installed version 1.20, 1.21, 1.30, and at the same time all work. Smiley
Logged
ehnonymouse
Newbie
*
Offline Offline

Posts: 28

Thank You
-Given: 15
-Receive: 13


« Reply #53 on: January 24, 2014, 02:55:58 14:55 »

Now I'm thinking my issue is a compiler bug.
Logged
malinbay
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 14
-Receive: 6


« Reply #54 on: May 15, 2014, 11:09:52 23:09 »

C++ is include in XC32 from version 1.11. You can download a free license from Microchip. I never tested XC32++, I will try it with fake xclm.

EDIT
New version, now is supported also PRO for C++, just replace xclm in xc32/bin/ directory and works C and C++.



re-upload please..
Logged
green_paint
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 12
-Receive: 1


« Reply #55 on: May 20, 2014, 11:27:25 23:27 »

I installed the medicine on a XC8 v1.30 compiled program.  The program memory used was reduced significantly, (from 75% to %22.5 in standard mode and to %16.5 in pro mode).
A problem arises when a function where strings are handled, stops working when its compiled in pro mode. In standard and free mode the algorithm works just fine.
Does anyone had this kind of a problem?
Regards
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #56 on: May 21, 2014, 03:45:55 03:45 »

If the strings are in the program memory then i think it is packed as 7 bit characters. Me will try to find on the manual if there is a way to disable this feature.

-ichan
Logged

There is Gray, not only Black or White.
Catcatcat
Senior Member
****
Offline Offline

Posts: 432

Thank You
-Given: 284
-Receive: 1646



WWW
« Reply #57 on: May 21, 2014, 04:30:19 04:30 »

I think this is not a problem medicine is a problem of the compiler, "at the current stage of development"  Cheesy
« Last Edit: May 21, 2014, 04:48:33 04:48 by Catcatcat » Logged
h0nk
Senior Member
****
Offline Offline

Posts: 257

Thank You
-Given: 226
-Receive: 231



« Reply #58 on: May 21, 2014, 07:55:38 07:55 »


Hello green-paint,

For midrange devices XC8 doesnt use the DA directive to pack 7-bit ASCII's into a 14 bit word,
because there is no generic way to access flash memory on a range of PIC devices.

If a variable is declared const, XC8 generates code to access the variable via RETLW instructions.
Otherwise XC8 reserves a chunk of memory (aka registers) and copies the string into this chunk.
This might inappropriate for large static text :-).

It would be helpful to separate Your source into relevant pieces and take a look
at the generated code and to separate out the part at which the compiler fails.


Best Regards
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #59 on: May 21, 2014, 08:15:40 08:15 »

this is why we were hoping that microchip bought cc5x instead of hitech Cheesy
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #60 on: May 21, 2014, 11:47:55 11:47 »

I installed the medicine on a XC8 v1.30 compiled program.  The program memory used was reduced significantly, (from 75% to %22.5 in standard mode and to %16.5 in pro mode).
A problem arises when a function where strings are handled, stops working when its compiled in pro mode. In standard and free mode the algorithm works just fine.
Does anyone had this kind of a problem?
Regards
How do you decleare and access your strings. Can post some code showing your problem
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #61 on: June 24, 2014, 08:13:50 20:13 »

XC8 1.31 works but  1.32  donīt works  Huh

Microchip MPLAB XC8 C Compiler (Free Mode) V1.31
License type: Node Configuration
Program Used: 1768 (0x6E8) Free: 31000 (0x7918)

--mode=pro
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.31
License type: Node Configuration
Program Used: 1390 (0x56E) Free: 31378 (0x7A92)

Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
License type: Node Configuration
Program Used: 1676 (0x68C) Free: 31092 (0x7974)

--mode=pro
Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
License type: Node Configuration
Program Used: 1676 (0x68C) Free: 31092 (0x7974)


Logged
Wannabe
Global Moderator
Senior Member
*****
Offline Offline

Posts: 430

Thank You
-Given: 228
-Receive: 285



« Reply #62 on: June 24, 2014, 10:53:59 22:53 »

Are you using latest fix?
http://www.sonsivri.to/forum/index.php?topic=44014.0
Logged
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #63 on: June 25, 2014, 08:50:53 20:50 »

Yes, i use the last fix.
date: 19.06.2014

Windows
MD5: 10ced13a23a1129ecf040c32556d4b99
« Last Edit: June 25, 2014, 08:55:58 20:55 by Interprog » Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #64 on: June 25, 2014, 09:17:31 21:17 »

upload ur code, can't reproduce ur results:


Code:
Memory Summary, free mode:
    Program space        used  1D8Ah (  7562) of  8000h bytes   ( 23.1%)
    Data space           used   135h (   309) of   800h bytes   ( 15.1%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     8h (     8) of     8h bytes   (100.0%)
    Data stack space     used     0h (     0) of   36Eh bytes   (  0.0%)


Memory Summary, pro mode:
    Program space        used  1654h (  5716) of  8000h bytes   ( 17.4%)
    Data space           used   12Ch (   300) of   800h bytes   ( 14.6%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     8h (     8) of     8h bytes   (100.0%)
    Data stack space     used     0h (     0) of   384h bytes   (  0.0%)
« Last Edit: June 25, 2014, 09:25:12 21:25 by metal » Logged
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #65 on: June 25, 2014, 09:45:41 21:45 »

Sorry, I do not want to publish the program.
I have test this code and the same result , 1.32 only free mode
http://ww1.microchip.com/downloads/en/DeviceDoc/11_Indirection.zip

Microchip MPLAB XC8 C Compiler (Free Mode) V1.31
Program Used: 124 (0x7C) Free: 8068 (0x1F84)
    Program space        used    7Ah (   122) of  2000h words   (  1.5%)
    Data space           used    1Ah (    26) of   400h bytes   (  2.5%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   316h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Microchip MPLAB XC8 C Compiler (PRO Mode) V1.31
Program Used: 86 (0x56) Free: 8106 (0x1FAA)
Memory Summary:
    Program space        used    54h (    84) of  2000h words   (  1.0%)
    Data space           used    12h (    18) of   400h bytes   (  1.8%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   31Eh bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
Program Used: 125 (0x7D) Free: 8067 (0x1F83)

Memory Summary:
    Program space        used    7Bh (   123) of  2000h words   (  1.5%)
    Data space           used    1Ah (    26) of   400h bytes   (  2.5%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   316h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

--mode=pro   
but run in freemode
Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
Program Used: 125 (0x7D) Free: 8067 (0x1F83)

Memory Summary:
    Program space        used    7Bh (   123) of  2000h words   (  1.5%)
    Data space           used    1Ah (    26) of   400h bytes   (  2.5%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   316h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)
« Last Edit: June 25, 2014, 09:50:26 21:50 by Interprog » Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4666

Thank You
-Given: 833
-Receive: 4320


There is no evidence that I muted SoNsIvRi


« Reply #66 on: June 25, 2014, 10:01:35 22:01 »



Sorry, I do not want to publish the program.

Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
Program Used: 125 (0x7D) Free: 8067 (0x1F83)

Memory Summary:
    Program space        used    7Bh (   123) of  2000h words   (  1.5%)
    Data space           used    1Ah (    26) of   400h bytes   (  2.5%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   316h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

--mode=pro   
but run in freemode
Microchip MPLAB XC8 C Compiler (Free Mode) V1.32
Program Used: 125 (0x7D) Free: 8067 (0x1F83)

Memory Summary:
    Program space        used    7Bh (   123) of  2000h words   (  1.5%)
    Data space           used    1Ah (    26) of   400h bytes   (  2.5%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   316h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)
All I see is your running the same code in pro mode (freemode) and getting the same result as the free version.
So what are you expecting?
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #67 on: June 25, 2014, 10:11:35 22:11 »

I think the crack does not work with the 1.32 version, it always run in free mode and not pro mode.
Can you test the xc8 1.32 version in pro mode.
Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1719


« Reply #68 on: June 25, 2014, 10:17:23 22:17 »

I think the crack does not work with the 1.32 version, it always run in free mode and not pro mode.

Open a command prompt, change to your install folder (CD C:\Program Files (x86)\Microchip\xc8\v1.32\bin\), type xclm and hit enter.

Do you see any output?
Logged
Interprog
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 18
-Receive: 8


« Reply #69 on: June 25, 2014, 10:52:57 22:52 »

Thanks , you are right.

It is solved, xc8 1.32 run in pro mode now.  Cheesy
The problem was it not found the xclm.old.
The environment variable path was false.

Microchip MPLAB XC8 C Compiler (PRO Mode) V1.32
Memory Summary:
    Program space        used    55h (    85) of  2000h words   (  1.0%)
    Data space           used    12h (    18) of   400h bytes   (  1.8%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   31Eh bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)
Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 860

Thank You
-Given: 3086
-Receive: 4596


« Reply #70 on: July 04, 2014, 08:50:41 20:50 »

hi

after trying the last patches from Top,
I find these:
the previous xclm.exe (19968 bytes-12/6/2014) is working well in xc8-1.32 and xc16-1.21
and the last xclm.exe ( 26624 bytes-20/6/2014) is working only in xc32-1.32

regards
mitsos

unistall/reinstall the compilers and apply the patch using the last xclm.exe (26624 bytes)
« Last Edit: July 05, 2014, 08:01:54 20:01 by mitsos » Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1719


« Reply #71 on: July 04, 2014, 10:57:51 22:57 »

and the last xclm.exe ( 26624 bytes-20/6/2014) is working only in xc32-1.32

The 'last xclm.exe' should work with all compilers; be careful when swapping xclm.exe, you must always rename the old xclm.exe to xclm.old and then run xclm.exe once as admin to maintain the correct hash in the compilers. If you have any problems then open a command prompt, change to your install directory and run xclm.exe, if you have a v1.32 compiler then you should see 'OK'.
Logged
folkeu
Active Member
***
Offline Offline

Posts: 219

Thank You
-Given: 126
-Receive: 300


« Reply #72 on: July 05, 2014, 10:32:09 22:32 »

Hi,
It's not possible tu download the last fix for me. I have an error on the page to http://uppit.com/.
This error is when i generate the link :
Quote
Software error:
Can't exec:
Column 'ip' cannot be null at Modules/DataBase.pm line 55.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. 

Have I only this problem ?
It"s is possible to report this fix on another downloader ? 
Logged
Thiru09
Cracking Team
Senior Member
****
Offline Offline

Posts: 327

Thank You
-Given: 395
-Receive: 1184



« Reply #73 on: July 06, 2014, 06:19:11 06:19 »

Uploaded to Mirrorcreator

Regards,
Thiru
Logged
jannie
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 2


« Reply #74 on: August 14, 2014, 09:40:05 21:40 »

Ok for others that still only getting free mode when build project
not sure if it is mentioned in previos post's
remember to change your optimizations operation mode to PRO after medicine MPLAB X
Logged
Pages: 1 2 [3] 4 5 6 7 8 9 10 ... 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