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.