Storing variable in flash location using Cosmic Compiler
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-21 5:07 AM
Posted on February 21, 2008 at 14:07
Storing variable in flash location using Cosmic Compiler
Labels:
- Labels:
-
Legacy Products
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-19 9:44 PM
Posted on February 20, 2008 at 06:44
Hi,
Does anybody know how to store a variable at a fixed flash location using the Cosmic compiler. I've tried using the following which does not seem to work. volatile const u16 Checksum_Calc @0xE011;Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-20 8:45 PM
Posted on February 21, 2008 at 05:45it should work, why do you say it doesn't? Regards, Luca (Cosmic)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-21 5:07 AM
Posted on February 21, 2008 at 14:07
Thanks for replying.
I assign a number to Checksum_Calc in my application and build it. When I look at the hex file the checksum does not seem to be in the location I specify.