Skip to main content
Visitor II
February 5, 2019
Question

How do I put a variable to specific memory (RAM) address?

  • February 5, 2019
  • 0 replies
  • 694 views

Good day!

I'm using STVD+Cosmic. How do I set up the variable in the RAM at the specific position.

I've tried creating new Segment and Section but the variable is declared at another address in the flash.

Also, nothing changes when I'm changing min or max addr of the RAM segment in Linker settings. After reset I still see the same data at the area which I subtracted from the segment. Why?

I've tried this guide http://www.cosmic-software.com/faq/faq3.php

but I can't specify the address in the STVD Project Setiings/Linker/Input page.

    This topic has been closed for replies.