This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: do code in RAM and FLASH work parallel ?

Part Number: TMS320F28035

Hi,

suppose a part of code(it is not ISR) is running in RAM (we used MemCopy function to copy it to RAM) and the other part of code is running on Flash.
1.do both parts work parallel?
2.where can they work parallel and when can not? (does any latency or delay exist for executing software codes (like mathematical
algorithm) and hardware duty (like blinking a GPIO or timers)?)

Best wishes,

  • HI,

    I am not sure what you are asking in 1. We are not a parallel processor.

    We have a section in our linker command file called .TI.ramfunc. What the linker will do it have this load to flash and then run from RAM. Then in your application you should perform a memcpy from flash to RAM for that section. Then, anytime the function is called it will run from RAM since it is linked to run from RAM. Your other code in flash will execute from flash.

    Hope this helps,
    sal
  • Hi Sal,
    I have one more question About your last sentence: "Your other code in flash will execute from flash" ;
    in my first question i mean:
    does this code (on flash) executes parallel with those codes which are executing on RAM(suppose this part of code which is running on RAM, is NOT ISR ) ?
  • Hi,

    I don't know what you mean by parallel. Please explain this. There is only one C28x CPU core on the device. It executes sequentially.

    sal
  • Hello dare Sal,

    i understood. as you mentioned a single core embedded micro controller executes codes sequentially.
    thank you so much.

    Best wishes,
    Ali