Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 02:43:15 14:43


Login with username, password and session length


Pages: [1]
Print
Author Topic: help to learning C and guidances for PIC  (Read 4574 times)
0 Members and 1 Guest are viewing this topic.
iphone
Active Member
***
 Muted
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« on: June 20, 2009, 02:42:03 14:42 »

hi guys,

Need your helps and guidance on how to start programming in C for PIC.

As I study through out of the forum, I decide to study Hitech C , C18 and C30.

So my plan is to study Hitech C for PIC16 as microchip dont have any C16 for PIC16. For PIC18, I will study on C18 (maybe Hitech for PIC18 also but an option) and for PIC24 & dsPIC33, I will use C30.

So for C18 & C30, there are 'how to get started' guide from microchip and as for now, I'm good and smooth in that path.

But the problem is on hitech C for PIC 16, I'm confuse which installation will do for PIC16 and how to integrate with MPLAB IDE. Ok can somebody point me step by step on how solve below question:

1. Which package of hitech C should I install that support PIC16 (if also install for PIC18,PIC24,dsPIC33, it will a bonus. Any explanation appreciated  very much) ?

2. How to integrate the hitech C with MPLAB IDE (I already install MPLAB 8.33) ?

3. How about hitech C IDE ? Is it good to install also ? what's pro and contra ?

BTW, I know in ANSI C in PC using borland (long time ago) but none in uC such as PIC.

Thanks in advance.
Logged
ajak
Active Member
***
Offline Offline

Posts: 116

Thank You
-Given: 198
-Receive: 77


« Reply #1 on: June 20, 2009, 05:54:43 17:54 »

i think this is the answer to your questions... this is the software you will need..

http://www.sonsivri.com/forum/index.php?topic=935.0

Logged
iphone
Active Member
***
 Muted
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #2 on: June 21, 2009, 07:06:52 19:06 »

i think this is the answer to your questions... this is the software you will need..

http://www.sonsivri.com/forum/index.php?topic=935.0



I know this thread but my question which one I should intall and how to integrate with MPLAB etc.
 Maybe my english is hard to understand. Sory english is not mother's thunk. 
Logged
ajak
Active Member
***
Offline Offline

Posts: 116

Thank You
-Given: 198
-Receive: 77


« Reply #3 on: June 21, 2009, 08:04:28 20:04 »

base from question number 1, use HI-TECH Enterprise Edition

read this to enlighten you..
http://htsoft.com/products/compilers/htee-microchip.php

here also.. download and watch this..
http://techtrain.microchip.com/webseminars/ArchivedDetail.aspx?Active=193

number 2 question: >> http://htsoft.com/support/faqs.php#faq60

help yourself do something to achieve something.. Smiley
Logged
iphone
Active Member
***
 Muted
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #4 on: June 21, 2009, 08:11:39 20:11 »

help yourself do something to achieve something.. Smiley

Yes that what I want to do but sometime different people with different scale and need some help in order to start somewhere. thanks
Logged
pirvcb
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #5 on: June 23, 2009, 12:44:50 00:44 »

Hi iphone,
take a look at section 4 in this book.... http://rapidshare.com/files/246108232/123_PIC_Microcontroller__the_Evil_Genius.rar

and this also seems not so bad...
http://rapidshare.com/files/64852511/2527618E-9D98-4396-BD50-394D3A14326D.rar

at moment i have no time to go in deep about C.
Let me know...
Later.
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #6 on: June 23, 2009, 10:09:47 10:09 »



password protected?
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #7 on: June 25, 2009, 03:10:47 15:10 »

Hi!
As You say, You're not familiar with C regarding PIC. My suggestion is that You don't use HI-TECH C as a starting point.
They have a tendency to use C as a extension to asm with all it's difficulties regarding readabilility and other quirks. Use CCS instead(found elsewhere in this forum with a lot of readymade libs).
Personally I use asm for PIC; more readability and instructive(check out Microchip for their application notes), but when it comes to structures it's obviously easier to use C.
BTW, which version of Borland C do You use? I love the old ones with DOS inteface. Regarding intergrating HI-TECH compilers and MPLAB IDE, don't forget from MPLAB IDE(project> set language tool location) to point to your installation of HI-TECH, libraries, includes and other pertinent sources.

Good luck...  Smiley
« Last Edit: June 25, 2009, 03:28:51 15:28 by robban » Logged

Code Warrior
joker12
Junior Member
**
Offline Offline

Posts: 82

Thank You
-Given: 11
-Receive: 77


« Reply #8 on: June 28, 2009, 02:10:18 02:10 »

I would; imho , use CCS or Mikcroelectronik C to start with. They can be found by doing a search on this board.

Second, read ,read, & read. There are many beginner C books available here on this site. Again do a search.

Third, Use the examples and experiment.

If you have not done any C programming, maybe start with PIC Basic, it's less structured.

Good luck
« Last Edit: June 28, 2009, 02:12:41 02:12 by joker12 » Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #9 on: July 01, 2009, 09:31:02 21:31 »

I would; imho , use CCS or Mikcroelectronik C to start with. They can be found by doing a search on this board.

Second, read ,read, & read. There are many beginner C books available here on this site. Again do a search.

Third, Use the examples and experiment.

If you have not done any C programming, maybe start with PIC Basic, it's less structured.

Good luck

I agree - C is more complicated - but surely more structured...
Logged

Code Warrior
pirvcb
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #10 on: July 02, 2009, 12:51:50 00:51 »


password protected?

Sorry, i've later seen it here at sonsivri microcontroller ebooks board:
http://rapidshare.com/files/123387919/PIC_C.rar.html
pass: mbandala
Later
« Last Edit: July 02, 2009, 01:29:25 01:29 by pirvcb » Logged
pirvcb
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #11 on: July 04, 2009, 05:08:00 05:08 »

Have a look to this resource.
http://ifile.it/oy2z7ut
Pass in the attachment.
Later.


A small thank for my little work would be nice.
« Last Edit: July 09, 2009, 06:52:32 18:52 by pirvcb » Logged
qolpa
Newbie
*
Offline Offline

Posts: 27

Thank You
-Given: 17
-Receive: 5


« Reply #12 on: July 09, 2009, 08:21:21 08:21 »

Have a look to this resource.
http://rapidshare.com/files/251688256/pdf.zip.html
Pass in the attachment.
Later.


A small thank for my little work would be nice.


 Huh
Quote from: rapidshare
Error

This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.

This limit is reached.

To download this file, the uploader either needs to transfer this file into his/her Collector's Account, or upload the file again. The file can later be moved to a Collector's Account. The uploader just needs to click the delete link of the file to get further information.
Logged

when everthing else fails, read the instructions
pirvcb
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #13 on: July 09, 2009, 11:07:22 11:07 »


 Huh

Can i guess this is the only way for you to ask to reupload?
Logged
anaKu
V.I.P
Newbie
*****
Offline Offline

Posts: 24

Thank You
-Given: 22
-Receive: 21


« Reply #14 on: July 11, 2009, 03:00:23 15:00 »

Hi,

Both links:
http://rapidshare.com/files/251688256/pdf.zip.html
and
http://ifile.it/oy2z7ut
are dead.
Could you please reload?
Thanks.
Logged
pirvcb
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #15 on: July 11, 2009, 11:07:31 23:07 »

New rapidshare link:
http://rapidshare.com/files/254708789/pdf.zip

The ifile link is down due a crash of ifile system.
Advice says that will be back working in little time.
Logged
Pages: [1]
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