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.

TMS320F28P650DK: C code do not be compliered to assemble code

Part Number: TMS320F28P650DK


Tool/software:

Hi complier expert, customer firmware has 3 lines C code as below, however it looks both the 2nd and 3rd line C code do not be complier in the assemble code window,  and even 2nd line C code do not display in the assemble code window. 

We have confirmed customer project turn off the optimization, may we know the reason for C code missing complier into assemble code, and how could solve the issue?    

  • For the source file that contains these 3 lines of C code, please follow the directions in the article How to Submit a Compiler Test Case.

    Thanks and regards,

    -George

  • customer police do not allow provide the source file, do we have some experience for similar case and give some possible workaround advice at first, customer could do test according advice to validate the result  

  • Unfortunately, the test case I requested is the only way to advance the issue.  Please be sure the customer understands that only one file is requested, and not the entire project.  If it helps, feel free to remove functions unrelated to the problem.  Be sure to leave everything else.  The resulting file still has to build clean.

    When I get the test case, I'll build it down to assembly code.  That means an instruction operand like @0x1c is written with the symbol name.  That makes it much easier to understand.

    Thanks and regards,

    -George