Data store in RAM in a particular memory address location

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_3637981
Level 1
Level 1
First question asked

Hi Tech Team,

My name is Praveen Babu, working in Calsonic Kansei north America as s technical specialist.

iam working on HVAC domain. we are using microcontroller MB91F525K.

Iam trying store data in a particular location in RAM from arrays.

When i check in memory map in debug mode, data is not storing in mentioned address in RAM location.

Can u give suggestion how to store data from array of variables in a particular location in RAM.

pastedImage_0.png

0 Likes
1 Solution
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Please try to use "#pragma section" to locate your arrays in specific address.

Best regards,

Amy Wang

View solution in original post

0 Likes
1 Reply
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Please try to use "#pragma section" to locate your arrays in specific address.

Best regards,

Amy Wang

0 Likes