Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 10, 2020, 02:26:32 14:26


Login with username, password and session length


Pages: 1 ... 3 4 5 6 7 8 9 [10]
Print
Author Topic: XC8 Compilers - Discussion  (Read 153252 times)
0 Members and 1 Guest are viewing this topic.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2241

Thank You
-Given: 710
-Receive: 579


Top Topic Starter


« Reply #225 on: May 30, 2020, 09:54:42 21:54 »

I don't remember much details since 2014, but you are expert enough not to tell you that I had to change pins to match the MCU for which I am compiling at least, and make sure other MCU specific registers/interrupts are correctly configured as well.
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 723

Thank You
-Given: 165
-Receive: 1206



« Reply #226 on: May 30, 2020, 10:24:27 22:24 »

I don't remember much details since 2014, but you are expert enough not to tell you that I had to change pins to match the MCU for which I am compiling at least, and make sure other MCU specific registers/interrupts are correctly configured as well.

Yes of course. As i said i tried a demo from MLA for PICDEM USB board without touching the code (the mouse sample). i didn't change the MCU just in case i missed with some configuration. Everything is correct. That's why i'm confused and that's why i need to know where is the problem. is it the USB stack or proteus.

i hope i can try my code on real hardware when i come back to my lab after 4 days
Logged
ron
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 10
-Receive: 2


« Reply #227 on: June 10, 2020, 04:31:36 16:31 »

I have been creating my own patcher for Catalina, it has been tested against XC32 v2.40, XC8 v2.20 and works. I will package and do a release in the next few days. 'pickit2' where or how do I get this live?

Looking forward to your release. On Win7 X64 installed with free pro licence 60 days. Does it matter what option you pick at the end of the install ?.
Also most of the links on the original medicine link do not work.
http://www.sonsivri.to/forum/index.php?topic=44014.25
I got one exe file but when I try to run it says not a valid win32 app.
« Last Edit: June 10, 2020, 04:48:55 16:48 by ron » Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 708

Thank You
-Given: 204
-Receive: 695



« Reply #228 on: June 10, 2020, 05:21:36 17:21 »

I have pointed you to the newest post regarding this matter in a post today. Read the readme.txt and do as you have been told. It should work. The links work I have checked
Logged

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

Posts: 9

Thank You
-Given: 10
-Receive: 2


« Reply #229 on: June 11, 2020, 09:02:13 09:02 »

UPDATE:
I got it working. Just followed the instructions posted by pickit2. Ver 2.20 Win 7(64).
Just run it from C:\Program Files\Microchip\xc8\v2.20> as admin. And copy it to all the locations mentioned i.e. avr/pic etc.

You guys rock.
Now to see if this does a better job than my old High Tech C 9.83

================Stuff ===========================
C:\Program Files\Microchip\xc8\v2.20\bin>xc8 --chip=16f1516 --opt=s
C:\Program Files\Microchip\xc8\v2.20\pic\bin\picc --chip=16f1516 --opt=s
(2057) The XC8 compiler installation appears to be corrupted. Please reinstall
nd try again
(908) exit status = 1

Will keep trying will keep reading. But got this far.

C:\Program Files\Microchip\xc8\v2.20\bin>dir
 Volume in drive C is Windows7_OS
 Volume Serial Number is 7AFD-80CE

 Directory of C:\Program Files\Microchip\xc8\v2.20\bin

06/11/2020  01:44 PM    <DIR>          .
06/11/2020  01:44 PM    <DIR>          ..
04/09/2020  06:58 AM           722,832 avr-objcopy.exe
04/09/2020  06:38 AM            48,376 deviceSupport.xml
04/09/2020  06:46 AM               259 roam.lic
04/09/2020  06:58 AM         1,080,984 xc-ccov.exe
04/09/2020  06:58 AM           313,744 xc8-ar.exe
04/09/2020  06:58 AM           375,696 xc8-cc.exe
04/09/2020  06:58 AM           311,184 xc8.exe
06/20/2014  02:28 AM            26,624 xclm.exe
04/09/2020  06:46 AM         2,592,320 xclm.old
               9 File(s)      5,472,019 bytes
               2 Dir(s)   5,852,426,240 bytes free

C:\Program Files\Microchip\xc8\v2.20\bin>xclm -scan
Unknown option

C:\Program Files\Microchip\xc8\v2.20\bin>
« Last Edit: June 11, 2020, 10:11:51 10:11 by ron » Logged
Pages: 1 ... 3 4 5 6 7 8 9 [10]
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