2430 views|2 replies

2

Posts

0

Resources
The OP
 

The xcl file of MSP430FR6972 cannot change the heap DATA16_HEAP starting address [Copy link]

Hello everyone:

This is the changed xcl file for msp430fr6972:

//-----------------------------
// Read/write data in FRAM
//
-Z(DATA)MYSEGMENT=4400-47FF
- Z(DATA)DATA16_HEAP+_DATA16_HEAP_SIZE
-Z(CONST)DATA16_P,DATA20_P=4800-FF7F
//-Z(DATA)DATA16_HEAP+_DATA16_HEAP_SIZE
//-Z(DATA)DATA20_HEAP+_DATA20_HEAP_SIZE

The compiled mapping file .map section:

DATA16_AN 4400 - 4401 2 rel 0
MYSEGMENT 4402 - 4479 78 rel 1
DATA16_HEAP 4800 - 489F A0 rel 1
DATA16_C 48A0 - 5B4B 12AC rel 1

Why does the starting address of DATA16_HEAP always start from 4800? I have also tried to put the -Z(DATA)DATA16_HEAP+_DATA16_HEAP_SIZE instruction in the RAM area.

But the starting address still starts from 4800, as if the -Z command does not work. Please give me some advice, thank you!!!

This post is from Microcontroller MCU

Latest reply

Please refer to the attached case [attach]427479[/attach]   Details Published on 2019-8-11 23:15
 

3836

Posts

19

Resources
2
 

Please refer to the attached case

Bootloader-for-MSP430.rar (1.42 MB, downloads: 28)

This post is from Microcontroller MCU
 
 

2

Posts

0

Resources
3
 
Hello: I want to make DATA16_HEAP and MYSEGMENT share the 4400-47FF area, but how to do it? After compiling, DATA16_HEAP starts at 4800. Please give me some advice. If you succeed, you will be rewarded.
This post is from Microcontroller MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list