Hi,
I am Using C2000 series MCU that is TMS320f28069. I have confusion about .cmd file when i am using Flash linker cmd file my code will execute in RAM or Flash?.
With regards,
P M Manoj Kumar.
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.
Hi,
I am Using C2000 series MCU that is TMS320f28069. I have confusion about .cmd file when i am using Flash linker cmd file my code will execute in RAM or Flash?.
With regards,
P M Manoj Kumar.
hi Himsnshu,
thank you for your reply. Code execution speed for both RAM and Flash is same or not in TMS320F28069.
with regards,
P M Manoj Kumar.
Hi Manoj,
Code execution will be faster for RAM compared to FLASH.
Regards
Himanshu
Hi Himanshu,
what ever the section i.e., RAM or Flash,But CPU will fetch, decode, execute and store(pipelining) . How we can differentiate code will execute faster in RAM when compared with Flash.
with regards,
P M Manoj Kumar.
Manoj,
Flash memory is slower than RAM. Flash takes more cycles to provide the data that CPU asks for. As you might have seen in the datasheet (Table 5-17. Minimum Required Flash/OTP Wait States at Different Frequencies), user application should configure some wait-states for Flash to return the valid data/code that CPU requests for. However, a prefetch mechanism called flash pipeline can be enabled to improve fetch performance for linear code execution. See section 1.2.3.2 Flash Pipeline Mode in TRM at http://www.ti.com/lit/ug/spruh18g/spruh18g.pdf for more details.
Thanks and regards,
Vamsi
Hi Vamsi,
Thank you.........if I have any doubt i will reply for this mail.
With Regards,
P M Manoj Kumar.