[BUG?][OpenOCD 0.7.0][STM32F407VG] "stm32f2x unlock 0" locks

Hi,

I’ve used command “stm32f2x unlock 0”. After that my uC have set read

protection byte (RDP) on “Level 1: read protection enabled”. I was

able to replicate this.

I can’t change this with OpenOCD. The one way I 've found is to set

optionbytes with ST-link utility (Thanks to Freddie Chopin for this

metod).

I use OpenOCD 0.7.0 relase with wiggler and STlink programmers.

Configure options: --enable-parport --enable-parport_ppdev

–enable-maintainer-mode --disable-parport_giveio --enable-stlink.

I work on Ubuntu 13.04 amd64.

Best regards,

Paweł Dembicki

Can you give any more details such as a debug log as i have just tested this and cannot reproduce.

Cheers

Spen