This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to access IROM1 and IRAM1 of Keil uVision4

Hi,

I am working on Freescale ARM Cortex M4 device MK60N512VMD100 using IDE Keil uVision v4.50.0.0

I have defined values of on-chip IROM1 (Start: 0x0 Size: 0x80000) and on-chip IRAM1 (Start: 0x1FFF0000 Size: 0x10000).

Now I want to access these values from inside source code (*.c or *.s) file.

Please advice

Thanks and Best Regards
Waseem

Parents
  • Thank you, this is very interesting.

    Just one point: You write that it is easy to specify in the scatter file, that all data of a specific c file should be at a specific memory range. Can you give an example for this? (do you specify the name of the c/c++ module in the scatter file, or do you need to define some segment name and then specify this segment name in the c file at the variables definition?)

Reply
  • Thank you, this is very interesting.

    Just one point: You write that it is easy to specify in the scatter file, that all data of a specific c file should be at a specific memory range. Can you give an example for this? (do you specify the name of the c/c++ module in the scatter file, or do you need to define some segment name and then specify this segment name in the c file at the variables definition?)

Children
No data