Give a different error when writing to flash or ram
[fw/stlink] / flash /
drwxr-xr-x   ..
-rw-r--r-- 352 Makefile
-rw-r--r-- 3706 main.c