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.

AM2634-Q1: How to use cmdline connect ccs (am2634)

Part Number: AM2634-Q1
Other Parts Discussed in Thread: AM2634

We hope to launch the debug session of AM2634 by cmdline.

Since all config information of the debugging is saved in the ccxml file, our first step is to launch the debug session by using the ccxml file in the debug configuration dialog.

However, it seems that launching the debug session only with the ccxml file cannot be successful. After entering the debug window, there is no further response. The console information is as follows:

We have found that at this stage, it is necessary to perform the "1. connect -> 2. system reset -> 3. load executable" operation in order to successfully enter the debug session by GUI, as shown in the following figure (note: the name displayed in the ccxml file is 2631, but it has actually been configured as 2634 and saved).

 

Since we want to implement the debug-session-launching by the command line, we would like to know the specific commands for these 3 operations in the script.

 

As far as we know, the ccxml file calls the gel script file. Therefore,

 

  1. First of all, we would like to know if there is any command by gel script supports these 3 operations, and what are the specific commands for each step?

 

  1. If the gel script is not sufficient to implement these operations, it should be possible to achieve it through Initialization Script/DSS script. As shown in the following figure, we tried to use the example sbl script from AM263x SDK in the debug configuration:

However, it seems that using the example script file does not successfully launch. The console information is as follows:

We would like to know if it is possible to provide an initialization script that supports the debug launch of AM2634. Alternatively, could you please provide us with the corresponding DSS script for executing "connect->system reset->load"?

 

Thanks in advance!