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.

CCS/TMS320F28035: what "connect target button" do during startup

Part Number: TMS320F28035

Tool/software: Code Composer Studio

hello sir/madam,

i have code in my project that use SCI communication with other MCU, and there is a digital isolator SI8621BB-B-IS between then.

if a click the connect target button from disconnect status with JTAG, then the communication is ok

or if a remove the digital isolator and connect tx rx, gnd directly,  then the communication is ok  too.

otherwise, the 28035 cannot identify the signals in its rx pin(nothing in the rx buffer register, but signals are observed in the rx pin).

i have already checked the clock, baudrate, sci initialization, i think is ok.

now, i think the only break point for me is the "connect target button" behavior.

does it only run the script below?  and how can i duplicate the behavior in my code and run it in the flash?  thank you in advance.

OnTargetConnect()
{
if (GEL_IsInRealtimeMode()) /* If in real-time-mode */
{
}
else /* Put device in C28x mode */
{
C28x_Mode();
}
F28035_Memory_Map(); /* Initialize the CCS memory map */

/* Check to see if CCS has been started-up with the DSP already */
/* running in real-time mode. The user can add whatever */
/* custom initialization stuff they want to each case. */

if (GEL_IsInRealtimeMode()) /* Do real-time mode target initialization */
{

}
else /* Do stop-mode target initialization */
{
GEL_Reset(); /* Reset DSP */
}
}

  • user5019379,

    Please try to manually connect to your target. In the Edit perspective, build the project (hammer icon) and then open the target configurations window (View -> Target Configurations). Right click on the .ccxml file and select 'Launch Selected Configuration'. The Debug perspective will open. In the Debug window right click on the CPU (disconnected) and select 'Connect Target'. Next, highlight the CPU (suspended) and load the program (Run -> Load -> Load Program - which is the .out file). Please see if this helps.

    - Ken
  • User5019379,

    It's been a while since we have heard from you last. Therefore, we are assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken