Skip to main content
Associate
March 25, 2024
Solved

I am getting CUBEPROGRAMMER_ERROR_NOT_SUPPORTED when I try to connect to a device in my code

  • March 25, 2024
  • 1 reply
  • 1062 views

I am getting CUBEPROGRAMMER_ERROR_NOT_SUPPORTED when I try to connect to a device in my code. In their example code is working. Issue is when using with my code. It's an strange issue. I copied all also checked in file comparision. All good but while using other code it's returning CUBEPROGRAMMER_ERROR_NOT_SUPPORTED (-5) error.

 

This topic has been closed for replies.
Best answer by Surya51

Actually am using latest version only. Now i found root-cause of this issue. There is Data_Base folder in example code. We should have that folder. If not, connection will gett fail.

I have two questions,

1. May i know why we need that.

2. Seems that Data_Base folder path was fixed. Is it possible to change custom path. Where to change that?

 

It's blocking my dev. Can you please help me to fix this.

 

Thanks.

1 reply

STTwo-32
Technical Moderator
March 25, 2024

Hello @Surya51 

Please try to use latest release of STM32CubeProgrammer (version 2.16.0), as it contains updates to fix limitations. Then confirm if the problem here still existing with this version.

Best Regards.

STTwo-32

Surya51AuthorBest answer
Associate
March 25, 2024

Actually am using latest version only. Now i found root-cause of this issue. There is Data_Base folder in example code. We should have that folder. If not, connection will gett fail.

I have two questions,

1. May i know why we need that.

2. Seems that Data_Base folder path was fixed. Is it possible to change custom path. Where to change that?

 

It's blocking my dev. Can you please help me to fix this.

 

Thanks.