Only when I use "UINT32 __attribute__((section(".ram_run_code"))) FlashArrayIntegrityCheck" to define a Ram-run code, the code will go into "frame_dummy" after jump to main() in startup.s and I need to run the code by manual. What's problem in my code?
1. In ld file, ".ram_run_code : {} > safe_ram_asil AT > safe_asil_text" will define the segments.
2. In startup.s, copy down for ".ram_run_code" have been added.(If there aren't this code, "frame_dummy" problem also exist)
Compiler: S32DS Power with GCC, Debug:Trace 32
Solved! Go to Solution.
Hi, stanish
I use "S32 Design Studio for PA 2017.R1".
The code please refer attachment, and the "RAM-run code" caller in main().
"CopyDown" code is in startup.s
S32 Design Studio for Power Architecture 2017.R1 - Update 2 available update compiler to solution.
Hi,
Could you possibly indicate which version of S32DS for Power do you use?
I'd suggest you to see this HOWTO document:
Can you attach your linker file and code snippet where you execute RAM code.
Hope it helps.
Stan