Skip to main content
var2
Associate II
March 18, 2013
Question

Flash loader demonstrator V2.6.0 version error

  • March 18, 2013
  • 5 replies
  • 1495 views
Posted on March 18, 2013 at 11:09

I have a project with STM32F1, which is well programmed with the 2.2.0 version of

STMFlashLoader.exe, but with the versions 2.5.0 and 2.6.0 the system gives message:

bad parameter [files\STMicroelectronics\Software''Flash Loader Demonstrator\STMFlashLoader.exe]

I need the new versions to support F3 and F4.

How to solve the problem?

Thanks

Varuzhan

    This topic has been closed for replies.

    5 replies

    var2
    var2Author
    Associate II
    March 19, 2013
    Posted on March 19, 2013 at 10:12

    Partially problem solved, when I added STMFlashloader.exe path to the system path variable, but now it replies:

    This version is not intended to support the <STM32_Med-density_128K> target, while such

    the target file exists in the MAP directory.

    var2
    var2Author
    Associate II
    March 19, 2013
    Posted on March 19, 2013 at 18:51

    I have tested with both Windows XP and 7, and came a conclusion, that the command line

    parser of the command line version by mistake as a first argument takes ''files\STMicroelectronics\Software''Flash Loader Demonstrator\STMFlashLoader.exe''.

    I want to ask the expert from the ST team check the situation.

    Thanks in advance

    trevor23
    Associate III
    March 20, 2013
    Posted on March 20, 2013 at 10:36

    You need to specify exactly how you are calling it -- what arguments etc. If you are using a batch file then please supply it. Otherwise we are guessing.

    mustapha_menhou
    Associate II
    March 20, 2013
    Posted on March 20, 2013 at 23:51

    var2
    var2Author
    Associate II
    March 21, 2013
    Posted on March 21, 2013 at 12:06

    Here if contents of my .bat file

    c:\''Program files''\STMicroelectronics\Software\''Flash Loader Demonstrator''\STMFlashLoader.exe ^

     -c --pn %1 --br %2 -Rts --Hi -Dtr --Hi -Dtr --Lo -i %3 -e --all -d --fn %4 ^

     -Rts --Lo -Dtr --Hi -Dtr --Lo 1>>&2 2>>&1 0<enter.txt

    Today I found the flash loader demonstrator v.2.4.0. It works fine,

    but v2.5.0 and v.2.6.0 give the error message, mentioned in my first post.

    Thanks