Using a JTAG connection and using the RAW Logs to look at the logs.
So the loging starts off fine. I break at main and there are a few logs. I run some in my code and I get log messages fine.
Then I run some more and all of a sudden the logs are gone.
I traced it down to a Log_info2 call. Just before it I am fine. Step over it and the logs are gone. Just before this I setup an EDMA3. I am debugging an SD driver that was ported from the PSP stuff.
After that no log messages come out at all. If I reset, the pattern starts all over again. Exact same Log_info seems to crash the logging.
What can I look at or do to debug this issue?
have you checked to see if ROV is detecting any other issues? Which version of XDCtools are you using? Does this happen with all Log2_info calls or just that particular instance?
I dont see any ROV errors (that doesnt mean I didnt miss any, just nothing obviouse).
I am not sure how to answer your last question other then to comment out that log_info2 and see if it happens on the next log_info? I can do that if that is what you are talking about.
I should add that there is a tab that opens up called Error Log - looks like it is logging a bunch of JAVA errors. Lots of them. Maybe it is stricktly a display side issue and the JAVA errors have something to do with it?
Here is a picture before and after the stepping over the Log_info statement. Note that after, the Raw Logs are empty and log messages no longer come out.
If I comment out that Log_info, the problem just occures on the next Log_info. Happens to be the same file.
I'm going to try to reproduce this. I'll keep you posted.
I simply ran an example on the simlulator and it checked out fine. I'll run it on an actual device now to see if I can reproduce this problem.
could you post your .cfg file. There may be subtle difference with a big impact.
I made Log_info0, Log_info1, and Log_info2 statements and they showed up in LoggerBuf. I ran the same setup on the hardware and I wasn't able to see the logs disappear.
Are you still seeing this problem? Can you see the logs using ROV?
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.