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

not know how to run from new execute address

Hi,

I have one question about Cortexm3 from smartfusion device from actel. Could you pls help me?

from <keil uvision and actel smartfuison>, I know how to implement Flash target and RAM target.

Flash target mode: download and run from inner flash memory and RW data are placed in inner ram space.
Ram target mode: run from inner ram space and RW data are placed in inner ram space.

However the two modes will result from below two potential problems:

(1) flash target modes will bring up speed limits. You know max speed is only 80Mhz when the program runs from inner flash memory.and speed will become to be up to 100Mhz when program runs from inner ram.

(2) ram target modes can't make programs work when the board are re-power-cycled.

I'd like to implement following function to overcome the above problems:

(1) all executed codes are downloaded to flash memory space firstly
(2) then these codes are copied to inner ram space automatically
(3) PC are pointed to new RAM address so as to program runs from inner ram.

I don't know how to implement it. Anybody can help me to get one example? or guidelines?

Thank you very much.

BR

Fisher