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.
Hello,
I'm using CCS 5.3 to program MSP430F5528.
Changing linker file I select area in memory where my code is programmed through jtag
e.g FLASH : origin = 0x5400, length = 0xAB80
will program my code starting at address 0x5400.
I'm trying to find out how to program the same code in the extended flash address above 64k. Any suggestions/help will be highly appreciated.
why that? The IDEs that natively suipport MSPs with >64k do already have proper linker files.przemkop said:Changing linker file
However, teh ones I know of define two flash area , e.g. FLASH2 : origin = 0x10000, length = 0x10000
Then in the 'magic' that controls what goes into which segment, it is defined that code or constands may be put in both segments, whichever comes first or has enough free space.
Keep in mind that if your code uses flash above 64k, all cod emust use large code model (CALLA and RETA instructions), ISRs (or at least their entry points, if doing them in assembly) need to be below 64k (as the interrupt vectors are 16 bit only) and constants above 64k require large data model (that means 32bit register push/pop instructions and 20/32 bit data pointers everywhere, including any library code that is linked)
**Attention** This is a public forum