2016-11-20 05:56 AM
Hello , everybody have an idea how to calculate flash sector size during execution on any stm32 device?
#page-size2016-11-20 06:22 AM
You could start by looking at DEVID and the Flash size encoded in the loader.
2016-11-20 06:30 AM
Hello,Clive,
Yes, i thought about it, but found no suitable algorithm =(2016-11-20 07:15 AM
Sometimes in this line of work you have to code your own.
The old Flash Loader Demonstrator had some tabular descriptions of parts and flash geometry. The DfuSe ROM code also provides a table, as I recall.