2018-06-04 09:32 AM
To prevent Flash wear out i am trying to debug code from SRAM on STM32F4 on Keil IDE MDK5.
kindly let me know if anyone has done it.
thanks in advance .
2018-06-04 02:04 PM
+1 on CM0/CM0+ the ST parts run really slow once you need a wait-state on flash. Can get close to 64 MHz out of SRAM, as I recall.
2018-06-04 02:49 PM
I had several STM32 Primer tools with rlink debugger / programmer. I do not like Ride7 so I decided to use Keil and load the binary code directly to SRAM.
I wanted to avoid PCB hacking (boot pins &UART1 access to use built-in bootloader OR swd pins re-routing to connect st-link).
USB was accessible through external connector so I developed USB-based bootloader just to load the code to SRAM...
Of course the STM32CubeProgrammer, for those who do not have such non-flexible devices like Primer / EvoPrimer tools, might be more convenient to use for downloading the code to SRAM...
2018-06-04 09:14 PM
Thanks everyone
On Tue, 5 Jun 2018, 1:19 a.m. Bogdan Golab, <st-microelectronics@jiveon.com>