The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
So far in May, you have voted 0 times ou of a total of 22 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
Is this thread worth a thumbs up?
can anyone explain about #pragma dataseg - Bobby - Oct 12 5:31:13 2012
I want to save my default constant in flash. can #pragma dataseg will help and
how? can share a code for saving 01, 02, 03 ,04 in flash 0x1080 (info A).
(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: can anyone explain about #pragma dataseg - Cor Ligthart - Oct 12 13:29:03 2012
I'm using the following code (but I'm using the crosstudio compiler)
u8 InfoRegData[256] __at "SETPOINTDATA" = { 0xFE };
or
const config DefaultConfig __at "INFO2" =
{
6, // Config version
240 // Config length
}
INFO2 and SETPOINT data are defined memory spaces in FLASH. You can use
INFO A.
(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )