• Hi Sacha,

    To format code, just stick 3 backticks before and after it - check out this page. It seems like the forum guys have broken the code button now!

    The issue is just that you're going past the end of available memory...

    • You have have 512*1024 bytes total in the chip
    • You start at 511*1024
    • The first 4*256 = 1024 bytes write great
    • But now you're at the end of memory and any further writes cause a hardware error

    If you change the start address to 510*1024 then it should work fine - in fact you've got the whole page from 384*1024 (which you can set with freeFlash = f.getPage(freeFlash).addr)

About

Avatar for Gordon @Gordon started