Skip to contentSkip to conversation

Eclipse plugin question

DISCUSSION Gary Thomas 3 participants 3 messages Nov 25, 2010 – Nov 26, 2010

lore
Share & tools
lore
#0 lore raw

I have the eclipse plugin working fairly well now - I can build an application, etc. I tried manually downloading the code to my board (I have real hardware, not QEMU) and it runs fine.

Next, I wanted to try running/debugging from eclipse. I set up the run configuration and the code was downloaded to the board. The last indication said it was starting the debugger. This window stayed up a long time and then nothing more.

Note: I did figure out that I needed tcf-agent running on my board (this is not documented). I also have GDB server on the board.

You can see my setup at http://www.mlbassoc.com/poky/eclipse_plugin

Thanks for any ideas/pointers

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Hi Gary,

Maybe you need to adjust some TCF connection configuration. Here is a simple way to check whether the default TCF connection configuration works for your target:

1. change to Remote System Explorer perspective
2. right click the TCF connection to your target machine, and choose "Properties"->"Connector Services"->"TCF Connection Settings", you might see the following properties, please make sure having them set correctly according to your target machine
- Login.Requied: whether the TCF terminal service requires login? should be "true" for our 0.9 release
- Pwd.Required: whether the login requires password? Adjust to the target system configuration
- Login.Prompt: prompt string for input login name, usually leave as the default
- Password.Prompt: prompt string for input password, usually leave as the dault
- Command.Prompt: the last characters of the terminal shell prompt(i.e. PS1)
3. After setting the above properties, you may try testing the configuration by expanding the TCF connection to your target machine and launching the terminal to your target machine. If everything works fine, a terminal view should be opened and a command prompt would be displayed in that view.

Hope this may help you.

Best Regards,
-Lianhao Lu

Gary Thomas wrote on 2010-11-26:

Quoted 10 lines

I have the eclipse plugin working fairly well now - I can build an application, etc. I tried manually downloading the code to my board (I have real hardware, not
QEMU) and it runs fine.

Next, I wanted to try running/debugging from eclipse. I set up the run configuration and the code was downloaded to the board. The last indication said it was starting the debugger.
This window stayed up a long time and then nothing more.

Quoted 7 lines

Note: I did figure out that I needed tcf-agent running on my board (this is not documented). I also have GDB server on the board.

You can see my setup at http://www.mlbassoc.com/poky/eclipse_plugin

Thanks for any ideas/pointers

Best Regards,
Lianhao

#2 lore raw
Quoted 25 lines

From: Lu, Lianhao
Sent: Friday, November 26, 2010 8:54 AM

Hi Gary,

Maybe you need to adjust some TCF connection configuration. Here is a simple way to check whether the default TCF connection configuration works for your target:

1. change to Remote System Explorer perspective
2. right click the TCF connection to your target machine, and choose "Properties"->"Connector Services"->"TCF Connection Settings", you might see the following properties, please make sure having them set correctly according to your target machine
- Login.Requied: whether the TCF terminal service requires login? should be "true" for our 0.9 release
- Pwd.Required: whether the login requires password? Adjust to the target system configuration
- Login.Prompt: prompt string for input login name, usually leave as the default
- Password.Prompt: prompt string for input password, usually leave as the dault
- Command.Prompt: the last characters of the terminal shell prompt(i.e. PS1)
3. After setting the above properties, you may try testing the configuration by expanding the TCF connection to your target machine and launching the terminal to your target machine. If everything works fine, a terminal view should be opened and a command prompt would be displayed in that view.

Quoted 4 lines

Hope this may help you.

Best Regards,
-Lianhao Lu

Do we document those info somewhere? If not, and if Gary verifies above working, we need to document then. :-)

Thanks
Kevin

Quoted 27 lines

Gary Thomas wrote on 2010-11-26:

Quoted 10 lines

I have the eclipse plugin working fairly well now - I can build an application, etc. I tried manually downloading the code to my board (I have real hardware, not
QEMU) and it runs fine.

Next, I wanted to try running/debugging from eclipse. I set up the run configuration and the code was downloaded to the board. The last indication said it was starting the debugger.
This window stayed up a long time and then nothing more.

Quoted 7 lines

Note: I did figure out that I needed tcf-agent running on my board (this is not documented). I also have GDB server on the board.

You can see my setup at http://www.mlbassoc.com/poky/eclipse_plugin

Thanks for any ideas/pointers

Best Regards,
Lianhao

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky