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

Relocate a built-in() ?

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







Relocate a built-in() ?
PostPosted: Mon Mar 24, 2003 7:30 pm     Reply with quote

Of course it's a bootloader...why else do people have to fool with #ORG :-)

The program is self-contained except for write_program_eeprom().
That function (and the read, for some reason) insists on locating in low memory. Can I relocate that somehow, or am I stuck writing my own?

Could be worse, I suppose. And the compiler listing will help me write my own version ;-)

Barry
___________________________
This message was ported from CCS's old forum
Original Post ID: 13033
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: Relocate a built-in() ?
PostPosted: Mon Mar 24, 2003 7:51 pm     Reply with quote

:=Of course it's a bootloader...why else do people have to fool with #ORG :-)
:=
:=The program is self-contained except for write_program_eeprom().
:=That function (and the read, for some reason) insists on locating in low memory. Can I relocate that somehow, or am I stuck writing my own?
:=
----------------------------------------------------------
CCS shows how to do this in their LOADER.C example file.
They use the "default" parameter with an #org statement.
This is briefly explained in the README file.

File locations:
README.TXT c:\Program Files\Picc
LOADER.C c:\Program Files\Picc\Drivers
EX_LOAD.C c:\Program Files\Picc\Examples

You can compile a test project, called EX_LOAD.PJT, and
examine the .LST file to verify that write_program_memory()
has been put in the high ROM area.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13035
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