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.

Flash limit size exceeds in cc2650

Other Parts Discussed in Thread: CC2650

We need to implement / run 2 or more application simultaneously from cc2650. But when we try to flash more than one application,  the memory of the flash exceeds. Hence we are able to flash only one application.

But when we got the LaunchPad cc2650 board we were able to do all the application with the firmware which was present in it by default.

  • Are you using the same linker cmd file as the original firmware? Also, Did you change the target configuration?
    Stephen
  • Also, how are you going to run 2 or more applications simultaneously? Doesn't the cc2650 have only a single core.
  • Yes I have changed the target configuration to CC2650, and I'm sorry I have no idea about what the "linker cmd file" is. It would be helpful how to create the same as it was in the original firmware.
  • The linker command file has a ".cmd" file extension and it defines where are your functions and variables go in memory.

    How are you going to run two or more programs simultaneously in memory? Or do you mean that you want to have two or more programs in flash and then select which one is going to run at boot time?
  • Sorry if my question is dumb, I'm new to TI. Actually I need to create the firmware which replicates the same / all functionalities that original firmware had.
  • I am not exactly sure what you are trying to do.  Am I correct to say your are trying to put two programs in flash and pick one of them at boot time?  How are you going to select the program at boot time?  You could select the program in a common main() function (i.e. a function that is common between the two programs).

    If you want to have two programs in memory, you will probably want a separate section for each.  Usually, all the code goes into the .text section (see cmd file).  However, you can use the a special #pragma (defined in the compiler user's guide) to define a section for each function.

    If your cmd file is configured properly, then the sum of all the sizes of all programs is two large to fit in the flash.

    The linker generated map file will tell you how much memory is being taken up by each object file.  you specify the name and location of linker generated map file in the Linker options.

    Stephen

  • Do you mean you were only able to program the flash once and then the programming device (i.e. debugger or etc) was not able to program the flash again?