2012-09-28 04:59 AM
Hello all,
I hope I'm just doing something wrong. I programm the chip with ST-Link Utility (v2.3.0 - the newest). At read out protection Level0 the programms runs fine. If I set the protection level to ''1'', the execution stops. What's the matter? regards2012-09-28 07:02 AM
Sounds like heaps of fun to debug. Do you have a small application that demonstrates this behaviour?
2012-09-28 07:14 AM
Thank you, Clive! I will provide a small example on Monday.
The chip is STM32F417IGT6 marked A, but the utility reads Rev B. The utility version is the newest (v2.3.0) and the ST-Link/V2 firmware is updated as well. Before I did this, the utility could not define the size of the flash memory saying it is unknown.2012-09-28 11:22 AM
Was wondering if you tried setting the RDP level programmatically from your own code.
2012-10-02 01:55 AM
Hi Clive,
this program will make all 4 LEDs om STM32F4-Discovery board blink at 2 Hz. Setting read out protection level 1 let it freeze. I do nothing with RDP and any other registers for flash. ________________ Attachments : STM32F4-Discovery-LED_Toggle.hex : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtYE&d=%2Fa%2F0X0000000aRe%2Fy9Ro4OgRSBOQtyBkwdb560DVP18Elw9vXhx1FyphWSA&asPdf=false2012-10-09 01:43 AM
2012-10-09 01:43 AM
Can some one please try the upper hex file on a STM32F4-discovery board?
As I said the program is an LED blinker. But after setting read out protection to level 1, it stops...2012-10-12 05:29 AM
Did some one ever try to set read out protection with this utility?
2013-02-05 01:18 AM
Firmware upgrade of ST-Link to V2.JS4 seems to solve the problem.
________________ Attachments : st-link_fw.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtEo&d=%2Fa%2F0X0000000aKe%2FfGCtBJ1VaAV4BNfeXQdV7jvKhyy57t05ua489_oC8D8&asPdf=falsestm32_st-link_utility.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtY5&d=%2Fa%2F0X0000000aRd%2FWi8sUojvq5zkSuZOqX_IuIL6OX5vZ1ivMERQAfpwtVA&asPdf=false