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.
Part Number: TDA4VM
Tool/software: Code Composer Studio
I do not have any UART instances. How can i get the u-boot console logs on DCC(Debug Communication Channel) using Lauterbach/Trace32?
Hi,DCC: DCC stands Debug communication channel. ARM processors provide very useful utilityto divert all the console prints to a debug channel. More details here: https://developer.arm.com/documentation/ddi0210/c/Debug-Interface/Debug-Communications-Channel/Communications-through-the-DCC
This is very useful for the following cases:
Please use the below patch on top of latest 7.0 SDK: 0001-j721e-Enable-DCC-on-T32.patch
The patch does the following:
The user needs to compile the u-boot binaries using:
cp board-support/u-boot_build/a53/u-boot.img board-support/u-boot_build/a53/tispl.bin board-support/u-boot_build/r5/tiboot3.bin board-support/prebuilt-images/sysfw.itb /media/$USER/boot/
Open 32 bit arm Trace32 version:
As mentioned the patch adds an infinite loop. So we need to connect to MCU-R5F using the cmm script: j721e_evm_r5.cmm
After running the above CMM script.
Open the DCC window by running the following commands in the trace32 command window:
TERM.SIZE 100. 1024.
The above should open a DCC Terminal
Now Set PC to immediate next instruction. As example in the below screenshot the infinite loop is at 0x41c00524 so Set the PC to 0x41c00526to get out of while loop. Press run.One should see DCC window with R5 SPL booting:
Now we are done with R5 SPL now close t32 and open 64 bit mode using t32marm64 and run a72 cmm script: j721e_evm_a72.cmm
Run commands mentioned above to open DCC window and then press run. You Should see a72 SPL & u-boot prints like below.Press enter to get to u-boot command prompt.
The same should work for DRA820, DRA829 processors with just the changes in DTs and config files.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
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. 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.