TI E2E Community
why log_print only only print the former 2 values correctly?
When I try to output more value in one log_printf, it seems the values after the 2nd will be always 0. Why and how to deal with it? Thanks!
LOG_printf(&trace, "++++++DelayNms UL TASK, %d %d %d %dSymbol DmaFinished %d us",gusTxSeq,gusTxSeq,gusTxSeq,gusTxSeq,TSCL/800);
It will output:
++++++DelayNms UL TASK, 15 15 0 0Symbol DmaFinished 0 us
Did you look at the BIOS API guide? In there it tells you what formats are allowed for LOG_printf.
In short summary, you can have 0, 1 or 2 arguments only...You cannot have more than that.
If my reply answers your question please mark the thread as answered
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.