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

ccs bootloader question

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



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

ccs bootloader question
PostPosted: Tue Jan 08, 2013 2:08 pm     Reply with quote

Hello all:

I am just starting work on bootloader. I came across the CCS Bootloader on CCS website.

I was also looking at the loader.c file in the examples code which loads the program. I observe that it:
a) receives 64 bytes at a time and writes to program memory.
b) does checksum verification.

My questions are:
a) What is this line of code do in loader.c file?
if (do_ACKLOD)
putchar (ACKLOD);

putchar(XON);

Seems like putchar(ACKLOAD) requests the client to send next payload if checksum passes, else it just sends a putchar(XON) and the client is smart enough to re-send the data????

b) If what I am assuming is true, and the example software takes care of re-transmission, then I don't have to worry about retransmission/checksum issues right? If I am not reading this correctly, please advise...

Thanks!
WirelessAge.
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