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

ROM use is 46%, then Out of ROM message when add bootloader
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Greg Richter



Joined: 15 Feb 2008
Posts: 18
Location: Atlanta, Tulsa, Asheville

View user's profile Send private message Visit poster's website

PostPosted: Fri Sep 27, 2024 12:07 pm     Reply with quote

Thanks Ttelmah, I assumed I was missing something fundamental! i did read the examples, but misunderstood something basic.

It's a single program, that I'm trying to make bootloadable. That's the fundamental mistake, I'm gathering.

What should be happening - which I missed - is that the bootloader program, ex_bootloader.c for example, is built, loaded, and then is available to load the application, preserving the bootloader code in low memory to do it again as required. Two modules, two steps.

All of which to say, TWO programs. The smaller one, bootloader, loaded by CCSLOAD or similar direct to the chip which then can be used to load the application and any further updates to same.

Am I closer? Sorry, this was not more obvious. Odd thing is I built this same feature years back. Didn't quite remember it, clearly!

Thanks again!
_________________
Madness takes it toll; please have exact change.
Ttelmah



Joined: 11 Mar 2010
Posts: 19529

View user's profile Send private message

PostPosted: Fri Sep 27, 2024 10:14 pm     Reply with quote

Starts to make sense. You were missing the basic thing, the difference
between the botloader, and the 'bootloadee'!....
I see this also explains your interrupt problem in the other thread.
Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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