Tool/software:
After connecting an XDS110 to a custom board based on the AM625, I created a .ccxml file in CCS. The Test Connection was successful, but when I try to connect to the A53_0 core, I get the following error. What could be the reason?
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:
After connecting an XDS110 to a custom board based on the AM625, I created a .ccxml file in CCS. The Test Connection was successful, but when I try to connect to the A53_0 core, I get the following error. What could be the reason?
Hi Yongkwan,
Have you initialized the SoC properly via SBL binaries?
Please refer EVM_FLASH_SOC_INIT for details.
Regards,
Tushar
I haven't initialized the SoC via SBL binaries.
Can it be initialized only by UART boot mode?
The boot mode of the custom board is fixed to SD card boot mode.
Hi Yongkwan,
You can initialize the SOC via SD card boot mode also. Please refer EVM_SOC_INIT for details.
I assume you have required tiboot3.bin, tispl.bin file present in the SD card.
Regards,
Tushar
Currently, the boot is like the above.
Is this enough to initialize SoC for jtag?
I am enabling jtag to debug u-boot.
Hi Yongkwan,
Looks like the SOC is not initialized properly and the uboot is having some problem.
I am routing your query to correct expert for further comment.
Regards,
Tushar
Hello Yongkwan,
What are you trying to do here?
Can you provide some additional information about what you are trying to do?
Is this a TI EVM, and you are just trying to boot the prebuilt SD card image? If so, what revision of the EVM are you using, and what version of the Linux SDK?
Are you trying to get custom code booting on a TI EVM? Are you trying to get custom code booting on custom hardware?
Documentation on debugging SPL
You can find a graphic of the standard SPL boot flow here:
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_00_09_04/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#boot-flow
If you are trying to debug SPL instead of the later U-Boot, we have out-of-date documentation in the Linux SDK docs:
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_00_09_04/exports/docs/linux/Foundational_Components/U-Boot/Apps-SPL-Debug.html
That page will be updated for SDK 11.1. In the meantime, the source code is here:
https://github.com/TexasInstruments/processor-sdk-doc/blob/master/source/linux/Foundational_Components/U-Boot/Apps-SPL-Debug-OpenOCD.rst
Regards,
Nick
Hi Nick,
I am trying to debug custom board based on AM6252 with my custom u-boot.
Test connection is successful with my .ccxml., but connecting to a53_0 with ccs fails.
Hello Yongkwan,
If I were you, I would start by trying to debug SPL as documented in the links in my previous response.
Your processor has definitely not made it out of SPL and into U-Boot yet. I am not sure whether it is running into issues in the R5F half of SPL or the A53 half of SPL.
Regards,
Nick
There is no r5 core in the am625 datasheet, but in the ccs debug screen. Is there a r5 core in am6252? Why is it not documented in the datasheet?
This is the Device Manager R5F core. During runtime it runs the "Device Manager" firmware, but earlier during SPL boot it runs the first half of SPL, as shown in the U-Boot diagram.
Regards,
Nick
It is possible that you are failing to connect to the A53 core because that core is not yet running, because your processor is getting stuck somewhere in the R5F SPL code.