The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 10:28:46 10:28


Login with username, password and session length


Author Sticky post (Click Here to visit source)
metal
Global Moderator
XC32 Compilers Discussion Topic
Pages: 1 2 3 [All]
Print
Author Topic: XC32 Compilers Discussion  (Read 66861 times)
0 Members and 1 Guest are viewing this topic.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« on: June 29, 2012, 12:20:40 00:20 »

XC32 Compilers Discussion Topic
Logged
8bitMCU
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 6
-Receive: 19


« Reply #1 on: August 10, 2012, 11:39:48 23:39 »

MPLAB xc32 v1.10 has been release

http://www.microchip.com/mplabxc32windows

New Features in MPLAB® XC32 v1.10

Support for C++

Standard C++ Library


Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #2 on: August 12, 2012, 11:10:48 11:10 »

Just downloaded XC8, XC16 and XC32 1.10; tested with current fix; results:

- XC8 1.10 - fine, works in Pro mode with all optimizations;
- XC16 1.10 - fine, works in Pro mode with all optimizations;
- XC32 1.10 - DOESN'T WORK - the compiler stays in Free mode, no optimizations allowed

I've tried to copy xclm.exe in the "\Program Files\Microchip\xc32\v1.10\bin" folder too, with no luck.

Please fix it, if possibile Smiley
Thank you very much in advance! Smiley
Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1718


« Reply #3 on: August 13, 2012, 07:20:55 19:20 »

- XC32 1.10 - DOESN'T WORK - the compiler stays in Free mode, no optimizations allowed

Fix updated; see http://www.sonsivri.to/forum/index.php?topic=44014.0
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #4 on: October 05, 2012, 10:50:54 10:50 »

XC32 1.11 is out!
testing now...


update: latest "medicine" seems to work  Cheesy
« Last Edit: October 05, 2012, 11:02:52 11:02 by marcodassi » Logged
tomywong
Active Member
***
Offline Offline

Posts: 134

Thank You
-Given: 98
-Receive: 203


« Reply #5 on: October 26, 2012, 03:01:26 03:01 »

XC32 1.11a is out

http://ww1.microchip.com/downloads/en/DeviceDoc/xc32-v1.11a-windows-installer.exe
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #6 on: October 26, 2012, 11:32:17 11:32 »


latest "medicine" seems to work on this update too  Cheesy  Cheesy
Logged
respected
Inactive

Offline Offline

Posts: 6

Thank You
-Given: 1
-Receive: 1


« Reply #7 on: November 28, 2012, 12:07:07 12:07 »

This medicine is *.c file but it doesn't work *.cpp file.
Microchip released cpp license file at web page.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #8 on: December 11, 2012, 09:28:29 21:28 »

FYI

XC32 v1.20 ! http://ww1.microchip.com/downloads/en/DeviceDoc/xc32-v1.20-windows-installer.exe

Medicine Rocks !

Manuel.
Logged

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

Posts: 170

Thank You
-Given: 3935
-Receive: 133


information is free and should be shared for free


« Reply #9 on: February 06, 2013, 07:44:43 19:44 »


Microchip's Free MPLAB® XC32++ Compiler for all 32-bit PIC32 MCUs offers unlimited code generation

Key Facts:

    Free C++ Compiler enables maximum code re-use
    Standards compliant for commercial applications
    Includes Dinkumware® Libraries and has no time or memory limits
    Supports all Microchip 32-bit PIC32 microcontrollers
    Workstation and network server licenses are also available for best-in-class optimisations

Microchip has announced its free C++ compiler with unlimited code generation: The Free MPLAB® XC32++ Compiler supports all of Microchip’s 32-bit PIC32 microcontrollers (MCUs). This compiler enables designers to develop and re-use C++ projects by making all of Microchip’s C language extensions available in an environment that is compliant with the majority of C++98 and C++2003 ANSI standards. Additionally, the Free MPLAB XC32++ Compiler includes Dinkumware® standard C, C++, and template libraries.

The Free version of the MPLAB XC32++ Compiler is available for download now; has no time or memory limits; and can be used in a broad range of commercial applications, from industrial to academic environments. For users who demand best-in-class optimisations or a network server license, the MPLAB XC32++ PRO Workstation License (SW006023-3), and the MPLAB XC32++ PRO Network Server License (SW006023-3N), are also available. Existing licensees of Microchip’s MPLAB XC32 compilers can add the XC32++ option with a workstation or network-server license.

For more information, or to download the Free version of the MPLAB XC32++ Compiler, visit Microchip’s Web site at http://www.microchip.com/get/10E7. The MPLAB XC32++ PRO Workstation License and MPLAB XC32++ PRO Network Server License are available at: http://www.microchip.com/get/R7TC
Logged

find it , read it , share it .
8bitMCU
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 6
-Receive: 19


« Reply #10 on: May 02, 2013, 11:01:18 11:01 »

XC32 1.21 is out!

http://www.microchip.com/mplabxc32windows

testing medicine...
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #11 on: May 02, 2013, 03:52:30 15:52 »

seems to work Smiley
BTW, no major improvements in 1.21... "only" new parts, header & linker scripts updates
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #12 on: October 30, 2013, 04:08:37 16:08 »

released a new version Windows (x86/x64) MPLAB® XC32 Compiler v1.22
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #13 on: November 14, 2013, 03:30:09 15:30 »

FYI: released a new version Windows (x86/x64) MPLAB® XC32 Compiler v1.30

Manuel.
Logged

-> An Apple a Day does not Let U become a Macintosh!
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #14 on: November 14, 2013, 04:49:08 16:49 »

Manuel: Thank you, but: where is it? Smiley

edit: found! on the mchip site (but is still listed as 1.22)
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #15 on: November 14, 2013, 06:25:04 18:25 »

Do not believe what is written, and just click and you will be happy Cheesy
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #16 on: January 10, 2014, 12:32:55 12:32 »

Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #17 on: June 03, 2014, 11:36:23 11:36 »

FYI: released a new version Windows (x86/x64) MPLAB® XC32 Compiler v1.32

'njoy

Manuel.
Logged

-> An Apple a Day does not Let U become a Macintosh!
marcodassi67
Inactive

 Warned
Offline Offline

Posts: 1

Thank You
-Given: 5
-Receive: 0


« Reply #18 on: June 16, 2014, 02:55:26 14:55 »

They check for modified xclm file as is in latest XC32 release.

hello petarp, you mean latest xclm doesn't work with XC32? I've tried it some time ago and it seems working,,,
Logged
petarp
Junior Member
**
Offline Offline

Posts: 68

Thank You
-Given: 26
-Receive: 51


« Reply #19 on: June 16, 2014, 04:16:50 16:16 »

Hi marcodassi67, Yes XC32 v1.32 checks for modified "xclm" file.
Here is the fix for XC32:
 1. Open "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\cc1.exe" file with hex editor.
 2. Find these bytes "75 6a 89 5d" and replace first two bytes with "90" ("90 90 89 5d").
 3. Do same with "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\cc1plus.exe" and "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\lto1.exe" files.
 4. And use latest "xclm" file from here.
It works for C++ too.

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

Posts: 430

Thank You
-Given: 228
-Receive: 285



« Reply #20 on: June 16, 2014, 05:17:53 17:17 »

Hi marcodassi67, Yes XC32 v1.32 checks for modified "xclm" file.
Here is the fix for XC32:
 1. Open "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\cc1.exe" file with hex editor.
 2. Find these bytes "75 6a 89 5d" and replace first two bytes with "90" ("90 90 89 5d").
 3. Do same with "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\cc1plus.exe" and "C:\Program Files\Microchip\xc32\v1.32\bin\bin\gcc\pic32mx\4.5.2\lto1.exe" files.
 4. And use latest "xclm" file from here.
It works for C++ too.

Regards.
And here is the patcher for XC32. Great work, petarp  Smiley
I guess there's only a matter of time before XC16 needs the same treatment...
« Last Edit: June 16, 2014, 05:20:20 17:20 by Wannabe » Logged
juvann
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 7
-Receive: 61


« Reply #21 on: July 13, 2014, 03:16:16 15:16 »

Now xc32 calculate the sha256sum of file xclm.
In linux version the sum of origina xclm is 4fae1d53570ebffe637d8c5f77789ecbe690f67af65d0e3af8474bfee479239e
with a perl command with can replace it with new sum
Code:
sha256sum /opt/microchip/xc32/v1.32/bin/xclm
perl -pi -e 's/4fae1d53570ebffe637d8c5f77789ecbe690f67af65d0e3af8474bfee479239e/NEW VALUE OF SHA256SUM/g' /opt/microchip/xc32/v1.32/bin/bin/gcc/pic32mx/4.5.2/cc1
perl -pi -e 's/4fae1d53570ebffe637d8c5f77789ecbe690f67af65d0e3af8474bfee479239e/NEW VALUE OF SHA256SUM/g' /opt/microchip/xc32/v1.32/bin/bin/gcc/pic32mx/4.5.2/cc1plus
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #22 on: August 14, 2014, 04:17:05 16:17 »

MPLAB® XC32 Compiler v1.34
« Last Edit: December 12, 2014, 10:04:48 10:04 by Catcatcat » Logged
frnando
Newbie
*
Offline Offline

Posts: 24

Thank You
-Given: 10
-Receive: 4


« Reply #23 on: November 10, 2014, 09:55:38 21:55 »

Sorry, but the patcher/xclm is still working with v1.33?
Thanks.
Logged
bluex
Junior Member
**
Offline Offline

Posts: 83

Thank You
-Given: 10
-Receive: 39


« Reply #24 on: December 26, 2014, 11:22:25 23:22 »

v1.34 cannot be activated with provided medecine. read details here
http://www.eevblog.com/forum/microcontrollers/embeddedgurus-com-'an-open-letter-to-the-developers-of-the-mplab-ide'/msg465950/#msg465950
Logged
pic64
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 1


« Reply #25 on: June 18, 2015, 08:51:43 20:51 »

New XC32 1.40

http://www.microchip.com/mplabxc32windows
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #26 on: June 19, 2015, 08:19:40 08:19 »

Even updated 1.40 XC32 part support

https://www.microchip.com/mplabxc32-ps-windows

Manuel
Logged

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

Posts: 64

Thank You
-Given: 58
-Receive: 56



« Reply #27 on: December 04, 2015, 08:37:39 20:37 »

Fix for XC32 v1.40.

Steps:
 1. Open "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\cc1.exe" file with your favorite hex editor.
 2. Find and replace these bytes "0F 85 CC 00 00 00 8D 44" with "90 E9 00 00 00 00 8D 44".
 3. Do same with "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\cc1plus.exe" and "C:\Program Files\Microchip\xc32\v1.40\bin\bin\gcc\pic32mx\4.8.3\lto1.exe" files.
 4. Use latest "xclm" file from here, i.e:

xclm
Code:
int main(){
    return 2;
}

Tested under Windows 10 and MPLAB X IDE v3.15.

More info: http://www.jubatian.com/articles/turning-on-optimizations-in-microchips-xc32/

Note: I used the same technique that petarp, but now:

90 = nop
E9 = jmp
00 00 00 00 = $ + 5

Cheers.
Logged

Problems that appear small are large problems that are not fully understood.
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #28 on: July 14, 2017, 10:51:16 10:51 »

Update MPLAB® XC32 v1.44

Fixed in v1.44
Quote
XC32-720
In the MPLAB XC32 v1.43 release, the linker incorrectly treated all symbols in the input object files as weak. This meant that non-weak symbols could not override weak symbols. The correct behavior of weak and non-weak symbols has been restored.
XC32-709
When compiling and linking with Smart IO and the Legacy Libc, printf() and related functions may print incorrect output. Under some conditions, the format specifier could get printed. This issue has been fixed.
XC32-708
In XC32 v1.43 and earlier, When compiling and linking with the Non-Legacy Libc, printf() and related functions did not handle the %ll conversion specifier correctly when the value has non-zero bits in the upper 32-bit positions.
XC32-707
XC32 v1.43 emitted a linker error when applying the coherent attribute to a zero-sized section. (Ex: uint8_t __attribute__((coherent)) ary[0]; ) The linker now emits an error when it can't allocate only non-zero sized sections.

The medicine works !!
Logged
Git
V.I.P
Junior Member
*****
Offline Offline

Posts: 65

Thank You
-Given: 94
-Receive: 19



« Reply #29 on: February 08, 2018, 10:24:09 22:24 »

Any medicine for XC32 2.05 please?
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #30 on: February 09, 2018, 08:07:33 08:07 »

Compared the work of version 1.44 and 2.05
- 3 - Optimize yet more favoring speed
medicine "standard"  Cheesy

as for my project, it makes no difference, everything works!
Logged
Git
V.I.P
Junior Member
*****
Offline Offline

Posts: 65

Thank You
-Given: 94
-Receive: 19



« Reply #31 on: February 09, 2018, 01:10:43 13:10 »

I looked with a magnifier, but still no difference to see Smiley

Plenty of    0F 85 CC 00 00 00 xx xx
but no       0F 85 CC 00 00 00 8D 44

« Last Edit: February 09, 2018, 02:16:53 14:16 by Git » Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 57
-Receive: 41


« Reply #32 on: February 10, 2018, 11:57:41 11:57 »

I don't know about the patch shown here, but the medicine in the 'XC - software only' thread appears to work for XC32 2.05

http://www.sonsivri.to/forum/index.php?topic=44014.0
Logged
adamantium
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 17
-Receive: 7


« Reply #33 on: February 19, 2018, 03:25:28 03:25 »

Any medicine for XC32 2.05 please?


I can also confirm the old xclm.exe works, just rename the one in the /bin directory to xclm.old, copy in the xclm.exe patcher and run as administrator.
Logged
MetaMetal
Junior Member
**
Offline Offline

Posts: 46

Thank You
-Given: 64
-Receive: 239


« Reply #34 on: December 15, 2018, 02:50:29 14:50 »

xc32 v2.15 is out.
medicine works fine.
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #35 on: June 08, 2019, 06:24:33 18:24 »

MPLAB® XC32/32++ Compiler v2.20 (link to the latest compiler version)

everything is working!

Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #36 on: August 30, 2019, 06:56:57 06:56 »

MPLAB® XC32/32++ Compiler v2.40 (link to the latest compiler version)

everything is working!
« Last Edit: February 22, 2020, 07:49:50 19:49 by Catcatcat » Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #37 on: May 30, 2020, 02:04:10 14:04 »

updated to MPLAB® XC32/32++ Compiler v2.41

Thank you , still perfect.

X!
Logged

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

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #38 on: September 24, 2020, 08:39:35 08:39 »

MPLAB® XC32/32++ Compiler v2.50 (link to the latest compiler version)

everything is working!

On my projects, the new version of the compiler has shown an improvement in optimization for data in RAM (packs 1.2.51).
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #39 on: May 13, 2021, 01:30:09 13:30 »

MPLAB XC32 32++ Compiler 3.00

Just tested with the "classic" medicine... no luck this time - the patch crashes cc1.exe

BTW, there are some undocumented changes... specifically, in the gcc options, some of them have changed name
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #40 on: May 13, 2021, 06:57:25 18:57 »

And V3.0 did not work for me  Sad
Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1718


« Reply #41 on: May 13, 2021, 11:38:48 23:38 »

I just tested my fix with a simple XC32 v3 project and it seems to work fine.

Tell me how to reproduce this issue.
Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #42 on: May 14, 2021, 06:25:33 06:25 »

Here use this medicine, it should work for all future V3.xx as well
« Last Edit: September 06, 2021, 07:43:19 07:43 by danymogh » Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #43 on: May 14, 2021, 09:29:17 09:29 »

Here use this medicine, it should work for all future V3.xx as well

also, pray for me to become rich.
Thank you very much! The vaccine works! Smiley
To work, I additionally had to update .NET 5.0 Desktop Runtime (v5.0.6) https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-5.0.6-windows-x64-installer

Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #44 on: May 14, 2021, 10:01:36 10:01 »

Thank you very much! The vaccine works! Smiley
To work, I additionally had to update .NET 5.0 Desktop Runtime (v5.0.6) https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-5.0.6-windows-x64-installer

yes, sorry I forgot to mention you need .net 5 or above runtime to run the SHA-Patcher
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #45 on: May 14, 2021, 11:29:17 11:29 »

Thank you very much, danymogh!

Does this medicine works for XC8 and XC16 too, or is for XC32 only?

> also, pray for me to become rich.
Done, are you rich now? Smiley

Best regards
Logged
IVN1479
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 4
-Receive: 3


« Reply #46 on: June 17, 2021, 04:59:13 16:59 »

Here use this medicine, it should work for all future V3.xx as well

also, pray for me to become rich.

Hi.

Is the medicine compressed or has only the file extension been changed?

It doesn't work for me.

Posted on: June 17, 2021, 04:10:44 16:10 - Automerged

Hi.

Is the medicine compressed or has only the file extension been changed?

It doesn't work for me.

It has been compressed, sorry for the misunderstanding. It has worked correctly.

Regarding the new version (3.xx), there are changes in the concept of the C language.

My projects without harmony v2 or v3 compile perfectly with version XC32 v3.00, but those who use that tool, the compiler gives errors. Any suggestions what can be done?
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #47 on: June 23, 2021, 06:43:56 18:43 »

I was unable to activate version 3.01. Who managed to accomplish this? Please share. Sad
Logged
Top
Senior Member
****
Offline Offline

Posts: 339

Thank You
-Given: 52
-Receive: 1718


« Reply #48 on: June 23, 2021, 08:08:22 20:08 »

My fix seems to work okay on v3.01 too.

Tell me how to reproduce this issue.
Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #49 on: June 24, 2021, 05:07:51 05:07 »

I was unable to activate version 3.01. Who managed to accomplish this? Please share. Sad

my fix , like i said , should work for all 3.xx version and i checked for 3.01 and it still works.
do a clean install and it should fix any problem
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #50 on: June 24, 2021, 06:16:17 06:16 »

Thank you, it turned out to be activated! The problem was that I launched the cmd in normal mode, and not as an administrator. Cheesy
Logged
IVN1479
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 4
-Receive: 3


« Reply #51 on: June 24, 2021, 10:19:15 22:19 »

Hi.

Is the medicine compressed or has only the file extension been changed?

It doesn't work for me.

Posted on: June 17, 2021, 04:10:44 16:10 - Automerged


It has been compressed, sorry for the misunderstanding. It has worked correctly.

Regarding the new version (3.xx), there are changes in the concept of the C language.

My projects without harmony v2 or v3 compile perfectly with version XC32 v3.00, but those who use that tool, the compiler gives errors. Any suggestions what can be done?

I have fixed the problem with Harmony 3 and XC32 version 3.xx.

The solution is the next:

1. Harmony 3 packages must be updated.

2. Open the MHC and regenerate the project code.

The new generated code has the property of detecting if the compiler version is 2 or 3 is being used, depending on that it modifies the code so that there are no compilation errors.

There is no solution for Harmony 2 version, you must use the latest version of xc32 (2.50)
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #52 on: December 13, 2021, 02:06:26 14:06 »

XC32 v4.0 Arrived...

:-)

Manuel.
« Last Edit: December 13, 2021, 02:21:11 14:21 by Manuel » Logged

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

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #53 on: December 13, 2021, 07:24:41 19:24 »

Installed, performed wellness procedures, it works! Cheesy
Logged
danymogh
Junior Member
**
 Muted
Offline Offline

Posts: 37

Thank You
-Given: 14
-Receive: 24


« Reply #54 on: December 15, 2021, 05:51:26 17:51 »

Installed, performed wellness procedures, it works! Cheesy

Where did you get the installer file? it's not available online on the website.
Logged
giappolo
Active Member
***
Offline Offline

Posts: 147

Thank You
-Given: 1487
-Receive: 601


« Reply #55 on: December 16, 2021, 03:38:53 03:38 »

Link is on first post, i.e.
http://www.microchip.com/mplabxc32windows
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #56 on: December 17, 2021, 04:32:16 04:32 »

But today the license stopped working for both 4.00 and 3.01 Sad
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #57 on: December 17, 2021, 08:49:36 08:49 »

Used TOP medicine.

A small example for AT compiled properly including Analysis too.

Take Care,

Manuel.
Logged

-> An Apple a Day does not Let U become a Macintosh!
sparkybg
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


« Reply #58 on: December 18, 2021, 11:40:07 11:40 »

Fresh install. It does not find any licenses. xclm -status only says: "Microchip XC License Manager Version: 2.30".

This is both for 3.01 and 2.50.

I am using the medicine from this post:
http://www.sonsivri.to/forum/index.php?topic=45710.msg200806#msg200806

Any advice what to do?
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4639

Thank You
-Given: 823
-Receive: 4194


There is no evidence that I muted SoNsIvRi


« Reply #59 on: December 18, 2021, 03:11:48 15:11 »

Fresh install. It does not find any licenses. xclm -status only says: "Microchip XC License Manager Version: 2.30".

This is both for 3.01 and 2.50.

I am using the medicine from this post:
http://www.sonsivri.to/forum/index.php?topic=45710.msg200806#msg200806

Any advice what to do?
Try Google.com
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
sparkybg
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


« Reply #60 on: December 18, 2021, 05:24:29 17:24 »

Try Google.com

Trying it multiple times every day since it exists. Still no luck.  Grin
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #61 on: December 19, 2021, 11:52:43 11:52 »

The medicine does not help and no dancing with a tambourine helps.
I noticed that everything was fine until the last Windows update, after that the licensing stopped working. Sad
Logged
sparkybg
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


« Reply #62 on: December 20, 2021, 01:25:11 13:25 »

Used TOP medicine.

Manuel, please tell us where to download this "TOP medicine" from, because it is a bit confusing (for me at least) which one should we use.

@Catcatcat: If it will help, I can make a Windows 7 or Linux vitual machine and work from there if someone can confirm that there is a medicine wotking in this OS.

I only need MIPS16 option to be active, because the project is using the legacy libraries for PIC32 USB and refuses to compile without it.
« Last Edit: December 20, 2021, 01:27:50 13:27 by sparkybg » Logged
piccolo
Active Member
***
Offline Offline

Posts: 187

Thank You
-Given: 803
-Receive: 923


« Reply #63 on: December 20, 2021, 04:58:48 16:58 »

Manuel, please tell us where to download this "TOP medicine" from, because it is a bit confusing (for me at least) which one should we use.

http://www.sonsivri.to/forum/index.php?topic=44014.msg129986#msg129986
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #64 on: December 21, 2021, 05:13:51 05:13 »

Initially, as soon as I installed version 4.0, all the treatment went off with a bang!
Here is the logo of the process:
Quote
      
C:\WINDOWS\system32>cd C:\Program Files\Microchip\xc32\v4.00

C:\Program Files\Microchip\xc32\v4.00>SHA-Patcher -i ./bin/xclm.old -o ./bin/xclm.exe -b
Searching for SHA:DB297365F560A50DB756F79A616F4F8DCB5656D9BBB70A8451F043ACBF4B0961 of file C:\Program Files\Microchip\xc32\v4.00\bin\xclm.old in directory:C:\Program Files\Microchip\xc32\v4.00
I/O Exception: The process cannot access the file 'C:\Program Files\Microchip\xc32\v4.00\SHA-Patcher.exe' because it is being used by another process.
Found match in C:\Program Files\Microchip\xc32\v4.00\bin\bin\pic32c-pa.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\lib\gcc\pic32c\8.3.1\cc1.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\lib\gcc\pic32c\8.3.1\cc1plus.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\lib\gcc\pic32c\8.3.1\lto1.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\bin\bin\gcc\pic32mx\8.3.1\cc1.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\bin\bin\gcc\pic32mx\8.3.1\cc1plus.exe
Found match in C:\Program Files\Microchip\xc32\v4.00\bin\bin\gcc\pic32mx\8.3.1\lto1.exe
Found 7 matches
Patched 7 of 7 files

C:\Program Files\Microchip\xc32\v4.00>cd C:\Program Files\Microchip\xc32\v4.00\bin

C:\Program Files\Microchip\xc32\v4.00\bin>xclm -status
Microchip XC License Manager Version: 2.30
License Path: C:\ProgramData\Microchip\xclm/license/\
        Product: xc32 Type: Workstation Version: 1.0 Mode: cpp License Expires: 14-dec-2021
        Product: xc32 Type: Workstation Version: 1.0 Mode: PRO License Expires: 14-dec-2021

C:\Program Files\Microchip\xc32\v4.00\bin>
I downloaded the project, checked it at different optimization levels, everything is ok.
But literally a couple of days later, an error appeared and what is interesting for both version 4.0 and 3.01.
After that, I tried to reinstall the compilers, when checking the license, the result is zero.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #65 on: December 23, 2021, 01:57:47 13:57 »

Just for information,
v.4.00 is not present anymore on the site...(have no idea why)

take care,
X!
Logged

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

Posts: 416

Thank You
-Given: 275
-Receive: 1524



WWW
« Reply #66 on: December 23, 2021, 06:09:45 18:09 »

The microchip always has universal links to download the copiers. This link will always download the latest version.

https://www.microchip.com/mplabxc32windows
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #67 on: December 23, 2021, 07:41:54 19:41 »

Yes CatCatCat,

but if you follow the link from the site you will never be able to get it now.

That's the strange....I just wanted to underline the fact.

take care,
X!
Logged

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

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #68 on: March 09, 2022, 04:50:26 04:50 »

Here use this medicine, it should work for all future V3.xx as well

The link in the attachment is not available. Please send another one. Thank you!

Posted on: March 09, 2022, 04:41:56 04:41 - Automerged

Hello, moderator, please update the link address of the latest cracked file link.txt file.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #69 on: November 14, 2022, 10:34:08 10:34 »

Just for information,
v.4.20 is on the site...

take care,
X!
Logged

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

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #70 on: December 27, 2022, 09:21:01 09:21 »

Just for information,
v.4.21 is on the site...

Checked with SAMPLE's included in the distribution and it seems working using TOP's (27K) swiss-knife tool ... can be confirmed with further compiling sessions ?
 
...

take care,
X!
« Last Edit: December 27, 2022, 11:04:08 11:04 by Manuel » Logged

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

Posts: 39

Thank You
-Given: 6
-Receive: 45


« Reply #71 on: January 12, 2023, 11:44:23 11:44 »

Just for information,
v.4.21 is on the site...

Checked with SAMPLE's included in the distribution and it seems working using TOP's (27K) swiss-knife tool ... can be confirmed with further compiling sessions ?
 
...

take care,
X!
I'll provide the proof. Please refer to the attachment.
Logged
IVN1479
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 4
-Receive: 3


« Reply #72 on: March 12, 2023, 04:47:54 16:47 »

Hi.

The medicine works correctly with the latest version 4.21, but only with MX and MZ devices.

For ATSAM32, it isn't possible, since it is literally another compiler dedicated to them.

Any comment or suggestion is welcome.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 644
-Receive: 177


« Reply #73 on: September 25, 2023, 09:43:38 09:43 »

Just for information,
v.4.35 is on the site...

Xo!
Logged

-> An Apple a Day does not Let U become a Macintosh!
Pages: 1 2 3 [All]
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