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.

TMS320F28069: Use Flash API from Flash memory

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE

Hello expert,

I know the FLash API must be executed from the RAM on TMS320F28069, however I have some questions.

1. What kind of the problem will be expected if I execute the Flash API function from the Flash memory?

2. It seems my code, which includes the erasing and programing the flash area, is working well even though my Flash API code does not put on the RAM.  What is the reason for this?

Regards, A.Fujinaka

  • Hi Fujinaka-san,

    Akihiko Fujinaka said:
    1. What kind of the problem will be expected if I execute the Flash API function from the Flash memory?

    Details are provided in the Flash API guide within C2000ware, directory: C:\ti\c2000\C2000Ware_3_03_00_00\libraries\flash_api\f2806x\docs

    See snippet from the doc below to answer your question:

    Akihiko Fujinaka said:
    2. It seems my code, which includes the erasing and programing the flash area, is working well even though my Flash API code does not put on the RAM.  What is the reason for this?

    The Flash API is located within the F2806x ROM as well, so it might just be running out of ROM. Are you using the Flash API example in C2000ware? The example has a BootROM build config, which is the default config. You can change the build config to SW_API if you want to see the Flash copy to RAM case.

    C:\ti\c2000\C2000Ware_3_03_00_00\libraries\flash_api\f2806x\Example_Flash2806x_API

    Best,

    Kevin

  • Hello Kevin,

    Thanks for your answer.

    I confirmed that Flash APIs are in the boot ROM area in the .map file as follows.

    abs 003ffebd _Flash2806x_Erase
    abs 003ffebb _Flash2806x_Program
    abs 003ffedf _Flash2806x_Verify

    Is this OK for this case?

    Regards, A.Fujinaka

  • Hi Fujinaka-san,

    Yes, that looks right. The Flash API functions are stored and will run from those ROM locations.

    Best,

    Kevin