Tool/software: Code Composer Studio
Hi,
I am using AM5728 Custom board. My requirement spl debug using CCS.
I am using the following process to SPL Debug of AM5728 board:
1- On CCSv7.3 as File->New->Project->C/C++->Makefile Project with Existing Code for Uboot source project
2- Build and Compile Uboot source by using CCSv7.3
Make File Target in detail training.ti.com/linux-board-porting-series-module-6-building-u-boot-ccs
or
using following command
export PATH=/home/user/ti-processor-sdk-linux-am57xx-evm-04.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am57xx_evm_config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
3- Setup target configuration with "Blackhawk XDS100v2-USB System Trace Emulator" and Board or Device: AM5728.
4- Launch Configuration and connect to the CortexA15_0 target.
5- CPU Reset (SW) to CortexA15_0 target for changing the ARM core mode from THUMB-2 to ARM or Core Registers -> CPSR register list change the T register from 1 to 0
6- Load Memory with (Uboot source dir)/spl/u-boot-spl.bin, start address 0x40300000 (CONFIG_SPL_TEXT_BASE value in u-boot-spl.cfg) and type-size 32bits
7- Load symbols from (Uboot source dir)/spl/u-boot-spl (code and data offset left empty)
8- Set Program Counter Register(PC) to address 0x40300000
With above test process 3 boards i am able to test spl using ccs and checked the following message on serial console:
U-Boot SPL 2017.01-00360-g9f4b0ab-dirty (Aug 14 2020 - 18:17:28)
DRA752-GP ES2.0
SPL: failed to boot from all boot devices
### ERROR ### Please Reset the board ###
But I am having problem with 1 board in which i am unable to get any SPL Debug log on serial console.
Please help me to resolve the issue.
Thanks
Vijay Patil