What can I do if arm-linux-insight cannot set target under Linux?

  

I finally installed arm-linux-insight on Ubuntu system, but I found that the target could not be set. How to deal with this problem? There are two ways to solve this problem. The following small series will introduce you to the solution that arm-linux-insight cannot set the target under Ubuntu.

Solution 1:

Click the window view- "console open console

and enter

target remote 192.168.1.105:1000 ( Development board IP address: gdbserver port)

continue (when the gdbserver is started, the program is already running, so you cannot use the run command)

The rest can be operated normally, through the graphical Insight Single step, breakpoint running program.

Run continue after removing all breakpoints. To return to the source debugging window. First use

break 8 //For example, insert a breakpoint on line 8.

continue

Solution 2:

In fact, after the Insight starts, it will execute the .gdbtkinit file in the current user's home directory, which saves a lot of configuration information, you can go in and see Look, the port is also changed inside.

The above is the solution to the arm-linux-insight unable to set the target under Ubuntu. Both methods can solve the problem that the target cannot be set. If it cannot be solved, try another method.

Copyright © Windows knowledge All Rights Reserved