Other Parts Discussed in Thread: AM62L
Tool/software:

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:

Hi,
1. How can we let the debugger session stop at main() automatically after session startup (similar to Eclipse based IDEs)
Start the debug session and open properties for the core. To open properties, right click on the selected core and select properties from the options.
Select the core of your choice and select Category as Debugger Options. To halt at main function, enter main in Run to Symbol option.
Please refer below image.

Regards,
Tushar
Hi
We want to able to see what values get passed in as array in CCS ,which Eclipse has this ability.
The above functionality is there for CCS Thiea based version also. You can open Variables and Expression view to see values. Also when you hover on variable, the values will pop up.
Please refer below image.

Regards,
Tushar
Hi
If I need to restart the debug session with same binary, do I have to repeat the whole debug setup process like, start project-less debug session, load .out file etc?
If your application uses resources which are not freed properly, or drivers_deinit() is not completed. Then the whole process needs to repeated with power cycle of the EVM.
If the application executes successfully without errors and resources are also freed, you can continue to load application on the same debug session. Pause/Halt the CPU, reset it and load the application again.
Regards,
Tushar
Hi Dazong,
4. In order to debug the example code, we also realize that the example code will finish its work (since boot from Uboot will have the bare metal start running once jumped) before we get the .out file loaded and actually start the session, so that no valid debugging session can actually start. Besides adding a while(1) to the end of example code to make sure it doesn't exit, any other suggestions?
Yes, you will need to add while(1) loop in the application to debug it. As this application is flashed directly via DFU, it will be in running state. Add loop forever in the application and load symbol via CCS to debug the application.
5. If I need to restart the debug session with same binary, do I have to repeat the whole debug setup process like, start project-less debug session, load .out file etc?
I have checked the above for AM62L devices, the complete process needs to repeat if you want to restart the debug process. Please refer DFU_LOAD_CCS_DEBUG
Regards,
Tushar
HI Tushar / DaZong,
Do we think this is resolved. My last note says that a workaround has been provided. Brody was able to see the data - but it was convoluted. Do I need to Start a CCS forum link?
Hi Blake,
I would say let it open till the TI IDE team officially fix it.
Thanks,
Dazong
Tushar/Blake,
During our demo session two weeks ago, we saw two things that IDE team will need to improve:
1. when start bare metal debug session, Ti needs to provide a way for us to stop at start of main()
2. after mouse hover onto an array, it should be able to show the actual value of the array, not just the address of array[0]

Let's keep this ticket open till the above two resolved.
Thanks,
Dazong
Hi Dazong,
when start bare metal debug session, Ti needs to provide a way for us to stop at start of main()
This would be possible when different boot modes are supported by the MCU+SDK. Currently the boot mode(USB DFU) which you are using, flashes the application and runs it, so there is no option to stop it at main. All you can do is put a while(1) and load symbol to start debugging.
The support to flash EVM using other boot mode will be supported by the next SDK release.
after mouse hover onto an array, it should be able to show the actual value of the array, not just the address of array[0]
Have you created an another e2e for the same on CCS forum? If not, please create one.
You will get the updates related to CCS features on the same E2E forum, so would like to close this one as no open queries.
Regards,
Tushar