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.
Tool/software: TI C/C++ Compiler
Hi,
When and how is the .cinit section used?
Can I use the .cinit section for other purposes after initialization phase is complete?
And also, what are the disadvantages of moving the .cinit section from L2 memory to L3 memory?
Hi Kensuke,
In mmw demo of mmWave SDK, .cinit is being used for code section (.text) Check the dss map file.
Overwriting the .cinit section may disturb the application execution flow if any of the required memory block is affected/over-written. Please refer .overlay section of DSS application (dss_mww_linker.cmd) where you can put the single used function which copied at L3 but later on same memory is being used for other purpose. This won't effect as these functions are being used only once at the bootup.
First disadvantage will be half the speed of memory interface compare to L2. And L3 memory is mainly being used to store the Radar processing results which requires more memory space, so moving .cinit section to L3 may cause less memory for processing result data storage.
Regards,
Jitendra