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.

TDA4VM: Global uninitialized variable initial value exception

Part Number: TDA4VM


Hi TI Experts,

This problem is a follow-up issue of TDA4VM: Root cause of AWB initial value exception - Processors forum - Processors - TI E2E support forums.We are using TDA4 SDK7.03, and in our production project we found that the same firmware had an uninitialized global variable exception on some chips. We use CCS to debug the abnormal hardware and find that the initialization value of aewbCtrlPrms before the program is run is 0xffff, and the initial value of the two global variables before and after aewbCtrlPrms in map file is also 0xffff. In normal hardware, the initial value of these variables is 0. From the analysis of this information, we currently have the following questions:

1. What is the treatment of uninitialized global variables in TDA4VM's compilation and startup rules? Whether it is assigned to 0 at startup or a random value.

2. If global variables are automatically assigned to 0, what is the possible reason for the variable assigned to 0xffff in the address 98523c1c~985273d4 in this problem, and what is the way to further investigate?

Screenshot of the exception

Screenshots of normal parts

Best Regards