View previous topic :: View next topic |
Author |
Message |
pilar
Joined: 30 Jan 2008 Posts: 197
|
The Bootloader AN1310 of Microchip work with CCS compiler? |
Posted: Fri Jul 16, 2010 3:35 pm |
|
|
Hi, I want to know if some of you have been using the Bootloader AN1310 of Microchip with CCS compiler? |
|
|
pilar
Joined: 30 Jan 2008 Posts: 197
|
|
Posted: Fri Jul 16, 2010 5:13 pm |
|
|
Hi, I am use the bootloader AN1310 with CCS compiler, the firt time it work OK, I can run the PC application and the Bootloader, also I can program the Pic with my application, it work OK, but when I want to reenter the bootloader mode, I can not, the verification fails, then I lose the bootloader and communications with it fails. "No Bootloader found"
I am using a PIC18F4550, the bootloader start in 0x00 and the remapped of my aplication starts in 0x800
Some one can help me?
Last edited by pilar on Wed Jul 28, 2010 9:35 am; edited 1 time in total |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Jul 16, 2010 9:47 pm |
|
|
The bootloader that comes with PIC-C works pretty well and is fairly easy to set up.
Am I to understand you're using the microchip bootloader .HEX file and then trying to use the CCS SIOW to write a CCS .HEX application to the same PIC?
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
pilar
Joined: 30 Jan 2008 Posts: 197
|
|
Posted: Mon Jul 19, 2010 11:07 am |
|
|
Quote: | Am I to understand you're using the microchip bootloader .HEX file and then trying to use the CCS SIOW to write a CCS .HEX application to the same PIC?
|
Here is a mistake, I'm not using the CCS SIOW to program the Pic, I am use the MPLAB IDE and the CCS plug-in to to edit and build projects using the CCS C compiler. |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Mon Jul 19, 2010 1:06 pm |
|
|
pilar wrote: |
Here is a mistake, I'm not using the CCS SIOW to program the Pic, I am use the MPLAB IDE and the CCS plug-in to to edit and build projects using the CCS C compiler. |
Well that's what I do... but what code-source are you using for the bootloader?
If you're using SIOW with microchip source, I've not tested that...
I've built the CCS bootloader using MPLAB w/CCS (as the plug-in) and used it with CCS's SIOW.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
pilar
Joined: 30 Jan 2008 Posts: 197
|
|
|
|