cancel
Showing results for 
Search instead for 
Did you mean: 

Memory read out protecion STM32F407IGX

Aleksandr Stepanov
Associate
Posted on June 06, 2018 at 15:57

STLing is showing error (memory in read out protection). Cannot get access to memory even via DFU (DFuSe, Flash loader demo, via USB OTG FS or USART3(PC10,PC11) with PC2102). First time i did get access via USB and DFuSe and wiped memory, but it have happened again and now a cannot do anything with it.

#stm32f4-read-out-protection
3 REPLIES 3
Artur IWANICKI
ST Employee
Posted on June 06, 2018 at 22:38

Hello

stepanov.step

‌,

Could you please try to erase the memory using STLink and STLink Utility application (or ST Cube Programmer) ?

Within this application please select first 'connect under reset' option within configuration of STLink. In STLink Utility it is in Target->Settings menu and connection mode.

Best Regards,

Artur

Artur IWANICKI
ST Employee
Posted on June 07, 2018 at 10:08

Hello Aleksandr,

Please have a look at your code whether you are not:

- overclocking the MCU

- using low power modes

- using debug pins (or configuring them into analog mode -> one of the option within STM32CubeMX code generator)

The safest way is to select debug pins within SYS peripherals to be sure you would be able to connect by STLink to MCU.

Best Regards

Artur

Posted on June 07, 2018 at 10:00

Hi Artur. This is miracle! I got this settings before, so i jus tplugged on board STLink and clicked 'ok' in Target->Settings menu.. and it's  working fine (STM32)!