cancel
Showing results for 
Search instead for 
Did you mean: 

Change the location of Data_base folder

Rafa096
Visitor

Hi all, I am working on my own program using the API provided with the stm32Cubeprogrammer V2.18 to flash custom bootlader and programs over USB in dfu mode. The problem I had was when I tried to flash a custom bootloader, the function connectDfuBootloader threw this error:

 

Error: Database cannot be found. DatabasePath = /../Data_Base/STM32_Prog_DB_0x415.xml
Error: CUBEPROGRAMMER_ERROR_NOT_SUPPORTED

 

After a few attempts I realized I had to put the Data_base folder 3 folders up from the executable file so the program can find that file. This is not a major problem but I can't find any function within the API that allows me to change that path, so do anyone knows another way to change this?

Thanks

Kind regards

 

 

 

0 REPLIES 0