Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/10/99 18:51
Read: times


 
#550 - locate multiple CODE segments at predefine address
I develop a system that uses 8032 chip. Flash memory will be used for code.
We want to be able to reprogram this flash. Therefor I need to develop boot
strap routine located at first 2K of flash which is protected from writing.

I know how to force ONE function to be located at certain position in CODE
memory using CO(?PR?MODULE?FUNCTION(100H)) for example.

First question:
Can I locate more than one segment at predefined location? I've tried to play
with command line, but no sigar.
Maybe it is possible to locate ALL functions in a module(file) at certain
location?

Second question:
Let's say I reserved (made it read only) first 2K of flash for
my bootstrap routine. Let's say it is only 1.5K long.
How do I make sure that rest of protected memory will not be used by
other routines that I may want to rewrite in the future?


Thank you

Mike





No replies in thread

Back to Subject List