Bonjour,
Le shell fonctionne bien en mode local, j’ai le prompt et les réponses pour cpu et board. Par contre quand j’essaie sur la cible, à grenoble, je lance la commande make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/basics/shell term et elle ne me retourne pas de prompt. Je ne comprends pas …
Merci pour votre aide
Make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/basics/shell term sans réponse


Je rencontre le même problème. J’ai l’impression que c’est lorsque je lance la commande suivante pour flasher le programme que ça se débloque et que je reçois la réponse Hello …
Je ne comprends pas bien tout ça.

Bonjour,
Avez-vous bien flasher le programme sur la carte iotlab-m3 avec depuis la cellule 6 du notebook (!make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh flash
) ?
Est-ce que vous pouvez me donner la sortie de cette commande ?
Dans le terminal, après avoir lancé make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/basics/shell term
, est-ce que le programme répond lorsque vous tapez help
puis Entrée ?

Merci de suivre mon problème. Je vais regrouper mes questions sur l’autre message que j’ai créé sur le FORUM.
Cordialement.

Bonjour,
Oui, voici le résultat du build and flash :
Building application “basic-shell” for “iotlab-m3” with MCU “stm32f1”.
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/boards/iotlab-m3
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/boards/common/iotlab
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/core
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/stm32f1
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/cortexm_common
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/cortexm_common/periph
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/stm32_common
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/stm32_common/periph
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/cpu/stm32f1/periph
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/drivers
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/drivers/periph_common
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/auto_init
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/isrpipe
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/newlib_syscalls_default
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/pm_layered
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/shell
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/stdio_uart
“make” -C /home/jovyan/work/iot-lab-training/riot/RIOT/sys/tsrb
text data bss dec hex filename
8964 140 2620 11724 2dcc /home/jovyan/work/iot-lab-training/riot/basics/shell/bin/iotlab-m3/basic-shell.elf
iotlab-node --jmespath=‘keys(@)[0]’ --format=‘int’ --list grenoble,m3,101 --flash /home/jovyan/work/iot-lab-training/riot/basics/shell/bin/iotlab-m3/basic-shell.bin | grep 0
0
J’ai rejoué le make BOARD… sur le terminal. Je n’ai toujours pas la prompt. Il est apparu après que j’ai tapé la commande help.
Donc maintenant c’est OK j’ai pu terminer l’exercice.
Merci.

Ok, merci. Donc tout est OK

Bonjour j’ai le même problème voici mon résultat. comme il ne me donne pas le prompt j’ai annulé
jovyan@2e2a637028cd:~/work/iot-lab-training$ help
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
These shell commands are defined internally. Type help' to see this list. Type
help name’ to find out more about the function name'. Use
info bash’ to find out more about the shell in general.
Use man -k' or
info’ to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
job_spec [&] history [-c] [-d offset] [n] or hist>
(( expression )) if COMMANDS; then COMMANDS; [ elif C>
. filename [arguments] jobs [-lnprs] [jobspec …] or jobs >
: kill [-s sigspec | -n signum | -sigs>
[ arg… ] let arg [arg …]
[[ expression ]] local [option] name[=value] …
alias [-p] [name[=value] … ] logout [n]
bg [job_spec …] mapfile [-d delim] [-n count] [-O or>
bind [-lpsvPSVX] [-m keymap] [-f file> popd [-n] [+N | -N]
break [n] printf [-v var] format [arguments]
builtin [shell-builtin [arg …]] pushd [-n] [+N | -N | dir]
caller [expr] pwd [-LP]
case WORD in [PATTERN [| PATTERN]…)> read [-ers] [-a array] [-d delim] [->
cd [-L|[-P [-e]] [-@]] [dir] readarray [-n count] [-O origin] [-s>
command [-pVv] command [arg …] readonly [-aAf] [name[=value] …] o>
compgen [-abcdefgjksuv] [-o option] [> return [n]
complete [-abcdefgjksuv] [-pr] [-DE] > select NAME [in WORDS … ;] do COMM>
compopt [-o|+o option] [-DE] [name …> set [-abefhkmnptuvxBCHP] [-o option->
continue [n] shift [n]
coproc [NAME] command [redirections] shopt [-pqsu] [-o] [optname …]
declare [-aAfFgilnrtux] [-p] [name[=v> source filename [arguments]
dirs [-clpv] [+N] [-N] suspend [-f]
disown [-h] [-ar] [jobspec … | pid > test [expr]
echo [-neE] [arg …] time [-p] pipeline
enable [-a] [-dnps] [-f filename] [na> times
eval [arg …] trap [-lp] [[arg] signal_spec …]
exec [-cl] [-a name] [command [argume> true
exit [n] type [-afptP] name [name …]
export [-fn] [name[=value] …] or ex> typeset [-aAfFgilnrtux] [-p] name[=v>
false ulimit [-SHabcdefiklmnpqrstuvxPT] [l>
fc [-e ename] [-lnr] [first] [last] o> umask [-p] [-S] [mode]
fg [job_spec] unalias [-a] name [name …]
for NAME [in WORDS … ] ; do COMMAND> unset [-f] [-v] [-n] [name …]
for (( exp1; exp2; exp3 )); do COMMAN> until COMMANDS; do COMMANDS; done
function name { COMMANDS ; } or name > variables - Names and meanings of so>
getopts optstring name [arg] wait [-n] [id …]
hash [-lr] [-p pathname] [-dt] [name > while COMMANDS; do COMMANDS; done
help [-dms] [pattern …] { COMMANDS ; }
jovyan@2e2a637028cd:~/work/iot-lab-training$ make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/basics/shell term
make: Entering directory ‘/home/jovyan/work/iot-lab-training/riot/basics/shell’
ssh -t fun1d61faae80@lille.iot-lab.info ‘socat - tcp:m3-104.lille.iot-lab.info:20000’
^CConnection to lille.iot-lab.info closed.
/home/jovyan/work/iot-lab-training/riot/basics/shell/…/…/RIOT/Makefile.include:683: recipe for target ‘term’ failed
make: *** [term] Error 130
make: Leaving directory ‘/home/jovyan/work/iot-lab-training/riot/basics/shell’
aidez moi l’il vous plait

Bonjour @EnockElie,
Il faut taper la commande help
après avoir lancé la commande make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/basics/shell term
.