View previous topic :: View next topic |
Author |
Message |
SubhamayS
Joined: 07 Mar 2012 Posts: 34 Location: jalpaiguri, India
|
Can I add more drivers to the demo compiler ? |
Posted: Wed Jul 06, 2016 10:34 am |
|
|
I have been training students on PIC.
Presently I am using the single chip compiler that was provided with Microchip PICKit2 starter kit.
Being a demo version it has limited number of drivers. But I want to work with the ccs bootloader with the same compiler. can I add the driver seperately ?
Please let me know if this possible... |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jul 06, 2016 11:13 am |
|
|
What PIC is your one-chip compiler setup for ? |
|
|
SubhamayS
Joined: 07 Mar 2012 Posts: 34 Location: jalpaiguri, India
|
|
Posted: Wed Jul 06, 2016 11:21 am |
|
|
PCM programmer wrote: | What PIC is your one-chip compiler setup for ? |
It is for PIC16F887 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jul 06, 2016 11:25 am |
|
|
It should work with a bootloader. The compiler restriction is for one chip.
As far as I know, nothing else is restricted. |
|
|
SubhamayS
Joined: 07 Mar 2012 Posts: 34 Location: jalpaiguri, India
|
|
Posted: Wed Jul 06, 2016 11:27 am |
|
|
you mean the driver can be added separately ? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jul 06, 2016 11:39 am |
|
|
Yes. Look at the posts on this forum about Ex_bootloader.c and
Ex_bootload.c. The first one is the bootloader that must be compiled
and programmed into the PIC. The 2nd one is an application program
example that must be compiled, and then the .HEX file can be downloaded
to the PIC through a serial port.
These are not really "drivers". They are programs. A driver would be
something like ds1307.c, 2432.c, ds1621.c, etc. |
|
|
SubhamayS
Joined: 07 Mar 2012 Posts: 34 Location: jalpaiguri, India
|
|
Posted: Wed Jul 06, 2016 12:12 pm |
|
|
Thanks a lot for the help.. I will try it with the device and get back with the result.. |
|
|
|