Remove trace; add debug info.
author(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Aug 2009 12:57:09 +0000 (12:57 +0000)
committer(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Aug 2009 12:57:09 +0000 (12:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2793 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/scripts/flash.sh

index a1eb3a3ad2777c21b4d16fb8db01c1df1d9a83b1..fb73865e2e0bc9cad351abf9d5cbfaaac78fadef 100755 (executable)
@@ -1,5 +1,5 @@
 #! /usr/bin/env bash
-set -x
+#set -x
 
 BASE_DIR=`dirname $0`
 INT_FILE=${BASE_DIR}/openocd/${PROGRAMMER_TYPE}.cfg 
@@ -19,7 +19,7 @@ fi
 sed -e "s#PROGRAMMER_TYPE#${INT_FILE}#" ${BASE_DIR}/openocd/flash.cfg | sed -e "s#PROGRAMMER_CPU#${CPU_FILE}#" \
        | sed -e "s#IMAGE_FILE#${IMAGE_FILE}#" > ${OUT_FILE}
 
-openocd -f ${OUT_FILE}
+openocd -d 1 -f ${OUT_FILE}
 OCD_RET=$?
 rm -f ${OUT_FILE}
 exit $OCD_RET