Part Number: TMS320F28379D
Tool/software: TI C/C++ Compiler
Hi there,
I found the requirement of using "volatile" keyword for access SDRAM, ie. "far" section, is not necessary from the compiler perspective.
As found in the documentation, to access SDRAM:
- data/array should be with "far" attribute so compiler will use 32-bit address mode to access data/array in SDRAM, because symbols are assumed to be within 22-bit address:
However,
- any data with far attribute needs volatile keyword to make the compiler happy
The update from SPRU514H should be sufficient to deassociate "volatile" from "far" attribute.
Since volatile keyword has its own meaning in C, adding any processor-specific use to it is not a good idea.
Please keep me updated regarding the C2000 compiler change to this issue.
Thank you!
Young


