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 support@ccsinfo.com

On restart goto the bootloader first the to the app (18F252)

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







On restart goto the bootloader first the to the app (18F252)
PostPosted: Thu Feb 19, 2004 2:49 pm     Reply with quote

I'm working on a bootloader. After a reset I want to start the bootloader
bevor it jumbs to the applikation.
loader.c and ex_load.c works on my PIC verry good.
But if my "Hello World" code is loaded, then it never jumbs again to the
bootloader.
So one solution ist to use the goto 0x.... in the applikation, that works
but I think,that is very danger to do. If once the bootloader doesent
have a good download then I never can start the PIC again.
So what can I do, can you give me any sugestion.
My app. have on 0x0000 a goto to the app. there I need a goto to the
bootloader first, if nothing to download, then go to the app. adress

Is this a save way ? What is with the INT ...

thanks very mutch

Stefan
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Feb 19, 2004 3:44 pm     Reply with quote

I once posted sample code for a bootloader.
Maybe it will help you.
http://www.ccsinfo.com/forum/viewtopic.php?t=7791&highlight=reset+vector
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