glegrain / STM32-with-macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: The safety lib command is missing parameters

Simone29390 opened this issue · comments

Hi,

I am trying to use STM32_Programmer_CLI by launching a bash from CubeIDE for mac os.
If I use the same terminal command (in the same folder), the procedure is successful.

Command: "STM32_Programmer_CLI -sl ../Flash/Test_M.hex 0x48080000 0x480C0000 0x400"

If I call a .sh from the IDE at post-compilation, it gives me an error:
"Error: The safety lib command is missing parameters"

The parameters are all there, in fact it works from the terminal. What can be the cause?

Thanks so much