The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 08:15:23 08:15


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 11 12
Print
Author Topic: XC Compilers - Software ONLY  (Read 310371 times)
0 Members and 2 Guests are viewing this topic.
mbyka
Junior Member
**
Offline Offline

Posts: 64

Thank You
-Given: 261
-Receive: 42

https://qurantranslation.app/


WWW
« Reply #200 on: February 13, 2021, 12:42:02 12:42 »

hi guys,
i am a new user for "c" using to pic mcu

i installed latest mplab x ıde 5.45 and xc8 2.31 and i did pat.. xclm.exe by cmd.exe(i copied cmd.exe file where in \system32 directory to \xc8\v2.31 directory and i runed it in here).
Quote
from metal...There is no need, just do the following and it should work OK:

rename original xclm.exe into xclm.old inside "C:\Program Files\Microchip\xc8\v2.31\bin".
Copy cracked xclm.exe to "C:\Program Files\Microchip\xc8\v2.31\bin".
Copy cracked xclm.exe and xclm.old to "C:\Program Files\Microchip\xc8\v2.31"

Open a cmd as admin in this location: "C:\Program Files\Microchip\xc8\v2.31", and run xclm.exe

that's it.
then,

i saw this cmd answer after pat...d
 

i think all are ok.?

i also lookd/checked status of optimmization! at Mplab ide menu and it is heppened like it that you see the picture


and also the code coverage enabled ?i think!


do i have ecerything to start and learn and work codding to pic mcu with c language?

or i have to use "functional safety" version of xc8 compiler?

« Last Edit: February 13, 2021, 12:44:13 12:44 by mbyka » Logged

metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #201 on: February 13, 2021, 01:20:27 13:20 »

try to be honest with yourself here, to learn C you don't need a full xc8 Wink
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #202 on: February 19, 2021, 12:08:42 12:08 »

xc8 v2.32 available. Patch tested and works.
Logged
engiadina
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 1
-Receive: 4


« Reply #203 on: September 22, 2021, 04:59:28 16:59 »

Well,

seems that the patch is only working under Windows.

Those who are using a MacOSX - Version are out of luck. Today I tested a lot of patches (even trying to edit the files manually). With version 2.32 the picc18 execution fails with errorcode 9 (process halted).

I tested the patch under Windows - everything is fine, that one works. Unfortunately the Mac (or OSX) version is broken.

engiadina
Logged
jobitjoseph1
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 18
-Receive: 178


« Reply #204 on: October 13, 2021, 06:03:54 06:03 »

Mega.nz  link for the XC8fix , since the link provided eariler gives file not found error.
Logged
danymogh
Newbie
*
 Muted
Offline Offline

Posts: 25

Thank You
-Given: 14
-Receive: 24


« Reply #205 on: October 15, 2021, 08:49:02 20:49 »

unfortunately the crack doesn't enable the Functional safety version or the Code Coverage feature.
Logged
hswqs
Inactive

Offline Offline

Posts: 1

Thank You
-Given: 1
-Receive: 0


« Reply #206 on: October 29, 2021, 02:31:01 02:31 »

Thanks all, hope the functional safety could be unlocked as soon as possible
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 680
-Receive: 192


« Reply #207 on: October 29, 2021, 02:37:42 14:37 »

1) MPLAB Code Coverage Overview

The MPLAB® Code Coverage feature provides visibility as to what portions of your code are being executed. Run your test cases to completion for a visual display of coverage.

The MPLAB Code Coverage feature requires the following tools:

    An MPLAB XC C compiler, either Free or PRO, that supports code coverage output, starting with MPLAB XC8 v2.10, MPLAB XC16 v1.40, and MPLAB XC32 v2.30.
    The MPLAB Code Coverage (SW006026-COV) license that provides visibility as to what portions of your code are being executed.
    MPLAB X IDE v5.25 or later, which supports the display of code coverage data from an MPLAB XC C compiler with the MPLAB Code Coverage license.

2) Functional Safety Compiler
Ease the burden of your functional safety qualification with the MPLAB XC8 Functional Safety Compiler License - a TÜV SÜD certified compiler package that supports 8-bit PIC® and AVR® microcontrollers. This compiler license has been certified in accordance with the following functional safety standards:

    ISO 26262
    IEC 61508
    IEC 62304
    IEC 60730

......

Just for info you .

take care,
X!
Logged

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

Posts: 432

Thank You
-Given: 284
-Receive: 1653



WWW
« Reply #208 on: October 31, 2021, 07:32:48 07:32 »

This summer I studied the mechanisms of unit testing the code and activating Code Coverage in MPLAB would be very useful.
Logged
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 537

Thank You
-Given: 697
-Receive: 1774



« Reply #209 on: October 31, 2021, 11:25:44 11:25 »

Is this `Code Coverage` really useful?

From I've read here: https://microchipdeveloper.com/mplabx:code-coverage it looks like it is dependent on the level of optimizations selected for the compiler.
Which means it will be different if this feature is activated for optimized vs non-optimized code, while having optimizations activated means that there may be differences between C code highlight and what get executed.
Also if you write a lot of one-liners it will give the uncertain `yellow` coding.

https://onlinedocs.microchip.com/pr/GUID-CC9F71E9-AEF1-4C2B-8AC2-069D15B83A79-en-US-2/index.html?GUID-EEE4D157-B8BA-4B4B-B96A-34BD8601CD2A

Cat, do you have some resources for unit testing?
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 432

Thank You
-Given: 284
-Receive: 1653



WWW
« Reply #210 on: November 01, 2021, 05:25:57 05:25 »

This is what my training was based on http://www.throwtheswitch.org/ .


https://habr.com/ru/post/244835/ There is an article here (although it is in Russian, but a Google translator to help)

Yes, this mechanism works. But it is relevant when you develop code without real hardware. If you write code and test it in ready-made hardware, then 90 percent of you solve all your problems.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 680
-Receive: 192


« Reply #211 on: November 04, 2021, 05:29:56 17:29 »

Can be enabled using TOP activator...

X!
Logged

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

Posts: 25

Thank You
-Given: 14
-Receive: 24


« Reply #212 on: November 05, 2021, 03:33:22 15:33 »

Can be enabled using TOP activator...

X!

Have you tested it? does it work like the way they show it on their website?
because as long as I know both the compiler and the IDE must support it.
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 680
-Receive: 192


« Reply #213 on: November 06, 2021, 10:01:44 10:01 »

To be able to see the additional menu' ANALISYS i had to uninstall IDE and reinstall it. (compilers already installed).....

X!
Logged

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

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #214 on: January 06, 2022, 12:14:48 12:14 »

xc8 v2.35 available. Patch tested and works (win version)
Logged
mitsos
Hero Member
*****
Offline Offline

Posts: 860

Thank You
-Given: 3086
-Receive: 4596


« Reply #215 on: January 06, 2022, 06:37:06 18:37 »

hi

after patching the last xc8 version 2.35 (pic+avr), the compilation of AVR182 : Zero Cross Detector (using AVR) project of proteus 8.13sp0 is failed.

I get this error:
avr-gcc.exe -Wall -gdwarf-2 -fsigned-char -MD -MP -DF_CPU=1000000 -Os -mmcu=attiny2313  -o "zero_cross_detector.o" -c "../zero_cross_detector.c"
Unknown option

In file included from ../zero_cross_detector.c:15:0:
c:\program files\microchip\xc8\v2.35\avr\avr\include\avr\io.h:414:28: fatal error: avr/iotn2313.h: No such file or directory
compilation terminated.
make: *** [zero_cross_detector.o] Error 1

Error code 2

I found that the .h files of avr micros are located here:
C:\Program Files\Microchip\xc8\v2.35\dfp\xc8\avr\include\avr

By using the -I option I get again this error message:
avr-gcc.exe -Wall -gdwarf-2 -fsigned-char -MD -MP -DF_CPU=1000000 -Os -mmcu=attiny2313 -IC:\Program Files\Microchip\xc8\v2.35\dfp\xc8\avr\include\avr  -o "zero_cross_detector.o" -c "../zero_cross_detector.c"
avr-gcc.exe: error: Files\Microchip\xc8\v2.35\dfp\xc8\avr\include\avr: No such file or directory
make: *** [zero_cross_detector.o] Error 1

Error code 2

In version 2.32 the .h files are here:
C:\Program Files\Microchip\xc8\v2.32\avr\avr\include\avr
and the compilation is successful

any ideas?

regards
mitsos
Logged
PiotrJ
Junior Member
**
Offline Offline

Posts: 53

Thank You
-Given: 53
-Receive: 263


« Reply #216 on: January 06, 2022, 09:59:29 21:59 »

For Error code 2: based on the error indicated the space in Program Files is causing the problems. Add double quotes: "-IC:\Program Files\Microchip\xc8\v2.35\dfp\xc8\avr\include\avr"
Logged
marcodassi
Junior Member
**
 Warned
Offline Offline

Posts: 40

Thank You
-Given: 73
-Receive: 26


« Reply #217 on: January 30, 2022, 05:29:28 17:29 »

FYI: MPLAB XC16 Compiler v2.00 is out  Grin   (didn't test anything)

https://ww1.microchip.com/downloads/en/DeviceDoc/xc16-v2.00-full-install-windows64-installer.exe

cheers!
Logged
Catcatcat
Senior Member
****
Offline Offline

Posts: 432

Thank You
-Given: 284
-Receive: 1653



WWW
« Reply #218 on: January 31, 2022, 04:32:31 04:32 »

FYI: MPLAB XC16 Compiler v2.00 is out  Grin   (didn't test anything)

https://ww1.microchip.com/downloads/en/DeviceDoc/xc16-v2.00-full-install-windows64-installer.exe

cheers!
working  Grin
Logged
jobitjoseph1
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 18
-Receive: 178


« Reply #219 on: February 01, 2022, 10:52:03 10:52 »

XC8Fix new Mega Link
Logged
tumbleweed
Newbie
*
Offline Offline

Posts: 34

Thank You
-Given: 58
-Receive: 41


« Reply #220 on: February 09, 2022, 11:47:54 11:47 »

xc8 v2.36 available. Patch tested and works (win7 x64).
Logged
Manuel
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 680
-Receive: 192


« Reply #221 on: February 09, 2022, 06:09:35 18:09 »

xc8 v2.36 , MCHIP only AVR side has modified, PIC side equal to v2.35.

X!
Logged

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

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #222 on: March 08, 2022, 05:25:04 05:25 »

Hello, can you upload the latest cracked files here?
Logged
patchjack
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 11
-Receive: 49


« Reply #223 on: March 08, 2022, 06:33:02 06:33 »

I'm in China. Mega network disk can't be accessed and needs to climb over the wall. Can you upload the crack patch directly here? Thank you
Logged
jobitjoseph1
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 18
-Receive: 178


« Reply #224 on: March 08, 2022, 07:44:51 19:44 »

I'm in China. Mega network disk can't be accessed and needs to climb over the wall. Can you upload the crack patch directly here? Thank you
As per Sonsivri rule I can't . We are not allowed to directly attach any cracks or hacks. I have added a new attachment below. You can find the Baidu link in the below attachment
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