[Icc-avr] Placing text in an absolute locations in the AT90CAN128
Milender, Jeff
Jeff.Milender at goodrich.com
Tue Feb 5 11:17:55 PST 2008
I'm sure that this has been covered here but I couldn't find anything in
the archives.
I'm using ICCAVR 7.00, and my processor is an AT90CAN128
How do I go about placing a const String into Flash at an absolute
location?
In the example below I am trying to place a Software Part Number in
FLASH starting at address 0x0100.
Here is what I thought would work but I get an error message "Code
address 0x100 already contains a value"
#pragma text:mytext
const INT8U SWPartNumber[24] = {"GCP787S014-001"};
#pragma text:text
With the following in the Project Options <Other Options> set to:
-bmytext:0x100
Thanks
Jeff
Jeff Milender
Systems Engineer
Cargo Systems
Goodrich Interiors
2604 Highway 20 North
Jamestown, ND 58401
Tel: 701-253-7569
jeff.milender at goodrich.com <mailto:jeff.milender at goodrich.com>
www.goodrich.com <http://www.goodrich.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20080205/cf4b3552/attachment.html
More information about the Icc-avr
mailing list