View previous topic :: View next topic |
Author |
Message |
Guest
|
Can somebody answer my question? |
Posted: Thu Jan 08, 2004 6:43 am |
|
|
Hello,
I posted this question hear and also sent it to CCS, but they didin't reply to me.I have several pics (18F452) program with this Bootloader. How can I use PIC C with the MicroCode Loader?
Thanks
Ezequiel |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jan 08, 2004 10:53 pm |
|
|
You may be the only one who uses that program with CCS.
You may have to be the one who proves that it can work, or not.
The information to answer your question is basically here:
http://www.mecanique.co.uk/code-studio/loader/index.html
Based on the description, that bootloader operates the same
way as the MicroChipc bootloader. So you should be able
to make it work by just adding one #org statement above main().
See the code below.
// Reserve 336 ROM words (672 bytes) at the end of ROM
// for the bootloader, per the instructions in the link above.
#org 0x7D60, 0x7FFF {}
main()
{
while(1);
} |
|
|
Acetoel
Joined: 20 Dec 2003 Posts: 7
|
|
Posted: Fri Jan 09, 2004 6:14 am |
|
|
Thanks very much,
Which bootloader is used with CCS PIC C? Does PIC C has an integrated bootloader with the IDE?
Thanks
Ezequiel |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Jan 09, 2004 12:55 pm |
|
|
Quote: | Which bootloader is used with CCS PIC C ? |
There is no official bootloader for CCS. You should just find
one that works and use it. For the 16F877, I use this one:
http://www.microchipc.com/PIC16bootload/
They also have one for the 18F, but I haven't tried it.
http://www.microchipc.com/PIC18bootload/
Quote: | Does PIC C has an integrated bootloader with the IDE ? |
No. |
|
|
|