cancel
Showing results for 
Search instead for 
Did you mean: 

DFU error using CubeProgrammer_API

i124q
Associate II

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). 

1 ACCEPTED SOLUTION

Accepted Solutions
i124q
Associate II

I discovered the issue. I had issues specifying the FlashLoader path. It requires the full path to the FlashLoader file.

View solution in original post

2 REPLIES 2
TDK
Guru

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?

If you feel a post has answered your question, please click "Accept as Solution".
i124q
Associate II

I discovered the issue. I had issues specifying the FlashLoader path. It requires the full path to the FlashLoader file.