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

Bootloader 24F "concept"

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



Joined: 13 Apr 2010
Posts: 23

View user's profile Send private message

Bootloader 24F "concept"
PostPosted: Wed Apr 21, 2010 10:29 am     Reply with quote

Hello everyone,

Seeking advice...

I looked at the examples to use the bootloader, but I do not understand something.
Question:
Load the bootloader on Micro.
Initiate the procedure for downloading with Siow.exe.

If the firmware upload is interrupted, what happens? Bootloader restart ?

I can not understand the operation.

Thanks for the information to all.

ps.
I'm waiting for aid to the TCP stack to 24F ... REMEMBER ME ..

Embarassed
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Apr 21, 2010 11:54 am     Reply with quote

A fail-safe bootloader must protect the bootloader area, interrupt vectors and configuration. With PIC24, protection
of interrupt vectors isn't easy, because it implies, that either all interrupt function addresses must be fixed or the
interrupt calls have to be redirected by the bootloader code through function pointers. The second variant is
effectively impossible with present PCD versions, so you have to rely on the first one. The PCD bootloader example
has no application interrupts at all and is skipping (respectively hiding) the problem.
microlo75



Joined: 13 Apr 2010
Posts: 23

View user's profile Send private message

Solved
PostPosted: Thu Apr 22, 2010 7:22 am     Reply with quote

I moved "main and bootloader " the end of memory, the rest of memory remains unchanged also the INT! if there is an interruption during the bootloader, can repeat the procedure ... tested and working

bye
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