Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/TMS320F28377D: About the linking of rts2800_fpu32.lib, tricky stack pointer over flow

$
0
0

Part Number:TMS320F28377D

Tool/software: TI C/C++ Compiler

Hi expert,

Recently, my customer met a problem seems related to unwanted linking of rts2800_fpu32.lib in CMD file. The phenomenon is stack pointer (SP) sometimes run into error address like 0xFE00 and program stuck. (stack area start at 0x400 with a length of 0x100)

They limited the problem with a possible error linking command in CMD file like below:

They put rts2800_fpu32.lib into FLASH sector E in F28377D cpu1, I have never heard a practice like this, could you confirm this for me?

Additional questions in this problem:

1. Where can I find the linking rule of this library? (I saw some objective files in this library linked to .ebss some else to .text in example project)

2. If rts2800_fpu32.lib should not be linked into non-volatile memory like a flash, how does it case the SP overflow? Could you give a brief explanation on this?

Thanks

Sheldon He


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>