2023-01-16 04:55 AM
I need to do an upgrade of the firmware via software. From my C++ app i have to call dfu-util, i guess, or if there is any other way please let me know, to download the upgrade to the uC
For the moment i am calling it like a system call, and i wonder if i am doing it right or not
2023-01-16 06:52 AM
system call is ok , but better is use STM32CubeProgrammerCLI
2023-01-16 07:02 AM
to be honest i've been checking that option but it just does not make any sense for me how could i call it from my script?
as far as i can see it is a command that i need to run it in the terminal, which would be the same as the system call would it not?
or maybe i am missing something
2023-01-16 08:44 AM
dfu-util is opensource not directly designed for stm
2023-01-16 10:59 PM
alright, in that case how would i be using the CLI, it still looks like a command that i would need to call it from the terminal is it not?