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.

TMS320F2800137: TMS320F2800137 RAM software program issue

Part Number: TMS320F2800137
Other Parts Discussed in Thread: TMS320F28027

The Flash program is powered on, transported to the ram, and run

2800137 cmd definition as below:

需要搬运的函数:

Definition of handling use in Main function;

The program can be downloaded, but several functions are not running.

  • Hello,

    Our expert on this topic is currently out of office and is expected to be back by 28th November. Please expect delay in response.

    Regards,

    Varsha

  • Hello Herbert,

    The program can be downloaded, but several functions are not running.

    Have you verified whether they are programmed correctly in Flash and get correctly copied into RAM? Can you verify that the memory which should be getting executed is not overwritten at the time the function is called?

  • i confirm it is not  overwritten, 

    could you give me  F2800137 software routine ? thks

  • i confirm it is not  overwritten, 

    So when you look at the Memory Browser window you are able to see all the functions in their proper location in RAM/Flash, correct? Do the functions which aren't running ever get executed even once (please check with breakpoints)? Does the program get stuck somewhere in code or is it able to execute fine in some while loop at the end of main or something similar?

    could you give me  F2800137 software routine ? thks

    I'm sorry, I don't know what you're asking for here. Are you trying to look for example code?

  • help check if it is ok as this Function definition :

    #ifdef __cplusplus

    #pragma CODE_SECTION(".TI.ramfunc");

    #else

    #pragma CODE_SECTION(所需函数, ".TI.ramfunc");

    #endif

    TMS320F28027 has  memcopy function , but 2800137 can not find it , 

    if it is as above funtion definition ,thks

  • help check if it is ok as this Function definition

    If you're using the second pragma statement then yes it is correct, as long as a valid function is used within the statement.

    TMS320F28027 has  memcopy function , but 2800137 can not find it , 

    You can use the memcpy function found in string.h, this should work fine.