2015-07-07 2:24 AM
Hello
Does somebody know, how I can conclude from the size of a compile firmware in the .s19 format to the occupied flash memory size? Reason of my question: I have done the example on a 8KB flash STM8S003K3T6C in ST Visual Develop with a Cosmic compiler. The file size of the compiled firmware release version is 11.9KB (=12,230 Bytes). But why can I programm this firmware without any problems in the 8KB flash memory of my STM8? Is there a option in ST Visual Develop to display how much flash will be occupied by the firmware? Thank you for your response. Felix #stm8 #flash-memory-size #s192015-07-08 2:36 AM
a few suggestions:
- check in the map file the size of the linked application - make sure you use the +split compiler option to exclude code you are not using If you are still > 8k, open the .s19 with a text editor and check the last lines, see what addresses appear there: if they are >0xA000 (= 8k for an stm8) and you are still able to flash an 8k STM8 with no errors or warning there's probably something wrong with your flashing tool.We’re moving the ST Community to a new platform to give you a better and more reliable community experience.