Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 09:58:06 09:58


Login with username, password and session length


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

Posts: 168

Thank You
-Given: 115
-Receive: 10


« on: June 20, 2009, 01:42:03 13: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: 115

Thank You
-Given: 199
-Receive: 77


« Reply #1 on: June 20, 2009, 04:54:43 16: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
***
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #2 on: June 21, 2009, 06:06:52 18: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: 115

Thank You
-Given: 199
-Receive: 77


« Reply #3 on: June 21, 2009, 07:04:28 19: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
***
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #4 on: June 21, 2009, 07:11:39 19: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
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



« Reply #5 on: June 22, 2009, 11:44:50 23: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: 442

Thank You
-Given: 167
-Receive: 149



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



password protected?
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #7 on: June 25, 2009, 02:10:47 14: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, 02:28:51 14:28 by robban » Logged

Code Warrior
joker12
Junior Member
**
Offline Offline

Posts: 84

Thank You
-Given: 13
-Receive: 80


« Reply #8 on: June 28, 2009, 01:10:18 01: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, 01:12:41 01: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, 08:31:02 20: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
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



« Reply #10 on: July 01, 2009, 11:51:50 23: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, 12:29:25 00:29 by pirvcb » Logged
pirvcb
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



« Reply #11 on: July 04, 2009, 04:08:00 04: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, 05:52:32 17:52 by pirvcb » Logged
qolpa
Newbie
*
Offline Offline

Posts: 27

Thank You
-Given: 19
-Receive: 5


« Reply #12 on: July 09, 2009, 07:21:21 07: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
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



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


 Huh

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

Posts: 24

Thank You
-Given: 22
-Receive: 21


« Reply #14 on: July 11, 2009, 02:00:23 14: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
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



« Reply #15 on: July 11, 2009, 10:07:31 22: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