diff --git a/build/flash-wrs b/build/flash-wrs
index d071b2db67fec025d65509133b19b781b3ffe6e2..26a84fdab56ad8b103b95180e0db8111eae14485 100755
--- a/build/flash-wrs
+++ b/build/flash-wrs
@@ -8,6 +8,13 @@ if [ -d ./usb-loader ]; then true; else
     exit 1
 fi
 
+# Check if atmel sam-ba is find by lusb
+lsusb | grep "at91sam SAMBA" &> /dev/null
+if [ $? -gt "0" ]; then
+        echo "Did not find the sam-ba bootloader in lsub....\nPlease check that the Dataflash is short-circuited!"
+        exit 1;
+fi
+
 err=0;
 if [ -f ./binaries/at91bootstrap.bin ]; then true; else err=1; fi
 if [ -f ./binaries/barebox.bin ]; then true; else err=1; fi
@@ -58,4 +65,4 @@ fi
 # flash it (msc...)
 (cd usb-loader && ./mch_flasher $T $DEV)
 
-#rm -f $T
\ No newline at end of file
+#rm -f $T