TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: R5F runs C++ code

Part Number:TDA4VM

Hi,

I would like to run C++ algorithms on an R5F MCU2_0 and am wondering if there are any relevant documents available. Currently, compilation is successful, and simple code can run without issues. However, complex code results in program crashes. By examining the addresses, I found that the space allocated through malloc and new is not in the MCU's heap area but rather in the code/data segment. This includes the initialization and expansion of STL containers, which find an available address in the code/data segment for initialization and continue to use subsequent addresses. If the initialization content is too large, it may overwrite already allocated addresses. Therefore, I suspect that this issue may be causing the crashes with complex code.

Taylor:

Hi mao,

For your query, please post your query in E2E Forum as link below.https://e2e.ti.com/TI's product line experts will answer your question.

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: R5F runs C++ code
分享到: 更多 (0)