cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link Utility can't program OTP memory

ltaylor9
Associate II
Posted on May 24, 2016 at 07:33

Hi all,

We can't seem to program any memory in the OTP memory range on the F7 series (

STM32F746VG

). 

We are trying to program in the address range of 0x1FF0F000 onwards.

When we do we get an error ''Error occured during memory writing!''.

I have contacted ST support with no response in 2 weeks, is that normal?

In the past we have also had a bug like this which ST ended up confirming was in their current software. We had to use an old version of the software until they fixed it as a workaround. That was on the F4 range. Now we can't find any working version for programming OTP in the F7 range.

I've tried ST-Link Utility V3.5, V3.8 and V3.9 all with the same problem, as well as several physical chips and different programmers, all with the latest firmware.

Would be very interested to know if anyone else is having similar problems or can program it OK?
7 REPLIES 7
Walid FTITI_O
Senior II
Posted on May 24, 2016 at 13:06

Hi ltay,

I will check this internally and come back to you.

-Hannibal-

ltaylor9
Associate II
Posted on May 27, 2016 at 01:14

Hi Hannibal,

Any news on this?

Cheers.

Posted on May 27, 2016 at 01:51

May be there are ways to solve your programming issues without relying on ST?

The current versions of ST-LINK support external loaders and code to write OTP can be achieved in a number of ways.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ltaylor9
Associate II
Posted on May 27, 2016 at 04:18

Hi Clive,

Do you know of any references to achieving OTP programming through that method? I can't find any info yet. We don't have any external flash though so I have never looked into that functionality. I thought it was just for programming external flash.

ltaylor9
Associate II
Posted on May 27, 2016 at 05:24

Update: ST have confirmed it's a bug and they will fix it in the next revision. No workaround as of yet. Very interested in your external loader idea Clive if you have any more info to share?

ltaylor9
Associate II
Posted on May 27, 2016 at 07:31

There is a workable solution! A binary file can be downloaded directly to the OTP memory OK. So for now we will generate a binary file for each board that's programmed with the required OTP values and download it to the OTP memory location.

They should have fixed CLI programming and manual editing in the next rev of software.

Walid FTITI_O
Senior II
Posted on May 27, 2016 at 11:03

Hi ltay,

Yes, I confirm. You will be notified by the FAE or from here once a new release is done.

-Hannibal-