This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430 write to specific RAM location

Other Parts Discussed in Thread: MSP430F5171

I am trying to do something that should be incredibly simple, but I can't do it.

I am trying to store an array in a specific location in RAM (the start).

I'm using an MSP430F5171 device, where the RAM starts at 0x1C00, and CCS v6.1.

Lot's of people are asking similar questions, but I can't find the right answer anywhere.

This Wiki page (http://processors.wiki.ti.com/index.php/Placing_Variables_in_Specific_Memory_Location_-_MSP430#Using_location_PRAGMA)

says that "The CCS v5.x comes with the Code Generation Tools (CGT) version v4.x which also supports the location pragma such the [sic] one in IAR EWB".

This means that support for the location pragma has been removed from CCS when it was there previously?  Why is this?

Section B.3.1 of the following document:

http://www.ti.com/lit/ug/slau157ah/slau157ah.pdf

isn't very helpful at explaining how this is done and there isn't a single example anywhere (that I can find).

Could someone please tell me how this would be done?  The array is 128 bytes long.  Or even just a single integer.  Thanks.

**Attention** This is a public forum