That's an odd one - are you flashing with make serialflash or are you flashing with your own call to stm32loader?
As the Espruino board uses a bootloader, the binary that you build needs to be flashed at an offset of +10kB - so you need a special command to flash your binary,
But if you're flashing using serialflash it should be fine and should flash at the correct address?
The binary you download from the website is 10kB bigger - it has the bootloader stuck on the front of it, which is why you can flash it to the default address.
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.
That's an odd one - are you flashing with
make serialflash
or are you flashing with your own call tostm32loader
?As the Espruino board uses a bootloader, the binary that you build needs to be flashed at an offset of +10kB - so you need a special command to flash your binary,
But if you're flashing using
serialflash
it should be fine and should flash at the correct address?The binary you download from the website is 10kB bigger - it has the bootloader stuck on the front of it, which is why you can flash it to the default address.