Rules | Recent posts | topic RSS | Search | Register  | Log in

Proteus+Hi Tech PICC combination

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
pro_ind



Joined: 24 Jun 2002
Posts: 16


Post04 Jan 2003 10:40   Proteus+Hi Tech PICC combination

Hi all,

I just started to use Proteus 5. I want to know that whether we can

use Hi-Tech PIC C coding with Proteus stimulation. I use Hi tech PICC in

for my work... Please help.......


Thanx......

pro_ind
Back to top
benradu



Joined: 22 Jun 2001
Posts: 59
Helped: 3


Post04 Jan 2003 12:32   Proteus+Hi Tech PICC combination

You can use this combination very well.
There are 2 ways:
1. you can use the hex file produced by picc (you'll not have source level debugging)
2. use the cod file. This is realy nice.
Success
Back to top
GrandAlf



Joined: 09 Mar 2002
Posts: 291
Helped: 14


Post04 Jan 2003 22:00   

As a general rule you can use hex files generated from any language or assembler, as long as the processor model is available. I use Ke=l, CCS and bascom without any problems.
Back to top
newmania



Joined: 29 Sep 2002
Posts: 49


Post04 Jan 2003 22:14   

I use both of them and simply, I'm happy! I think hitech c compiler is the best but if you want to use other compilers or interpreters you should use hex files.

Regards.
Back to top
pro_ind



Joined: 24 Jun 2002
Posts: 16


Post07 Jan 2003 12:19   Thanx

Hi All,
Thanx for the help...
Yes after using hex file i suceed in geting correct result...Thanks a lot..


regards
pro_ind
Back to top
neuralc



Joined: 06 Nov 2001
Posts: 270
Helped: 5


Post07 Jan 2003 12:48   

Hi,

Dont use the hex file, use the COD fiel, because with it you can debug the C source code!

Pay attention in one important point, that is, if you use only one pin like: RB0=!RB0

Some time Proteus dont work well (pin stay allways at one), to make that you must use: PORTB=(PORTB&0xfe)|(!RB0)


Hope helps,

NeuralC
Back to top
aProgrammer



Joined: 29 Mar 2001
Posts: 96
Helped: 6


Post07 Jan 2003 13:45   

to NeuralC :
I think
RB0=!RB0 is not correct because ! is for booleans
instead you should try
RB0=~RB0
Back to top
neuralc



Joined: 06 Nov 2001
Posts: 270
Helped: 5


Post08 Jan 2003 11:28   

Hi,

aProgrammer: !RB0 in Hitech Picc work (try it directly on a PIC), and the problem it's not on the C code. Here the question are if you use the all PORT or use only one PIN. If you analyse the assembler code generated using !RB0 or ~RB0, they are the same...

And in C language the boolean type does not exist!


NeuralC
Back to top
ikarakaya



Joined: 02 Nov 2001
Posts: 34


Post08 Jan 2003 14:08   Pic c

I have downloaded pic c 8.01pl3 from htsoft and used a keygen from astalavista.box.sk but it says "compiler not installed correctly". Please Help. Sad
Back to top
neuralc



Joined: 06 Nov 2001
Posts: 270
Helped: 5


Post08 Jan 2003 16:24   

Hi,

Try put Serial Number with only 5 digit

NeuralC
Back to top
hakan



Joined: 20 Feb 2002
Posts: 50


Post10 Jan 2003 21:23   

attn.

if you use serial gen. fss or a old serial which produced by fss u can use only picc v8.00 pl3 picc18 v8.12 pl1. may be this is the reason u can not use picc.

p.s. if you find these old version install sets pls. tell me too.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap