This repository was archived by the owner on Aug 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,22 +18,22 @@ echo "BIN FILE" $bin_file_name
18
18
19
19
# DFU=DYNLD_LIBRARY_PATH=$fixed_path $fixed_path/dfu-util
20
20
DYLD_LIBRARY_PATH=$fixed_path
21
- DFU=$fixed_path /dfu-util
21
+ DFU=" $fixed_path /dfu-util -d8087:0ABA "
22
22
23
23
echo " wating for device... "
24
24
COUNTER=0
25
- f=` DYLD_LIBRARY_PATH=$fixed_path $DFU -l -d8087:0a99 | grep sensor_core | cut -f 1 -d ' ' `
25
+ f=` DYLD_LIBRARY_PATH=$fixed_path $DFU -l | grep sensor_core | cut -f 1 -d ' ' `
26
26
while [ " x$f " = " x" ] && [ $COUNTER -lt 10 ]
27
27
do
28
28
let COUNTER=COUNTER+1
29
29
sleep 1
30
30
echo $DFU
31
- f=` DYLD_LIBRARY_PATH=$fixed_path $DFU -l -d8087:0a99 | grep sensor_core | cut -f 1 -d ' ' `
31
+ f=` DYLD_LIBRARY_PATH=$fixed_path $DFU -l | grep sensor_core | cut -f 1 -d ' ' `
32
32
done
33
33
34
34
if [ " x$f " != " x" ] ; then
35
35
echo " Using dfu-util to send " $bin_file_name
36
- DYLD_LIBRARY_PATH=$fixed_path $DFU -d8087:0a99 - D $bin_file_name -v --alt 7 -R
36
+ DYLD_LIBRARY_PATH=$fixed_path $DFU -D $bin_file_name -v --alt 7 -R
37
37
else
38
38
echo " ERROR: Timed out waiting for Intel EDU."
39
39
fi
You can’t perform that action at this time.
0 commit comments