Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

How to set Constant into absolute address of Flash in the MSP430FG4619

$
0
0

I want to put a Constant into absolute flash address, I use #Pragam CODE_SECTION, but it is not work, I means the Constant is not set in to what I want, for example:

#Pragam CODE_SECTION(Mydata,"Mysection")

Const Char Mydata[];

Mysection is defined in the Link file: Mysection   : origin=0x2600, length=0x10

the project can be built without error, but the Mydata is not located at 0x2600.

thanks lot


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>