AnsweredAssumed Answered

keil uvision5 - how to run code from internal sram

Question asked by raskoljnjikov on Feb 26, 2015
Latest reply on Feb 26, 2015 by Clive One
first sorry for my bad english.
Currently i am working on project that require a lot of debugging.I am using keil uvision5 and stm32f4 and would like to run code from internal sram instead of flash.
How to setup target options to do this?I have dedicate first 64kb ram(starting at 0x20000000) to irom1, shrinked ram that much...

I have found example on keil web site (apnt230) that has 2 targets(one for ram and one for flash) but cannot find where is the catch.

error:No Algorithm found for: 20000000H - 20000343H
scatter file:
R_IROM1 0x20000000 0x00010000  {    ; load region size_region
  ER_IROM1 0x20000000 0x00010000  {  ; load address = execution address
   *.o (RESET, +First)
   .ANY (+RO)
  RW_IRAM1 0x20010000 0x00010000  {  ; RW data
   .ANY (+RW +ZI)

greetings from Croatia.