got byte-oriented UART communication working
diff --git a/bbb_cape/src/flasher/stm32_flasher.cc b/bbb_cape/src/flasher/stm32_flasher.cc
index 73f778c..35d95a7 100644
--- a/bbb_cape/src/flasher/stm32_flasher.cc
+++ b/bbb_cape/src/flasher/stm32_flasher.cc
@@ -37,8 +37,14 @@
 
   int file = open(filename.c_str(), O_RDONLY);
   if (file == -1) {
-    LOG(FATAL, "open(%s, O_RDONLY) failed with %d: %s\n",
-        filename.c_str(), errno, strerror(errno));
+    filename = target;
+    file = open(filename.c_str(), O_RDONLY);
+    if (file == -1) {
+      LOG(FATAL, "open(%s, O_RDONLY) failed with %d: %s\n",
+          filename.c_str(), errno, strerror(errno));
+    } else {
+      LOG(INFO, "using filename %s from the command line\n", filename.c_str());
+    }
   }
 
   uint16_t start_address = 0;