We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How do I setup Keil uVision to use external memory for stack and heap functionality?
From what I have gather reading various posts on the forum the order of processor execution is:
Startup.s -> __main -> __rt_entry -> C main()
From what I understand I would have to modify this by adding processor and FSMC bus initialization:
Startup.s -> Call SystemInit_ExtMemCtl -> __main -> __rt_entry -> C main()
Does Keil provide any example code for this in their directories, c:\Keil, which is the default installation path?
Has anyone done this successfully for this target?
I never tried to do this - I let the linker choose for me. Either way, I think you need to have a look at the linker and utilities guide of the RealView toolchain.