cancel
Showing results for 
Search instead for 
Did you mean: 

Change the location of Data_base folder

Rafa096
Associate

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Maryem
ST Employee

Hello @Rafa096 and welcome to the Community,

 

Unfortunately, there is no way to modify the Data_Base path within the STM32CubeProgrammer API at this time. This feature has already been requested from the STM32CubeProgrammer development team.

Internal ticket number:  202879 (This is an internal tracking number and is not accessible or usable by customers)

I will let you know as soon as there are any updates.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Maryem
ST Employee

Hello @Rafa096 and welcome to the Community,

 

Unfortunately, there is no way to modify the Data_Base path within the STM32CubeProgrammer API at this time. This feature has already been requested from the STM32CubeProgrammer development team.

Internal ticket number:  202879 (This is an internal tracking number and is not accessible or usable by customers)

I will let you know as soon as there are any updates.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks for your response, I will wait for the update