CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

The Bootloader AN1310 of Microchip work with CCS compiler?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pilar



Joined: 30 Jan 2008
Posts: 197

View user's profile Send private message

The Bootloader AN1310 of Microchip work with CCS compiler?
PostPosted: Fri Jul 16, 2010 3:35 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 16, 2010 5:13 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 16, 2010 9:47 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 19, 2010 11:07 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 19, 2010 1:06 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jul 19, 2010 8:02 pm     Reply with quote

I am use this code: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en546974
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group