Part Number: TMS320F28035
Hello, in the ROM_API.CMD file, FLASHB is located on PAGE1 rather than PAGE0, why is this the case.
thanks
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.
Part Number: TMS320F28035
Hello, in the ROM_API.CMD file, FLASHB is located on PAGE1 rather than PAGE0, why is this the case.
thanks
Hi Allen,
I believe this is more of a legacy thing.
PAGE 0 is typically used for program sections. For example .text or other named sections that contain code.
PAGE 1 is used for data sections. For example .stack.
In some legacy Flash programming tools, such as SDFlash, only sections on "PAGE 0" would be programmed into the flash. Consider the .const section which is data. If .const was allocated to PAGE 1, the SDFlash flash programmer will ignore it and not program the data into flash. Since this is initialized data that is constant you really want it programmed into flash. In some of our examples you will find .const allocated to PAGE 0 for this reason. Memory blocks on C28x are unified so it does not cause an issue.
http://processors.wiki.ti.com/index.php/C28x_Compiler_-_Understanding_Linking#PAGE_0_or_PAGE_1
Best,
Kevin