I'm trying to set read protection on STM32F412 to level 1 via JLink during initial flashing. I'm issuing next commands:J-Link>w4 0x40023C08 0x08192A3B
Writing 08192A3B -> 40023C08
J-Link>w4 0x40023C08 0x4C5D6E7F
Writing 4C5D6E7F -> 40023C08
J-Link>me...
Posted on January 13, 2015 at 23:07On STEVAL-IDB002V1 daughterboard there are JTAG pins connected to BlueNRG(pins 8-11). Is they have any use for user application? #bluenrg
MCU hangs after setting read protection both via JLink and from user code. Only complete power cycle helps. Is it anything I'm missing or this is an expected behavior?
I've update my own script and now it looks like it works now. I should read docs better.loadbin stm32_initial_flash_full.bin 0x08000000
rh
sleep 200
w4 0x40023C08 0x08192A3B
sleep 100
w4 0x40023C08 0x4C5D6E7F
sleep 200
mem32 0x40023C14 1
sleep 200
w4...