3 Replies Latest reply on Oct 21, 2019 7:31 AM by HolgerW_56

    Command line MB9BF368 flasher

    JuOs_3941651

      Hi,

      I need to program the MB9BF368 controller with command line.

      I have found this thread

      https://community.cypress.com/thread/47247

      about this topic.

      I have tried it as described, but I always get the error "No.101 Please set "hex file"".

      I can't find any detailed description of the command line use of "FLASH MCU Programmer for FM0+/FM3/FM4 (FLASH).

       

      My used command:

      flash.exe flash "MB9BF368M/N/R" 4MHz xxx.bin COMxx dialog

       

      Can you help?

      Thanks

       

      BR

      Jürgen

       

       

        • 1. Re: Command line MB9BF368 flasher
          HolgerW_56

          Dear Jürgen,

            > My used command:

            >flash.exe flash "MB9BF368M/N/R" 4MHz xxx.bin COMxx dialog

           

          1) I am afraid "FLASH MCU Programmer for FM0+/FM3/FM4 (FLASH)" cannot handle binary files.

          2) Your 1st parameter <flash> is invalid:

          Just do: flash.exe "MB9BF368M/N/R" 4MHz test1.mhx COM41 dialog

          I have tested this right now successfully!

           

          Which version of "FLASH MCU Programmer for FM0+/FM3/FM4 (FLASH)" are you using?

           

          Regards,

          Holger

          • 2. Re: Command line MB9BF368 flasher
            JuOs_3941651

            Hi Holger,

             

            we are using the motorola srec file format, but we have to change the ending because of some other reasons.

            It's working now, thanks for your help.

             

            Do you have any description of the command line commands?

             

            BR,

            Jürgen

            • 3. Re: Command line MB9BF368 flasher
              HolgerW_56

              Hi Jürgen,

              no problem, you can change the file name as you like, as long as the format/content stays to be hex/motorola-hex. Binary is not supported.

                > Do you have any description of the command line commands?

              Honestly, the command line feature of the "FLASH MCU Programmer for FM0+/FM3/FM4 (FLASH)" has never been published/supported officially. So there are no more features, then presented already:

               

              Command: flash [file] [com] [dialog] [reset]

              [file] Specifies the Hex file to write in Flash memory.

              [com] Specifies the COM number.

              [dialog] Species whether the progress display window is displayed or not.

              "dialog" Displays the progress display window.

              "no_dialog" Does not display the window.

              [reset] Specifies whether the reset confirmation window is displayed or not.

              "reset" Displays the reset confirmation window.

              "no_reset" Does not display the window.

               

              You have already seen the 3rd party tool FLASHly, that probably offers some more features.

              Regards,

              Holger