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.

Problems using flash api



My program boots and runs fine on a F28335  in flash, but now I have to
store variables in flash, which are kept despite power off.

add include files Flash2833x_API_config.h   flash2833x_api_library.h

and lib file flash28335_api_v210.lib

in my c application file :   memcopy();

when I try to insert the cmd instructions

Flash28_API:
   {
        -lFlash28335_API_V210.lib(.econst)
        -lFlash28335_API_V210.lib(.text)
   }                   LOAD = FLASHD, PAGE = 0
                       RUN = RAML0, PAGE = 0
                       LOAD_START(_Flash28_API_LoadStart),
                       LOAD_END(_Flash28_API_LoadEnd),
                       RUN_START(_Flash28_API_RunStart)

the compiler always quits with

warning: Flash28335_API_V210.lib(.econst) not found
warning: Flash28335_API_V210.lib(.text) not found
warning: load address of uninitialized section Flash28_API ignored

Thanks a lot!

  • gha song,

    These warnings are produced when you attempt to allocate the Flash API sections before you place a call to the Flash API library itself. If you add a call to the library in your code the warnings will go away.

    Regards,

    Tim Love