Other Parts Discussed in Thread: CC2564, , CC2564MODA, CC2564C
Tool/software: Linux
Hello,
I have an issue when i try to upload the service pack into my CC256MODA module. I just connect my BOOST-CC256MODA card directly on my computer by UART and try to manage it with bluez stack.
I download the service pack here :
My command:
hciattach -t 300 /dev/ttyUSB0 texas -s 115200
My trace:
root@FRO-debian:/media/fro/ENACBT/v1.6# strace hciattach -t 300 /dev/ttyUSB0 texas -s 115200 execve("/usr/bin/hciattach", ["hciattach", "-t", "300", "/dev/ttyUSB0", "texas", "-s", "115200"], [/* 43 vars */]) = 0 brk(NULL) = 0x556189515000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b324b2000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=104411, ...}) = 0 mmap(NULL, 104411, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0b32498000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0 mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0b32075000 mprotect(0x7f0b3208d000, 2093056, PROT_NONE) = 0 mmap(0x7f0b3228c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f0b3228c000 mmap(0x7f0b3228e000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0b3228e000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0 mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0b31cd6000 mprotect(0x7f0b31e6b000, 2097152, PROT_NONE) = 0 mmap(0x7f0b3206b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f0b3206b000 mmap(0x7f0b32071000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0b32071000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b32496000 arch_prctl(ARCH_SET_FS, 0x7f0b32496700) = 0 mprotect(0x7f0b3206b000, 16384, PROT_READ) = 0 mprotect(0x7f0b3228c000, 4096, PROT_READ) = 0 mprotect(0x556188bfd000, 4096, PROT_READ) = 0 mprotect(0x7f0b324b5000, 4096, PROT_READ) = 0 munmap(0x7f0b32498000, 104411) = 0 set_tid_address(0x7f0b324969d0) = 1768 set_robust_list(0x7f0b324969e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f0b3207abd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f0b320860c0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f0b3207ac60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f0b320860c0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 rt_sigaction(SIGALRM, {sa_handler=0x5561889e3220, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f0b320860c0}, NULL, 8) = 0 alarm(300) = 0 open("/dev/ttyUSB0", O_RDWR|O_NOCTTY) = 3 ioctl(3, TCFLSH, TCIOFLUSH) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCFLSH, TCIOFLUSH) = 0 write(3, "\1\1\20\0", 4) = 4 read(3, "\4", 1) = 1 read(3, "\16\f", 2) = 2 read(3, "\1\1\20\0\6\0\0\6\r\0\220\33", 12) = 12 write(2, "Found a Texas Instruments' chip!"..., 33Found a Texas Instruments' chip! ) = 33 write(2, "Firmware file : /lib/firmware/ti"..., 64Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts ) = 64 brk(NULL) = 0x556189515000 brk(0x556189536000) = 0x556189536000 open("/lib/firmware/ti-connectivity/TIInit_6.7.16.bts", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=12698, ...}) = 0 read(4, "BTSB\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 write(2, "Loaded BTS script version 1\n", 28Loaded BTS script version 1 ) = 28 write(3, "\0016\377\4\300\306-\0", 8) = 8 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\0016\377\0", 4) = 4 write(2, "texas: changing baud rate to 300"..., 56texas: changing baud rate to 3000000, flow control to 1 ) = 56 ioctl(3, TCFLSH, TCIOFLUSH) = 0 ioctl(3, TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCFLSH, TCIOFLUSH) = 0 ioctl(3, TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 write(3, "\0017\376\2\7\20", 6) = 6 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\0017\376\0", 4) = 4 write(3, "\1\5\377\377@a\10\0\372\7\20G#\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377:b\10\0\372\3\230\4\31(5\0016\2.\330\323\0\230D`\7H30\0\220\377"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\3774c\10\0\372\0\210\10C\32\320\0)\30\320\"!\344H \"\22\\\1*\22\321\t"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377.d\10\0\372%\320\370\275! \305]8\34\0!\1$\246F\342J\376D\20G}"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377(e\10\0\372(\34\246F\331I\376D\10Gp\275FH\0x\4(\4\321\1 \206"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\"f\10\0\372\0!\1\"\226F\344J\376D\20G\2 0U\343I\227 \300\0@"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\34g\10\0\372eK\221B\7\333\210\32\31\33\210B\f\335\1!\t\4@\32\20\275\241"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\26h\10\0\372\1(\1\320\0 \5\340\0 \10\200\3 (t\1\340\1 \10\200h"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\20i\10\0\372\300\16\201\2\303H\0x@\6@\16\10C\7!\311\1\1C\t\4\t"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\nj\10\0\372\204H\3008\0x\0(\16\321\272H@\\\7(\n\333 \34\1!\216"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\4k\10\0\372\315\26\3\0Da\10\0\\\30\10\0O\f\4\0[\f\4\0\211?\4"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 read(4, "\246FCJ\376D\20G\0(\5\321\356g0\34\246F\342I\376D\10G\370\275\300F1O\10\0"..., 4096) = 4096 write(3, "\1\5\377\377\376k\10\0\372\1$\246FCJ\376D\20G\0(\5\321\356g0\34\246F\342I\376"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\370l\10\0\372\v4\4\0\310\30\10\0P\25\10\0\215\10\4\0\331\243\2\0\370!\31"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\362m\10\0\372\20\265\31L\23H\4\200\1 \206F\315H\376D\0G\314I\10`\17"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\354n\10\0\372\20G\3664\22\340(\34aF$#\1%\256F\223M\376D(G\10"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\346o\10\0\372\311\0\311Y\246FaJ\376D\20GW!\t\1\311Y\246F^J\376"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\340p\10\0\372$ \0!\1$\246F'J\376D\20G\267!HUQ%\255\0("..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\332q\10\0\372\1(\r\320\3(\v\320(\34\1!\216F\352I\376D\10G\277 @"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\324r\10\0\372)0\367F\360\265\334I\0\177\300\0@\30\2\37\23\210\207H\3328\30"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\316s\10\0\372\0 \303I\10`\1 \206F\306H\376D\0Gh`\305He0p"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\310t\10\0\372\0 \355I\10p\1 \206F\354H\376D\0G \34y0\20\275 "..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\302u\10\0\372\10\340\256F\350I\376D\10G\0x\250!AC\346HG\\8\34\256"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\274v\10\0\372\237I\271H\0\210\210B\5\321\0 \1!\216F\260J\376D\20G\1"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\266w\10\0\3721\34\1\"\226F}J\376D\20G\0 \200\21\340\1/\17\321\241"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\260x\10\0\372\10GHH\31700\275\27\217\3\0\275Y\5\0\37\3\0\0\337\207\4"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 read(4, "\315\374\377\275\377\265hF\377\367f\371\377\275\377\265hF\376\367A\375\377\275\377\265hF\376\367\316\376"..., 4096) = 4096 write(3, "\1\5\377\377\252y\10\0\372\0\0\355 \5\0M\v\4\0\23\"\5\0\0\0\30\0\0\0\10\0\201"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\23\244z\10\0\16\t\377\377\275\377\265hF\376\367\212\377\377\275", 23) = 23 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\215x{\10\0\210\0\265\370\360A\372\0\275\247q\10\0\1t\10\0_s\10\0\217s\10"..., 145) = 145 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\205\4\363\32\0\200\36\215\0\0,#\3\0:\337\2\0:\32\2\0d\206\2\0\350(\5"..., 137) = 137 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\0\0\30\0\372\360\265bN\7\"2p\20#spG \260p# \360p\3%("..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\372\0\30\0\372:N3\200\2p;J\23\200O0\4p\t !!\311\0\17\"8"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\364\1\30\0\372\260>\30\0001\6\4\0\235\365\4\0\303\216\3\0006\2\32\0\265\365\4"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\333\356\2\30\0\326Jc\17\"Bp'J\212c\20\"\302s&J\312c\0018\21\"\2"..., 223) = 223 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\240N\30\0\372p\265\6\34ZL\240\212\17(\35\332 \211\0(\32\320XH\4!\1"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\377\232O\30\0\372\246F(J\376D\20G@\0(\206(\216@\10(\206\0016%H\0"..., 259) = 259 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377\251\224P\30\0\244/\320\302 @]\0(+\320\266 A]\0)'\321\305 @]\1"..., 173) = 173 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\203\377\24y{\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24) = 24 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\203\377\0", 4) = 4 write(3, "\1[\375\2\1\1", 6) = 6 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1[\375\0", 4) = 4 write(3, "\1\250\375\1\1", 5) = 5 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\250\375\0", 4) = 4 write(3, "\1\t\375\10\0\300\33\0\1\0\1\0", 12) = 12 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\t\375\0", 4) = 4 write(3, "\1\5\377\r\254K\33\0\10\221\377G\362\2335G\362", 17) = 17 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377U c\33\0P0\275\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 89) = 89 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\5\377]\230s\33\0XpG\2F\24:\36\320R\36$\321\212x\2*\21\331\22\37\2*\16"..., 97) = 97 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\5\377\0", 4) = 4 write(3, "\1\t\375\10\0\300\33\0\0\0\1\0", 12) = 12 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\t\375\0", 4) = 4 write(3, "\1\250\375\1\0", 5) = 5 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\250\375\0", 4) = 4 write(3, "\1[\375\2\1\0", 6) = 6 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1[\375\0", 4) = 4 write(3, "\1\335\375\1\1", 5) = 5 read(3, "\4", 1) = 1 read(3, "\16\4", 2) = 2 read(3, "\1\335\375\0", 4) = 4 nanosleep({tv_sec=0, tv_nsec=50000}, NULL) = 0 ioctl(3, TCFLSH, TCIOFLUSH) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TCGETS, {B3000000 -opost -isig -icanon -echo ...}) = 0 ioctl(3, TIOCSETD, [15]) = 0 ioctl(3, _IOC(_IOC_WRITE, 0x55, 0xc8, 0x04), 0x4) = 0 nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc73ef26c0) = 0 ioctl(3, _IOC(_IOC_READ, 0x55, 0xca, 0x04), 0) = 0 socket(AF_BLUETOOTH, SOCK_RAW|SOCK_CLOEXEC, 1) = 5 bind(5, {sa_family=AF_BLUETOOTH, sa_data="\0\0\0\0"}, 6) = 0 ioctl(5, HCIDEVUP, 0) = -1 EALREADY (Operation already in progress) getsockopt(5, SOL_IP, IP_TTL, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", [16]) = 0 setsockopt(5, SOL_IP, IP_TTL, "\20\0\0\0\0\300\0\0\0\0\0@\f\375\0\0", 16) = 0 writev(5, [{iov_base="\1", iov_len=1}, {iov_base="\f\375\t", iov_len=3}, {iov_base="\1\0\377\377\377\377\377d\0", iov_len=9}], 3) = 13 poll([{fd=5, events=POLLIN}], 1, 15) = 0 (Timeout) setsockopt(5, SOL_IP, IP_TTL, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0 write(2, "Cannot send hci command to socke"..., 56Cannot send hci command to socket: Connection timed out ) = 56 close(4) = 0 close(5) = 0 close(3) = 0 write(2, "Can't initialize device: Connect"..., 46Can't initialize device: Connection timed out ) = 46 exit_group(1) = ? +++ exited with 1 +++