iphone
Active Member
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
|
|
|
|
|
iphone
Active Member
Offline
Posts: 168
Thank You
-Given: 115
-Receive: 10
|
|
« Reply #2 on: June 21, 2009, 06:06:52 18:06 » |
|
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
|
|
|
|
|
iphone
Active Member
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.. 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
Posts: 105
Thank You
-Given: 147
-Receive: 245
|
|
« Reply #5 on: June 22, 2009, 11:44:50 23:44 » |
|
|
|
|
Logged
|
|
|
|
sohel
Senior Member
Offline
Posts: 442
Thank You
-Given: 167
-Receive: 149
|
|
« Reply #6 on: June 23, 2009, 09:09:47 09:09 » |
|
|
|
|
Logged
|
|
|
|
robban
Senior Member
Offline
Posts: 265
Thank You
-Given: 34
-Receive: 38
Warrior
|
|
« 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...
|
|
« Last Edit: June 25, 2009, 02:28:51 14:28 by robban »
|
Logged
|
Code Warrior
|
|
|
joker12
Junior Member
Offline
Posts: 85
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
Posts: 265
Thank You
-Given: 34
-Receive: 38
Warrior
|
|
« 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
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.htmlpass: mbandala Later
|
|
« Last Edit: July 02, 2009, 12:29:25 00:29 by pirvcb »
|
Logged
|
|
|
|
pirvcb
Active Member
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/oy2z7utPass 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
Posts: 27
Thank You
-Given: 19
-Receive: 5
|
|
« Reply #12 on: July 09, 2009, 07:21:21 07:21 » |
|
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
Posts: 105
Thank You
-Given: 147
-Receive: 245
|
|
« Reply #13 on: July 09, 2009, 10:07:22 10:07 » |
|
Can i guess this is the only way for you to ask to reupload?
|
|
|
Logged
|
|
|
|
anaKu
Newbie
Offline
Posts: 24
Thank You
-Given: 22
-Receive: 21
|
|
« Reply #14 on: July 11, 2009, 02:00:23 14:00 » |
|
|
|
|
Logged
|
|
|
|
pirvcb
Active Member
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.zipThe ifile link is down due a crash of ifile system. Advice says that will be back working in little time.
|
|
|
Logged
|
|
|
|
|