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

hex changes

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



Joined: 28 Feb 2006
Posts: 151

View user's profile Send private message

hex changes
PostPosted: Tue Oct 02, 2012 9:46 am     Reply with quote

Hi everyone!

I'm developing a bootloader via GPRS, it works fine, but the problem now is the amount of data that I have to send to the microcontroller to load the new firmware.

I compare the 2 hex files and only send the differences.

But, when I make a little change on the program (add a delay for example) then almost all the hex file changes and I have to send almost all the hex file again.

Is there a way that this changes only affect a small part of the hex file?

Thanks!
temtronic



Joined: 01 Jul 2010
Posts: 9184
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Oct 02, 2012 2:27 pm     Reply with quote

If I'm reading your request right..
simply said ..no...

however...

If your code is 'modular ' and accepts 'constants', you could just send a file like a dotINI in Windows. This file would contain the delay values, rs232 options, LCD row/line info, etc.

It is NOT an easy assignment though, as 99.99999% of the code MUST be 'fixed', only changes like time delays, LCD screen positions could be easily altered.

hth
jay
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