2008-07-19 04:14 PM
Command Line Flash Programmer Question - Map directory
2011-05-17 03:40 AM
I recently downloaded the new command line flash programmer.
And it was a struggle to get it to work. It gave the following error: E:\Example1>make download STMFlashLoader.exe -c --pn 4 --br 115200 -i STM32F10xxBxx -e --all -d --v --fn obj/bkpex1.s19 Connecting [OK] Configuring [OK] This version is not intended to support the target Finally, I succeeded when I put my binary file in the same directory as the STMFlashLoader.exe. After further experimentation, it seems that for me to call that program from another directory, I need to have a copy of the Map directory under the local directory I was using. Otherwise I would get the above ''not supported'' error message. I was unable to find anything in the documentation relating to this Map directory. I was expecting some environment variable I could set or something. Is there a way to call the command line programmer from a different directory, and still have it find the Map directory? Thanks2011-05-17 03:40 AM
not what you asked, just silly workarounds...
in the makefile you could: cd && STMFlashLoader.exe or you can create a batch in the path that cd's to the flashloader dir and restores current dir afterwards, something like: cmd /c cd && STMFlashLoader.exe %*