iSD cannot connect to target board for debugging

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19250
Level 1
Level 1
10 sign-ins 5 questions asked 5 replies posted

Hello,

1. Run Motors with Dashboard is OK.

Run Motors with Dashboard is OK.jpg

 

2. After successfully build of the script project, program the script byte code from Solution Designer.
Start debug session in the script editor using the debug icon.

Connection Error: Connecting to Target failed!

Connecting to Target failed.jpg

 

How to solve ?

 

 

0 Likes
1 Solution
LinGuohui
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 solutions authored

Hi @User19250 

First you should build and download the script code to MCE.

For more information, You can refer this manual:iMOTION_Solution_Designer-UserManual  7.4 Working with a Script Project.

View solution in original post

0 Likes
5 Replies
LinGuohui
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 solutions authored

Hi @User19250 

First you should build and download the script code to MCE.

For more information, You can refer this manual:iMOTION_Solution_Designer-UserManual  7.4 Working with a Script Project.

0 Likes

Sure,I have built and download the script code to MCE. But still can't connect to the target.

0 Likes
LinGuohui
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 solutions authored

You can refer to the following steps:

1.Ensure that the user board can be connected correctly with ISD

2.Create or open a script project can  compile without errors. I created a simple project to read ADC values.

LinGuohui_0-1672883626737.png

3. Menu bar  Project -->> Build Project, select the active script project and click Build button.

LinGuohui_1-1672883763368.png

(Because ADC0 is used, it is necessary to select AIN0 pin in the pin configuration page)

4.After build, need to reconnect and download. Do not reconnect  after downloading or cannot debug.

LinGuohui_2-1672884094557.png

5. Finally, return to the script editor for debuging

LinGuohui_3-1672884176473.png

 

 

 

 

0 Likes

Hi LinGuohui,

My steps:

1. My board can be connected correctly with iSD (by iMotion-Link).

ScreenHunter_1025 Jan. 05 11.39.jpg

ScreenHunter_1024 Jan. 05 11.30.jpg

 

2.Create an "ADC_test" script project can compile without errors.

ScreenHunter_1024 Jan. 05 10.23.jpg

ScreenHunter_1024 Jan. 05 11.06.jpg

ScreenHunter_1024 Jan. 05 11.07.jpg

 

3. Menu bar Project -->> Build Project, select the active script project and click Build button.

ScreenHunter_1024 Jan. 05 11.14.jpg

 

4.After build, to reconnect and download.

ScreenHunter_1024 Jan. 05 11.18.jpg

 

5. Finally, return to the script editor for debuging (Failed!😟)

ScreenHunter_1024 Jan. 05 11.26.jpg

 

ScreenHunter_1025 Jan. 05 11.31.jpg

sendToPlugin(ScriptDebugger, setGDBport(52414)) timed out    ?????

 

 

0 Likes
LinGuohui
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 solutions authored

ISD has just been released, may be some problems.

0 Likes