If have problems to debug the MMCSD bootloader provided by the Platform development Kit (pdk_am65xx_08_02_00_21).
Building the SBL and running it from the SD-card with power up is ok (the SBL loads the application in my case GPIO_Baremetal_LedBlink_TestApp).
That's all ok.
For better understanding of the initialisation procedure i want to debug all the steps that are necessary to init the target and load the application binary.
But if i switch the bootmode pins to "debug" and load the executable with the CCS then the bootloader is hanging at the card detection.
If i switch the bootmode pins to "SD-Card" (SW3 2+3 ON) and load the SBL then the bootloader hangs in the SBL_ErrLoop.
My question: How is it possible to debug the MMCSD SBL ? What is the correct bootmode pin setting (SW3: debug mode or mmcsd ?)