mbyka
Junior Member
Offline
Posts: 64
Thank You
-Given: 261
-Receive: 42
https://qurantranslation.app/
|
|
« 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). 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
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
|
|
|
Logged
|
|
|
|
tumbleweed
Newbie
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
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
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
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
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
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
Posts: 432
Thank You
-Given: 284
-Receive: 1653
|
|
« 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
|
|
|
|
|
Catcatcat
Senior Member
Offline
Posts: 432
Thank You
-Given: 284
-Receive: 1653
|
|
« 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
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
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
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
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
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
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
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #217 on: January 30, 2022, 05:29:28 17:29 » |
|
|
|
|
Logged
|
|
|
|
Catcatcat
Senior Member
Offline
Posts: 432
Thank You
-Given: 284
-Receive: 1653
|
|
« Reply #218 on: January 31, 2022, 04:32:31 04:32 » |
|
working
|
|
|
Logged
|
|
|
|
jobitjoseph1
Junior Member
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
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
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
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
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
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
|
|
|
|
|