PICmicro & dsPIC >> PICmicro & dsPIC

Pages: 1 | 2 | >> (show all)
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
PICC/PICC18 9.50 MacOSX installation
      #19378 - Sun Oct 16 2005 06:06 PM

Being the first release under MacOSX we have simply adapted our UNIX shell installer. Most those requesting seemed to be familiar with the UNIX side of OSX but for those that are not, here are a few steps to get things going.


  • Put the installer on your desktop.
  • Open a terminal (Applications->Utilities->Terminal)
  • Change to the Desktop in the terminal (type: 'cd ~/Desktop' then enter)
  • Ensure the executable is executable (type: 'chmod +x picc-demo.run' then enter)
  • Run the installer (type: './picc-demo.run' then enter)
  • Follow the prompts to complete the installation being sure to enter full path names when prompted. eg. /Applications/HI-TECH/PICC_9.50 or /Users/username/HI-TECH/PICC_9.50
  • *To configure the environment variables you simply have to logout & login (of OSX not just the shell).
  • HI-TIDE, if installed, is an app package which can be moved around and double clicked from a finder window.
  • HI-TIDE requires JAVA 1.5+ this can be downloaded from: http://www.apple.com/macosx/features/java/


* if you already have a ~/.MacOSX/environment.plist file the installer assumes you know what you're doing and you need to add the entries manually as prompted.


Post Extras: Print Post   Remind Me!   Notify Moderator  
brikk



Reged: Nov 15 2005
Posts: 2
Re: PICC 9.50 MacOSX installation [Re: Ryan]
      #19895 - Thu Nov 17 2005 03:45 PM

I'm very pleased to see support for OS X. It's about time someone did this one might say! I had one problem during install because I misunderstood the "To configure the environment variables you simply have to logout & login.", I thought I just had to logout from shell, when I should actually log out & in of OS X. Bummer But now it's up and running flawlessly!

Anyway, since I'm new to the PIC programming, I'm considering getting myself a PICDEM 2 PLUS development board along with the ICD 2. My question is: Using the Hitech IDE for OS X, can I use the debugging function of the ICD 2?


Post Extras: Print Post   Remind Me!   Notify Moderator  
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
Re: PICC 9.50 MacOSX installation [Re: brikk]
      #19896 - Thu Nov 17 2005 04:27 PM

Not at this point in time... but I can assure you there is someone working on it right now so hopefully early next year we will open the ICD2 up to all our supported OSs.
Thanks for the comments, I'll be sure to clarify the logout/in.


Post Extras: Print Post   Remind Me!   Notify Moderator  
brikk



Reged: Nov 15 2005
Posts: 2
Re: PICC 9.50 MacOSX installation [Re: Ryan]
      #19924 - Mon Nov 21 2005 10:31 AM

Quote:

Not at this point in time... but I can assure you there is someone working on it right now so hopefully early next year we will open the ICD2 up to all our supported OSs.
Thanks for the comments, I'll be sure to clarify the logout/in.




This sounds promising. Can you tell me if the debugger support will be available also in the lite version, or only in the full one? Thank you for your answers.


Post Extras: Print Post   Remind Me!   Notify Moderator  
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
Re: PICC 9.50 MacOSX installation [Re: brikk]
      #19937 - Mon Nov 21 2005 05:32 PM

As far as I am aware, support will be available in PICC lite.

Post Extras: Print Post   Remind Me!   Notify Moderator  
tiagra



Reged: Dec 06 2005
Posts: 1
Loc: Moscow, Russia or Berlin, Germ...
Re: PICC 9.50 MacOSX installation [Re: Ryan]
      #20161 - Tue Dec 06 2005 07:49 AM

Hi, just started off mit PIC18F258 for some CAN-Bus stuff - unfortunately this is my first project, but i urgently need to dive into th serious matters, so no time for tinkering with flashing LEDs (ok, i did one ).

Installed PicLite + HiTide on a 12" Powerbook (recent series) and it worked out flawlessly. Really looking forward to ICD2 support - once this step is taken, OSX would be a complete developement platform and i'd not hesitate to buy the compiler itself, too.

Thanks a lot for the developement in this direction,

Martin

EDIT: Just noticed the difference... this version doesn't support any kind of pic18xxxx - i hould have read further :/ when do you think something like piclite18 will be available? actually i need it now ))

Edited by tiagra (Tue Dec 06 2005 10:02 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
Re: PICC 9.50 MacOSX installation [Re: tiagra]
      #20177 - Tue Dec 06 2005 04:39 PM

Quote:

EDIT: Just noticed the difference... this version doesn't support any kind of pic18xxxx - i hould have read further :/ when do you think something like piclite18 will be available? actually i need it now ))



We will be releasing a HI-TIDE (sans simulator and code creation tool) supported PICC18 version in the next week or two. The simulator and code creation tool will be added early next year and a lite version may also be on the cards at that time.
So I'm afraid I cannot offer you a picc18-lite right now but hey we're working towards it.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Shayaan Siddiqui



Reged: Feb 11 2006
Posts: 3
Loc: NJ, United States
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #21228 - Sat Feb 11 2006 05:09 PM

What chips are compatible with the free compiler?

--------------------
Shayaan Siddiqui BuzzBox: A Vonage-like system but cheaper


Post Extras: Print Post   Remind Me!   Notify Moderator  
Dan HenryModerator
Guru
****

Reged: Oct 16 2003
Posts: 3210
Loc: Boulder, Colorado U.S.A.
Re: PICC/PICC18 9.50 MacOSX installation [Re: Shayaan Siddiqui]
      #21230 - Sat Feb 11 2006 05:38 PM

http://www.htsoft.com/products/PICClite.php

Post Extras: Print Post   Remind Me!   Notify Moderator  
Robin_of_Sussex



Reged: Nov 26 2003
Posts: 116
Loc: Sussex, in the South of Englan...
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #21239 - Mon Feb 13 2006 05:05 AM

When might we see MAC OS X and ICD2 support ?

-Also- one would presume that this would mean we could control the build process with a stadard Makefile, as MACOS-X is a unix based OS.

Currently we need to pre-process coff files (to insert CRC checks into ROM code). This is achieved by tricking the MPLAB/ICD into thinking our compiled C program running on the PC is the linker, when in fact it calls the linker and then processes the coff file.

Having all this under Makefile control would be far more civillised....


Post Extras: Print Post   Remind Me!   Notify Moderator  
Kartik



Reged: Feb 12 2007
Posts: 1
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #26088 - Mon Feb 12 2007 06:52 PM

Hi..

This is my first time using this program. I installed it using terminal. but now when i go to the folder I cant find any executable file to run the program. Do i need to anything from terminal after those steps. Could somebody please tell me as I am new to all this.

K


Post Extras: Print Post   Remind Me!   Notify Moderator  
memo44



Reged: Jun 18 2007
Posts: 4
Loc: El Paso, Texas, USA
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #28103 - Tue Jun 19 2007 12:05 AM

Ryan,
How do you install HI-TIDE, if it's not installed?? I've tried to run hi-tide_v3.12PL1.run, and I get a "Permission denied" message.

[G4-Power-Book-1:~/Desktop] jesusben% ./hi-tide_v3.12PL1.run
tcsh: ./hi-tide_v3.12PL1.run: Permission denied.


I ran the picc-demo.run, and it looks like it installed ok. I'm a bit confused.
does the picc-demo.run install the picc-lite C compiler? If so, what is picclite-setup.run, used for?

Will you give me info on what I need to do to properly install the picc-lite compiler and HI-TIDE IDE ?? I'm OS X 10.4.9 and a G4 Power Book.

memo44

--------------------
memojones


Post Extras: Print Post   Remind Me!   Notify Moderator  
EasyArray
stranger


Reged: Aug 14 2007
Posts: 1
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #29213 - Tue Aug 14 2007 04:24 PM

When I run picl (on OS X), I get this message:

(1228) An error, warning or message was generated, but no description is available
HI-TECH PICC-Lite COMPILER (Microchip PICmicro) V9.60
Copyright (C) 1984-2007 HI-TECH SOFTWARE
(141) An error, warning or message was generated, but no description is available

I've looked up the error codes and the most pertinent is
1228: unable to locate installation directory

I set the environment variable HTC_PICL to the appropriate installation directory (/Applications/HI-TECH/picc/lite/9.60) but that doesn't help. Could it be a permissions problem?

Thanks!


Post Extras: Print Post   Remind Me!   Notify Moderator  
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
Re: PICC/PICC18 9.50 MacOSX installation [Re: memo44]
      #29309 - Sun Aug 19 2007 07:23 PM

Quote:

Ryan,
How do you install HI-TIDE, if it's not installed?? I've tried to run hi-tide_v3.12PL1.run, and I get a "Permission denied" message.

[G4-Power-Book-1:~/Desktop] jesusben% ./hi-tide_v3.12PL1.run
tcsh: ./hi-tide_v3.12PL1.run: Permission denied.





This looks like the file has lost it's executable permissions... try, at a command line:

Code:

chmod +x hi-tide_v3.12PL1.run
./hi-tide_v3.12PL1.run



Quote:


I ran the picc-demo.run, and it looks like it installed ok. I'm a bit confused.
does the picc-demo.run install the picc-lite C compiler? If so, what is picclite-setup.run, used for?





They are two different things; picc-demo is the full compiler but will expire after 45 days. picc-lie is a free compiler that supports a subset of the PICMicro chips but does not expire. You only need one of these.


Post Extras: Print Post   Remind Me!   Notify Moderator  
RyanModerator
HI-TECH team member
*****

Reged: Jan 06 2004
Posts: 503
Loc: Brisbane, Australia
Re: PICC/PICC18 9.50 MacOSX installation [Re: EasyArray]
      #29310 - Sun Aug 19 2007 08:12 PM

Quote:

When I run picl (on OS X), I get this message:

(1228) An error, warning or message was generated, but no description is available
HI-TECH PICC-Lite COMPILER (Microchip PICmicro) V9.60
Copyright (C) 1984-2007 HI-TECH SOFTWARE
(141) An error, warning or message was generated, but no description is available

I've looked up the error codes and the most pertinent is
1228: unable to locate installation directory





Do you have a .htsoft.xml file in you home directory? It should contain something like:
Code:

<?xml version="1.0"?>
<htreg>
<key name="picc">
<key name="lite">
<key name="9.60">
<key name="pl0" instdir="/Applications/HI-TECH/picc/lite/9.60"/>
</key>
</key>
</key>
</htreg>



Quote:


I set the environment variable HTC_PICL to the appropriate installation directory (/Applications/HI-TECH/picc/lite/9.60) but that doesn't help. Could it be a permissions problem?





The HTC_PICL variable is no longer used. The HTC_XML variable can be used to specify an alternate htsoft.xml file, but that (and PATH) are the only variables you would need to change.
It could be a permissions problem if the XML file cannot be read, this could be the case if the compiler was installed as a different user to the one trying to run it?

I'd check your ~/.htsoft.xml file (or what file is specified by HTC_XML if set) to make sure it can be read and contains the correct contents (should have been written to on install). Let me know how you go.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Izzy
stranger


Reged: Oct 02 2007
Posts: 1
Re: PICC/PICC18 9.50 MacOSX installation [Re: Ryan]
      #29800 - Tue Oct 02 2007 10:41 PM

I just downloaded (Mac version of HI-TECH PICC-LITE V9.60PL1) but am having problems during install. Looks like picl and other binaries are missing from the distribution.

:
:
==> Installing pic/lite LITE components.
==> Running 'picl --setup=/Applications/HI-TECH/picc/lite/9.60PL1'...
./shell-install: line 138: /Applications/HI-TECH/picc/lite/9.60PL1/bin/picl: No such file or directory


If I do:
~/Desktop/picc-lite_9.60PL1-osx.run --tar -tf
It lists the tar contents, but only activate.dat in bin, which matches what I'm seeing in the installed directory.

./
./bin/
./bin/activate.dat
./dat/
./dat/fr_msgs.txt
./dat/picc-lite.ini
./dat/en_msgs.txt
./dat/de_msgs.txt
./lib/
./lib/pcl40a-c.lib
:
:

Is the version out there for download incomplete? Looks like it was only built last week.


Post Extras: Print Post   Remind Me!   Notify Moderator  
garthModerator
HI-TECH team member
****

Reged: Oct 16 2003
Posts: 466
Loc: Brisbane, Australia
Re: PICC/PICC18 9.50 MacOSX installation [Re: Izzy]
      #29804 - Wed Oct 03 2007 03:36 AM

This question has already been asked and answered today! Please try searching the forum first before posting.

--------------------
Garth Klee,
HI-TECH Support


Post Extras: Print Post   Remind Me!   Notify Moderator  
Cephus
stranger


Reged: Feb 16 2008
Posts: 1
PICC/PICC18 9.60 MacOSX installation [Re: Robin_of_Sussex]
      #64042 - Fri Jul 04 2008 11:11 PM

I guess I'm the first to report this. The Mac download file is apparently a Windows file. The reported file size also matches the Windows file and not the Mac. If someone at Hi-Tech could look into this matter, it would be appreciated.

I'm looking forward to migrating to my MacBook for all my apps.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1 | 2 | >> (show all)



Extra information
0 registered and 13 anonymous users are browsing this forum.

Moderator:  ndouglas, mikerj, jtemples, jeff, Dan Henry, garth, Andrew L, Ryan 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Topic views: 25989

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5