...
POST No. 2407969
Problem with OpenCR set up "Fail to jump to boot"
2020-11-10 07:19:35 mdbirley

I am new to the turtlebot and having some issues setting it up. Currently stuck on the OpenCr


I am using a laptop running ubuntu 16.04

connected to opencr via USB

openCR led's are flashing

used /dev/tty* to find the CR on ACMO


maxwell@maxwell-HP-ProBook-430-G2:~$ ls /dev/tty*
/dev/tty    /dev/tty2   /dev/tty31  /dev/tty43  /dev/tty55  /dev/ttyACM0    /dev/ttyS19  /dev/ttyS30
 


maxwell@maxwell-HP-ProBook-430-G2:~$ sudo dpkg --add-architecture armhf
[sudo] password for maxwell:
maxwell@maxwell-HP-ProBook-430-G2:~$ sudo apt-get update
Hit:1 http://packages.ros.org/ros/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease    
Get:4 http://packages.ros.org/ros/ubuntu xenial/main armhf Packages [829 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Ign:11 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Ign:11 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Err:6 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:19 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Ign:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Ign:11 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:12 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:19 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Err:11 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
  404  Not Found
Ign:12 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:19 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Err:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
  404  Not Found
Ign:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:18 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Err:19 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
  404  Not Found
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Fetched 829 kB in 1s (477 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-armhf/Packages  404  Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-armhf/Packages  404  Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-armhf/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
maxwell@maxwell-HP-ProBook-430-G2:~$ sudo apt-get install libc6:armhf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6:armhf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libdb1-compat initscripts tzdata initscripts:i386
  libdb1-compat:i386

E: Package 'libc6:armhf' has no installation candidate
maxwell@maxwell-HP-ProBook-430-G2:~$ export OPENCR_PORT=/dev/ttyACM0
maxwell@maxwell-HP-ProBook-430-G2:~$ $ export OPENCR_MODEL=waffle
$: command not found
maxwell@maxwell-HP-ProBook-430-G2:~$ $ rm -rf ./opencr_update.tar.bz2
$: command not found
maxwell@maxwell-HP-ProBook-430-G2:~$ $ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2 && tar -xvf opencr_update.tar.bz2 && cd ./opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr && cd ..
$: command not found
maxwell@maxwell-HP-ProBook-430-G2:~$
maxwell@maxwell-HP-ProBook-430-G2:~$ export OPENCR_PORT=/dev/ttyACM0
maxwell@maxwell-HP-ProBook-430-G2:~$ export OPENCR_MODEL=waffle
maxwell@maxwell-HP-ProBook-430-G2:~$ rm -rf ./opencr_update.tar.bz2
maxwell@maxwell-HP-ProBook-430-G2:~$ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2 && tar -xvf opencr_update.tar.bz2 && cd ./opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr && cd ..
--2020-11-09 09:08:13--  https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR-Binaries/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2 [following]
--2020-11-09 09:08:14--  https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR-Binaries/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.8.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.8.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 462386 (452K) [application/octet-stream]
Saving to: ‘opencr_update.tar.bz2’

opencr_update.ta 100%[========>] 451.55K   677KB/s    in 0.7s    

2020-11-09 09:08:15 (677 KB/s) - ‘opencr_update.tar.bz2’ saved [462386/462386]

opencr_update/burger_turtlebot3_core.ino.bin
opencr_update/om_with_tb3.opencr
opencr_update/waffle_turtlebot3_core.ino.bin
opencr_update/opencr_ld_shell_arm
opencr_update/update.sh
opencr_update/
opencr_update/released_1.2.5.txt
opencr_update/waffle.opencr
opencr_update/opencr_ld_shell_x86
opencr_update/burger.opencr
opencr_update/open_manipulator_turtlebot3_core.ino.bin
x86_64
amd64
OpenCR Update Start..
opencr_ld_shell ver 1.0.0
opencr_ld_main
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
maxwell@maxwell-HP-ProBook-430-G2:~$ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2 && tar -xvf opencr_update.tar.bz2 && cd ./opencr_update && ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr && cd ..
--2020-11-09 09:11:53--  https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR-Binaries/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2 [following]
--2020-11-09 09:11:53--  https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR-Binaries/master/turtlebot3/ROS1/latest/opencr_update.tar.bz2
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.8.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.8.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 462386 (452K) [application/octet-stream]
Saving to: ‘opencr_update.tar.bz2.1’

opencr_update.ta 100%[========>] 451.55K   601KB/s    in 0.8s    

2020-11-09 09:11:55 (601 KB/s) - ‘opencr_update.tar.bz2.1’ saved [462386/462386]

opencr_update/burger_turtlebot3_core.ino.bin
opencr_update/om_with_tb3.opencr
opencr_update/waffle_turtlebot3_core.ino.bin
opencr_update/opencr_ld_shell_arm
opencr_update/update.sh
opencr_update/
opencr_update/released_1.2.5.txt
opencr_update/waffle.opencr
opencr_update/opencr_ld_shell_x86
opencr_update/burger.opencr
opencr_update/open_manipulator_turtlebot3_core.ino.bin
x86_64
amd64
OpenCR Update Start..
opencr_ld_shell ver 1.0.0
opencr_ld_main
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot
[  ] file name       : waffle.opencr
[  ] file size       : 178 KB
[  ] fw_name         : waffle
[  ] fw_ver          : 1.2.3
ser_open: unable to open port: Permission denied
Fail to open port 1 : /dev/ttyACM0
[NG] Fail to jump to boot

maxwell@maxwell-HP-ProBook-430-G2:~$  sudo dpkg --add-architecture armhf
[sudo] password for maxwell:
maxwell@maxwell-HP-ProBook-430-G2:~$  sudo apt-get update
Hit:1 http://packages.ros.org/ros/ubuntu xenial InRelease           
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease          
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]        
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]         
Ign:6 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:7 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:8 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:9 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [326 kB]
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [281 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [93.0 kB]
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages    
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [130 kB]
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages   
Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,984 B]
Ign:6 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages                  
Ign:7 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages  
Ign:8 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages    
Ign:9 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages  
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages       
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Ign:24 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages   
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [6,612 B]
Ign:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages         
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages   
Ign:6 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages                  
Ign:7 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages            
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages    
Get:27 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,468 B]
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages          
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages    
Ign:8 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages              
Ign:9 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages     
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Err:6 http://us.archive.ubuntu.com/ubuntu xenial/main armhf Packages
  404  Not Found
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:7 http://us.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:8 http://us.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:9 http://us.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:24 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Err:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
  404  Not Found
Ign:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted armhf Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Err:22 http://us.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
  404  Not Found
Ign:24 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Err:12 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
  404  Not Found [IP: 91.189.88.142 80]
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted armhf Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse armhf Packages
Fetched 1,173 kB in 3s (391 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-armhf/Packages  404  Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-armhf/Packages  404  Not Found
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-armhf/Packages  404  Not Found [IP: 91.189.88.142 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-armhf/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
maxwell@maxwell-HP-ProBook-430-G2:~$ sudo apt-get install libc6:armhf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6:armhf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libdb1-compat initscripts tzdata initscripts:i386 libdb1-compat:i386

E: Package 'libc6:armhf' has no installation candidate
 


2020-11-10 07:19:35
mdbirley
2020-11-16 17:30:02 Will Son

Hi,


I'm sorry about the late reply.

If you are trying to upload sketch from your laptop, you need to set up the USB port permission as below.

https://emanual.robotis.com/docs/en/parts/controller/opencr10/#usb-port-settings

Thank you.

2020-11-16 17:30:02
willson
Reply
웹에디터 시작 웹 에디터 끝