2024-03-18 11:16 AM
I am working on implementing a firmware update on my electron app using CubeProgrammer_API. I keep encountering issues on connecting to the DFU bootloader in which is giving me CUBEPROGRAMMER_ERROR_NOT_SUPPORTED (-5). I compiled my code into a .exe and run a JavaScript code to execute the .exe. However, when I run the .exe manually, it works fine, but not on my Electron app. I have the latest version of STMCubeProgrammer (2.16.0).
Solved! Go to Solution.
2024-03-19 06:13 AM
I discovered the issue. I had issues specifying the FlashLoader path. It requires the full path to the FlashLoader file.
2024-03-18 12:27 PM
It sounds like something you are trying to do is not supported, perhaps a command you are sending.
What are you trying to do in the bootloader? What chip are you connecting to?
2024-03-19 06:13 AM
I discovered the issue. I had issues specifying the FlashLoader path. It requires the full path to the FlashLoader file.