HI-TIDE >> HI-TIDE

Pages: 1
jondaeh
stranger


Reged: May 31 2009
Posts: 2
Where is htc.h?
      #116512 - Thu Jun 11 2009 09:25 PM

Hi!

I'm trying to make a program for a UBW32 dev. board from Sparkfun(which has the PIC32 chip). I got a Pickit2 and using Hi-Tide v3.15 for creating the code.

However, when trying to build, I get an error saying couldn't find htc.h. I understand that this is a file that makes the process of configuring all PICs easier, great! However C-wiz included this file automatically. Do I have to download the file from somewhere and put it in the directory of the project?

Thanks!

Jon, Norway.

This is the code for the main file:

Code:

#include "init.h" // included by C-Wiz
#include "htc.h"


void
int main(void)
{
init(); // Function call inserted by C-Wiz
mPortEToggleBits(0x40)
return 0;
}




Edit: The htc.h disappeared from the includes. Guess the HTML don't like < > . Just replaced them with "".


Post Extras: Print Post   Remind Me!   Notify Moderator  
LateDeveloper
Tester - PICC PRO
**

Reged: Aug 21 2007
Posts: 502
Re: Where is htc.h? [Re: jondaeh]
      #116712 - Fri Jun 12 2009 03:34 PM

re-install HiTide, this is an old problem with 3.15, on only one of many such problems I have when running it on my O.S.
Which is why I am running 3.13.


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


Reged: May 31 2009
Posts: 2
Re: Where is htc.h? [Re: LateDeveloper]
      #116732 - Fri Jun 12 2009 08:24 PM

I tried making the same program in MPLab (v8.30), by importing the init.c and init.h files generated by c-wiz in HI-Tide. MPLab neither found the htc.h file. I searched the computer for htc.h, and it does exist under:

../HI-Tech software/picc32/pro/9.60/include

So I can't see why the compiler halts on it.

I tried re-install HiTide 3.15, but it didn't do any difference. Now I installed 3.13 instead, but it won't find any compiler:P Does 3.13 support PIC32 anyways?

By the way, is there some kind of tool in MPLab which can generate the config code for the chip? Maybe it would help if I abandon HI-Tide?


I'm running XP.

Jon.


Post Extras: Print Post   Remind Me!   Notify Moderator  
LateDeveloper
Tester - PICC PRO
**

Reged: Aug 21 2007
Posts: 502
Re: Where is htc.h? [Re: jondaeh]
      #119332 - Sat Jul 04 2009 06:52 PM

Install the compiler at the same time as HiTide, you will have to delete all references to the old editor and compiler first, should work.

You will need to delete all references in Documents and settings to .hitide_3.13, as well as your install directory.


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


Reged: Jul 16 2009
Posts: 4
Re: Where is htc.h? [Re: LateDeveloper]
      #120702 - Fri Jul 17 2009 08:31 AM

sounds like 3.13 is worth a try. where can i get a copy? anyone fancy putting a copy on www.drop.io?

thanks all.


Post Extras: Print Post   Remind Me!   Notify Moderator  
luckyAdministrator
Microchip staff
*****

Reged: Oct 06 2003
Posts: 1215
Loc: Brisbane, Australia
Re: Where is htc.h? [Re: daveob]
      #122002 - Thu Jul 30 2009 07:33 AM

Quote:

sounds like 3.13 is worth a try. where can i get a copy?




HERE

--------------------
Matt Luckman


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



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

Moderator:  jtemples, mikerj, Dan Henry, Andrew L 

Print Topic

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

Rating:
Topic views: 22164

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5