FYI
-- 
Institute of Computer Science
Freie Universität Berlin
AG-Tech, Room 148
Takustr. 9, 14195 Berlin
Mail: [email protected]
Web: http://www.des-testbed.net
     http://www.riot-os.org
--- Begin Message ---
Dear IoT-LAB users,

a newer version of cli-tools (1.7.0) including 'debug-start' and 'debug-stop' commands has been released.
You should now be able to use the debugger from the ssh frontend.

https://github.com/iot-lab/cli-tools/releases/tag/1.7.0

Sorry for the inconvenience.

Regards,
Gaëtan - IoT-LAB Team.


On 07/07/2015 09:24 AM, Gaëtan Harter wrote:
Hi Kévin,

you are absolutely right, I made a mistake when merging my feature branch, that I didn't merge in fact and so the "debug" is not available in the currently released version. Also, by default the debugger is not started because it prevents running flash/reset commands.

If you want to use it today, you can directly use the github version cli-tools/node_debugger branch: https://github.com/iot-lab/cli-tools/tree/node_debugger I should still take time to test it this time before upgrading all the servers.


Sorry for the inconvenience and thank you for reporting the issue.

Regards,
Gaëtan - IoT-LAB Team


On 07/06/2015 02:47 PM, ROUSSEL Kévin wrote:
Hello IoT-LAB world,

I was trying to follow the M3 debugging tutorial available at https://www.iot-lab.info/tutorials/debugger-on-m3-nodes/.

I was quickly stuck at step 6, since there doesn't seem to be any --debug-start option available in the node-cli tool.

Here's my output:

<myself>@grenoble:~$ node-cli --debug-start -l grenoble,m3,229
usage: node-cli [-h] [-u USERNAME] [-p PASSWORD] [-v] [-i EXPERIMENT_ID] (-sta | -sto | -r | -up FIRMWARE_PATH | --profile PROFILE_NAME [-e EXCLUDE_NODES_LIST | -l NODES_LIST] node-cli: error: one of the arguments -sta/--start -sto/--stop -r/--reset -up/--update --profile/--update-profile is required

Moreover, starting the wanted node in "normal mode" doesn't allow to make a connection with GDB:

<myself>@grenoble:~$ arm-none-eabi-gdb -ex "target remote m3-229:3333" test_s_cosens_router.elf
GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150304-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-linux-gnu --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from test_s_cosens_router.elf...done.
*m3-229:3333: Connexion terminée par expiration du délai d'attente.*
(gdb) monitor reg
"monitor" command not supported by this target.
(gdb) quit

So it seems impossible to perform GDB debug sessions right now...

Is the tutorial out of date, or -- on the contrary -- are the presented commands not implemented yet?

Best,

_______________________________________________
FIT IoT-LAB users mailing-list
[email protected]
https://github.com/iot-lab/iot-lab/issues

_______________________________________________
FIT IoT-LAB users mailing-list
[email protected]
https://github.com/iot-lab/iot-lab/issues

--- End Message ---

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to