I tried to get a better understanding of flash memory on Espruino board.
First check was done to find safe memory using isPageSafe from http://www.espruino.com/STM32F1Flash.
Bad success on whatever adress I used (process.memory().flash_binary_end+2047)&~2047 and 0x0803E000
Next tried to figure out size of binary using
process.memory().flash_binary_end - 0x08002800
This returns 162052 bytes. Last binary size(1v67, 1r3.bin) in download is 172516.
Even this is much smaller than 1v66, is it reduced from 215K to 168K ?
BTW, as far as I understand, there is a typo in notes where 0x080002800 to process.memory().flash_binary_end should be 0x08002800 to ...
To avoid destroying something, could somebody give me some help ?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I tried to get a better understanding of flash memory on Espruino board.
First check was done to find safe memory using isPageSafe from http://www.espruino.com/STM32F1Flash.
Bad success on whatever adress I used (process.memory().flash_binary_end+2047)&~2047 and 0x0803E000
Next tried to figure out size of binary using
process.memory().flash_binary_end - 0x08002800
This returns 162052 bytes. Last binary size(1v67, 1r3.bin) in download is 172516.
Even this is much smaller than 1v66, is it reduced from 215K to 168K ?
BTW, as far as I understand, there is a typo in notes where 0x080002800 to process.memory().flash_binary_end should be 0x08002800 to ...
To avoid destroying something, could somebody give me some help ?